Error when compiling

glook

Member
Licensed User
Longtime User
I'm getting an error attempting to compile "Hello World".

I expect that I may have messed up the installation somehow - but I can't see where!

Compiling code. 0.015625
Generating R file. 0
Compiling generated Java code. Error
Method not found: 'Boolean System.Threading.WaitHandle.WaitOne(Int32)'.

Interestingly - I also get the same error when doing "Restart ADB server" - this still appears to kill the adb daemon, though not restart it.


IDE appears to otherwise work, B4PPC also works fully on this PC. I originally had .NET 2sp1, then installed .NET 3.5 just in case.

SDK and emulator were already installed (following all instructions) and works fine. Using a 2.2, API 8 avd. Paths are set in B4a and SDK tools folder is also added to system path, as recommended in the SDK install.

Running command line "adb devices" shows the emulator connected. However the daemon normally has to be started, either first time or after restart in B4a IDE.

Geoff.
 

Erel

B4X founder
Staff member
Licensed User
Longtime User

glook

Member
Licensed User
Longtime User
Thanks Erel - interesting!

I have just installed .NET 2 sp2 (on top of 2sp1 & 3.5 - eeek!) and B4a is looking good so far :sign0060:

Hello World is fine, also GuessMyNumber works and the Designer connects.

Funny - I thought Microsoft said .NET would solve the old "DLL Hell" :confused: - which still gives enough trouble for me!
 

glook

Member
Licensed User
Longtime User
You didn't actually believe that though; did you?
You're right - I didn't! Actually I rather liked VB6 and for desktop-type development have decided not to go the .NET route for various reasons (sorry - bit off-topic).
 

Amalkotey

Active Member
Licensed User
Longtime User
Last edited:
Top