Android Question Installation/SDK error

TyneBridges

Member
Licensed User
Longtime User
I have just updated B4A after using an old version for several years, and now remember why I didn't do this earlier. I followed the installation instructions carefully. My B4A program compiles but then doesn't work correctly, and doesn't seem to create my Sqlite database from my old code, which worked in the old B4A version and has not been changed.

It appears to be a problem with Java libraries and, when I run the SDK, I persistently see the error "F:\cmdline-tools\lib is not a folder". I know it isn't and, as far as I'm aware, I haven't told the system that it is. (F:\Android\cmdline-tools\lib is a folder). My paths are set up as shown below.

Capture.JPG


Any ideas?

Thanks.
 

TyneBridges

Member
Licensed User
Longtime User
Thanks. I can try that but I just installed a couple of hours ago and did follow the instructions carefully. My SDK Manager top line looks like this
1692283267573.png


and the file sdkmanager.bat is in the folder named.
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
you did NOT folow the Instructions carefully it seems.

2. Android SDK + Required Resources

You need to download two components, both of them do not require installation.
Download Android SDK Command line tools
Make sure to read and agree to the SDK license. Click on the Windows command line tools to see the license.
Android Studio is not needed and will not be affected by the command line tools (which are always required).
Unzip it in a folder such as C:\Android
Download the required resources.
Unzip in the same folder. It should look like this:

1667204556790.png


This is how the folder should look like....
 
Upvote 0

TyneBridges

Member
Licensed User
Longtime User
I've deleted everything and reinstalled as instructed. After configuring my paths as shown below, I tried to start the SDK Manager and immediately saw the error SDKManager.bat not found. The system is looking for F:\Android\bin\sdkmanager.bat and, as the image above seems to suggest is correct, there is no such folder - only F:\Android\cmdline-tools\bin . I'm stumped.

1692285099108.png
 
Upvote 0

TyneBridges

Member
Licensed User
Longtime User
Thanks for your help. I just corrected the path referred to above and things now seem to be linking up.
 
Upvote 0
Top