D Dave G Active Member Licensed User Sep 22, 2020 #1 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
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
D Dave G Active Member Licensed User Sep 22, 2020 #2 Did a reboot and it's fine! Strange and scary. Upvote 0
agraham Expert Licensed User Longtime User Sep 22, 2020 #3 My guess was going to be that your SDK installation is corrupted in some manner. What type of storage is E:? Upvote 0
My guess was going to be that your SDK installation is corrupted in some manner. What type of storage is E:?
yfleury Active Member Licensed User Longtime User Sep 22, 2020 #4 The computer need to test our stress sometimes. And we know we are alive. Upvote 0
D Dave G Active Member Licensed User Sep 22, 2020 #5 agraham said: My guess was going to be that your SDK installation is corrupted in some manner. What type of storage is E:? Click to expand... It's an external disk. Reboot cleared it. Strange. Upvote 0
agraham said: My guess was going to be that your SDK installation is corrupted in some manner. What type of storage is E:? Click to expand... It's an external disk. Reboot cleared it. Strange.