Android Question new Works in DEBUG but not in RELEASE!!!

macerau

Member
Licensed User
Longtime User
In mode RELEASE!:


in mode DEBUG:




Log in Debug:

 

Attachments

  • LX.zip
    461.8 KB · Views: 167
  • 1608581703646.png
    185.2 KB · Views: 146

Erel

B4X founder
Staff member
Licensed User
Longtime User
Works fine here as well.
Note that you can see the layout files inside the APK (it is a zip file). The files should be in the assets folder.
Check it after you compile in release mode.

My guess is that you are using an old Android SDK. Delete it and carefully follow the installation instructions: https://www.b4x.com/b4a.html
It will work.
 
Upvote 0

macerau

Member
Licensed User
Longtime User
I tried to do everything you asked for,
I uninstall up everything that referred to Java, I uninstall up B4A,
I cleaned RegEdit. used your help download java 11 step by step reinstalled B4A but when using SDKmananger the screen below appears.
already installed java 11,15,8 sdk etc all indicates that JAVA_HOME is not right I already used SET JAVA_HOME = C: \ JAVA \ SDK-11.0.1 \ BIN and includes it in the PATH = of the system but the error remains. do you have any idea what's wrong? Want access to the machine?
 

Attachments

  • Clipboard34.jpg
    85.8 KB · Views: 137
  • Clipboard35.jpg
    70.6 KB · Views: 133
Upvote 0

MikeSW17

Active Member
Licensed User
Longtime User
Did you extract the ZIPs with 7-Zip? Windows extract (often) corrupts the folder structure.

Also (in my installation), Java doesn't need to be in the path. Just set the necessary locations in B4A->Tools->Configure Paths.

Probably just personal preference(?), but I put the extracted folders directly in the Java folder, without the intervening 'SDK-11.0.1" folder.
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
All of these steps are not needed and will not help in any way.

Just follow the installation instructions and it will work. I'm100% sure that you are still using an old version of Android build tools. This will cause the exact error you encounter.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…