Android Tutorial GUI SDK Manager for newer versions of Android tools

Status
Not open for further replies.

Jaames

Active Member
Licensed User
Longtime User
Thanks, I'll try later, when I'm home. But it seems to work, I'm on mobile internet here , so I can't download now.

for those , who's B4ASdkManager.jar is located in folder which include space character like mine "E:\B4A\SDK Instalacije"

do like this:

1. Right click on windows icon (win 10 64 bit anniversary update here) and chose "Windows PowerShell(Admin)"
2. In PwerShell type cd "YOUR FOLDER WITH B4ASdkManager.jar" with quotemarks Important ex.: cd "E:\B4A\SDK Instalacije"
3. Then type .\B4ASdkManager.jar




[EDIT]
Or you can copy attached B4ASdkManager.txt file to the same folder where B4ASdkManager.jar is located and rename it to B4ASdkManager.bat and double click to that file. (It will run the .jar file with Administrative rights)

Version 2.10 fixed this issue, I did not have to delete any files, just run B4ASdkManager.jar.
 

Attachments

  • B4ASdkManager.txt
    776 bytes · Views: 582
Last edited:

Alessandro71

Well-Known Member
Licensed User
Longtime User
what about this error:

i get it from B4ASdkManager and from sdkmanager.bat --list also

B4X:
Exception in thread "main" java.lang.NoSuchFieldError: FN_AAPT2
        at com.android.sdklib.BuildToolInfo.<init>(BuildToolInfo.java:352)
        at com.android.sdklib.BuildToolInfo.fromStandardDirectoryLayout(BuildToolInfo.java:224)
        at com.android.sdklib.repository.legacy.local.LocalSdk.scanBuildTools(LocalSdk.java:898)
        at com.android.sdklib.repository.legacy.local.LocalSdk.getPkgsInfos(LocalSdk.java:544)
        at com.android.sdklib.repository.legacy.LegacyLocalRepoLoader.parseLegacyLocalPackage(LegacyLocalRepoLoader.java:100)
        at com.android.repository.impl.manager.LocalRepoLoaderImpl.parsePackages(LocalRepoLoaderImpl.java:167)
        at com.android.repository.impl.manager.LocalRepoLoaderImpl.getPackages(LocalRepoLoaderImpl.java:124)
        at com.android.repository.impl.manager.RepoManagerImpl$LoadTask.run(RepoManagerImpl.java:517)
        at com.android.repository.api.RepoManager$DummyProgressRunner.runSyncWithProgress(RepoManager.java:397)
        at com.android.repository.impl.manager.RepoManagerImpl.load(RepoManagerImpl.java:364)
        at com.android.repository.api.RepoManager.loadSynchronously(RepoManager.java:290)
        at com.android.sdklib.repository.AndroidSdkHandler$RepoConfig.createRepoManager(AndroidSdkHandler.java:718)
        at com.android.sdklib.repository.AndroidSdkHandler.getSdkManager(AndroidSdkHandler.java:295)
        at com.android.sdklib.tool.SdkManagerCli.<init>(SdkManagerCli.java:134)
        at com.android.sdklib.tool.SdkManagerCli.main(SdkManagerCli.java:118)
        at com.android.sdklib.tool.SdkManagerCli.main(SdkManagerCli.java:93)

B4ASdkManager also adds
Info: Parsing legacy package:
C:\Android\android-sdk\add-ons\addon-google_apis-google-15
 

Alessandro71

Well-Known Member
Licensed User
Longtime User
it seems deleting
tools/lib/common.jar
solved the issue

i followed the first post instructions overwriting an existing sdk installation
 

biometrics

Active Member
Licensed User
Longtime User
Hi Erel,

I'm using this tool to get notifications working. I notice it's installing SDK Platform 24 whereas I had 25. Not sure it makes much difference. Question is, will you be updating the "recommended" section regularly?

Also I wasn't sure if I needed a clean install or if I should overwrite my current tools directory. I opted for a clean install. Is that the right approach?
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
Hello,

Very good work. I'm testing it and I think it will be great if there is a download progress bar by size and files :
eg:
1153kb on 3780Kb
35/123 files

Thanks again.

PS: It's like someone trashes our old good tools. No pity for old ... computers ?
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
I'm testing it and I think it will be great if there is a download progress bar by size and files :
The packages are downloaded by sdkmanager.bat which is part of Android SDK. It doesn't report any progress so there are no reasonable ways to track the progress (the total size is also unknown).
 

William Hunter

Active Member
Licensed User
Longtime User
V2.20 is released. It fixes an issue with missing updates.
I have installed the new version. When I run the AVD Manager, I get the Java error shown in Image One. Once I close the error message the AVD Manager loads fine, as shown in Image Two, and I can successfully run an emulator. The error message is confusing.

Regards
 

jimmyF

Active Member
Licensed User
Longtime User
I also encountered the same error:


on this line:
B4X:
If si.Key = s.Key And si.version = s.version Then Return True
 

jimmyF

Active Member
Licensed User
Longtime User
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…