Android Question SDK Manager Does Not Launch

DonManfred

Expert
Licensed User
Longtime User
My B4A version is 12.80 installed according to the instructions.
when did you installed the SDK exactly? Or: when did you installed the SDK the last time
You are member since a few years...

Can you post a screenshot of the Paths configuration in your IDE?
 
Upvote 0

Sagenut

Expert
Licensed User
Longtime User
Probably not related to this problem, but the Java path should not be inside Program Files when using OpenJDK.
Better something like
C:\Java
 
Upvote 0

DavidTheGeek

Member
Licensed User
Longtime User
Hi

I'm using the Java suggested as the (successful) solution to this problem:

Finding libraries that need to be dexed. (0.00s)
Dex code Error
Error in C:\Users\David\Documents\B4A\Projects\Tester\B4A\Objects\bin\classes\b4a\example\main$B4AMenuItemsClickListener.class:
java.lang.NullPointerException: Cannot invoke "String.length()" because "<parameter1>" is null
Compilation failed with an internal error.

(Full post: https://www.b4x.com/android/forum/threads/java-compile-error-2.160432/)

The solution is in this post: https://www.b4x.com/android/forum/threads/project-for-today.158941/post-976314

If there is an alternative solution to the compile error using the correct Java, of course I'd happily adopt it.
 
Upvote 0

DavidTheGeek

Member
Licensed User
Longtime User
Thank you for your patience. I did that and SDK Manager now launches, but a search for "mlkit" yields no results:

search.jpg


Do I have to configure something else?
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
Do I have to configure something else?
you forgot to set the path to the sdkmanager.bat
See at top of the SDKManager and set the path.

Select the one from the sdk path you just installed.
 

Attachments

  • Snap4.png
    Snap4.png
    16.5 KB · Views: 17
Last edited:
Upvote 1
Top