Other B4A v10.2 BETA is available for download

Status
Not open for further replies.

Erel

B4X founder
Staff member
Licensed User
Longtime User
This update adds support for the latest version of Firebase, Crashlytics and Android SDK.
  • B4ASdkManager updated to support latest version of Android SDK command line tools.
  • Firebase libraries updated to support latest version of Firebase SDK.
  • OkHttp updated based on OkHttp 3.14.9.
  • Support for latest version of Crashlytics. Previous version will stop tracking crashes on November 2020.
  • B4X version of KeyValueStore added as an internal library.
  • Internal libraries updated: B4XPages, B4XDrawer, B4XCollections, XUI Views and BCTextEngine.
  • Deprecated libraries removed: CustomListView (replaced with xCustomListView), Http and HttpUtils2 (replaced with OkHttp and OkHttpUtils2).
  • B4XPages template updated.
  • IDE performance improvements related to projects which use many b4xlibs.
  • New indicators to help understand the code flow with resumable subs:

    1598868185888.png
I recommend switching to the latest command line tools + Android SDK. This means that you need to download a new SDK. You can keep the previous one as well.

Instructions:

  1. Download command line tools v6609375: https://developer.android.com/studio#command-tools
  2. Unpack in C:\Android
  3. Download additional resources: https://b4xfiles-4c17.kxcdn.com/b4a/resources_9_20.zip
  4. Unpack in C:\Android. It should look like this:

    explorer_hfrxvrNO6q.png


  5. Set android.jar path in the IDE to: C:\Android\platforms\android-30\android.jar
  6. Note that you don't need to run B4A Sdk Manager at all. All the required components are included. If you do want to run the emulator then start Tools - B4A Sdk manager, install the recommended items and create a new AVD.

Beta link: www.b4x.com/android/files/beta.exe
 

Attachments

  • 1598867682604.png
    1598867682604.png
    17.6 KB · Views: 752
Last edited:

hery71

Member
Licensed User
I have the same problem as @Pendrush on sdkmanager (I use JDK 11 ):
Error: Error: Could not find or load main class com.android.sdklib.tool.sdkmanager.SdkManagerCli
Caused by: java.lang.ClassNotFoundException: com.android.sdklib.tool.sdkmanager.SdkManagerCli
 
Upvote 0

kisoft

Well-Known Member
Licensed User
Longtime User
I have the same problem as @Pendrush on sdkmanager (I use JDK 11 ):
Error: Error: Could not find or load main class com.android.sdklib.tool.sdkmanager.SdkManagerCli
Caused by: java.lang.ClassNotFoundException: com.android.sdklib.tool.sdkmanager.SdkManagerCli
Follow the directions in the first post and you'll be fine. If not, reinstall everything from scratch.
 
Upvote 0

Scantech

Well-Known Member
Licensed User
Longtime User
I get this error with SDK and not able to resolve it.
1.jpg

Error in AVD Manager as well. I do not see emulator in the list?

Also, SDK missing Viewpager2 and Annotations. I searched for it and downloaded it-now ok
 
Last edited:
Upvote 0

Star-Dust

Expert
Licensed User
Longtime User
I'm having this error: Couldn't find main class com.android.sdklib.tool.sdkmanager,sdkManagerCli

1598899959335.png
 
  • Like
Reactions: Dey
Upvote 0

kisoft

Well-Known Member
Licensed User
Longtime User
I am having the same problem. I tried deleting the Android folder and downloaded the new files and tools again. No luck in getting it to work.
I had exactly the same problem. Delete the contents of the Android folder and then reinstall everything according to these instructions...(
Then follow the guidelines from the first post ... It worked for me.
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
Upvote 0

Star-Dust

Expert
Licensed User
Longtime User
I need more information.

1. Have you downloaded a new SDK in a new folder, as explained in the first post (https://www.b4x.com/android/forum/threads/b4a-v10-2-beta-is-available-for-download.121775/) ?
Based on the logs inside the app, you are still using an old SDK.

2. Which version of Java are you using?
1. Yes I have created a new folder. But I copied the old SDK files and I later unpacked and copied the files as indicated in the instructions. I was wrong?

2. I use Java 8 and also OpenJDK11. At the time of the error I was using Java 8
 
Upvote 0

Pendrush

Well-Known Member
Licensed User
Longtime User
You should create a new empty folder and download the packages...
I was do like that, but still I see error.
OpenJDK 11.0.1
Error: Error: Could not find or load main class com.android.sdklib.tool.sdkmanager.SdkManagerCli
Caused by: java.lang.ClassNotFoundException: com.android.sdklib.tool.sdkmanager.SdkManagerCli
 
Upvote 0

Star-Dust

Expert
Licensed User
Longtime User
i also have the same error using Java 8
 
Upvote 0

Star-Dust

Expert
Licensed User
Longtime User
I found the problem. There was an error unzipping the SDK Tool file and folders were missing.

I re-downloaded and repeated the decompression operation
 
Upvote 0
Status
Not open for further replies.
Top