Android Question Can't compile

Dave G

Active Member
Licensed User
Was going great yesterday. Today I can't compile any B4A projects. I didn't do any updates to B4X or Java. Any ideas?

Here's what I get for all of my B4A apps when I compile:

Compiling debugger engine code. (2.20s)
Compiling generated Java code. Error
src\b4a\example\main.java:5: error: cannot access Activity
import android.app.Activity;
^
bad class file: E:\AddedStuff\B4A\android-sdk2\platforms\android-28\android.jar(/android/app/Activity.class)
illegal start of class file
Please remove or make sure it appears in the correct subdirectory of the classpath.
Note: src\b4a\example\starter.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
1 error

javac 11.0.1
 
Top