Android Question I can't compile a programm

Thomas Walker

Member
Licensed User
Longtime User
I have bought today a license of Basi4Android.
After installing the software I would test the "Hello World" project.
But when I try to "Compile & Run" the project I receive the following error:

Parsing code. 0.00
Compiling code. 0.04
Compiling layouts code. 0.00
Generating R file. 0.14
Compiling debugger engine code. Error
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Unrecognized option: -d

What's wrong?
Java and the Android-SDK are installed.
Thank you for help.

Thomas
 

eps

Expert
Licensed User
Longtime User
What OS?

Have you installed the correct Java and Android SDKs?

Are the paths correct, did you create the paths without spaces?

If you think all of the above are okay I would give your machine a reboot, just to ensure that nothing has been left half installed, I'm sure it isn't but this can help sometimes.
 
Upvote 0

Thomas Walker

Member
Licensed User
Longtime User
What OS?

Have you installed the correct Java and Android SDKs?

Are the paths correct, did you create the paths without spaces?

If you think all of the above are okay I would give your machine a reboot, just to ensure that nothing has been left half installed, I'm sure it isn't but this can help sometimes.

Hello,

the path to the Android JDK was wrong.
I have corrected the path and the problem was solved.

Thank you for your help.
Thomas
 
  • Like
Reactions: eps
Upvote 0
Top