Android Tutorial Trial - Version problem?

Hi,

I just dloaded the Trial version today and wanted to start with the hello world sample, but when compiling I get the following error:


javac 1.5.0_22
src\anywheresoftware\b4a\helloworld\main.java:3: cannot access anywheresoftware.b4a.B4AMenuItem
bad class file: D:\AndroidDevelopment\Basic4android\Libraries\B4AShared.jar(anywheresoftware/b4a/B4AMenuItem.class)
class file has wrong version 50.0, should be 49.0
Please remove or make sure it appears in the correct subdirectory of the classpath.
import anywheresoftware.b4a.B4AMenuItem;
^
1 error


Any ideas what I'm doing wrong?

Thanks,
Martin
 
Hi,

I just dloaded the Trial version today and wanted to start with the hello world sample, but when compiling I get the following error:


javac 1.5.0_22
src\anywheresoftware\b4a\helloworld\main.java:3: cannot access anywheresoftware.b4a.B4AMenuItem
bad class file: D:\AndroidDevelopment\Basic4android\Libraries\B4AShared.jar(anywheresoftware/b4a/B4AMenuItem.class)
class file has wrong version 50.0, should be 49.0
Please remove or make sure it appears in the correct subdirectory of the classpath.
import anywheresoftware.b4a.B4AMenuItem;
^
1 error


Any ideas what I'm doing wrong?

Thanks,
Martin

Have you donloaded the Sdk's needed to compile apk?? Are the paths to the sdk correctly defined???
 
Got Java 5 installed
and the Android SDK

using the android-8/android.jar

the paths seem to be set correctly
 
Back
Top