Android Question Sdk Manager

Sagenut

Expert
Licensed User
Longtime User
It's not easy to help you with this.
If you followed correctly all the passages it should work.
Which version of B4A are you installing?
Can you confirm that you have installed the Android SDK in a separate folder like this
android.jpg
and the Java Package is something like this in a separate folder
java.jpg
Did you set all the B4A paths correctly?
paths.jpg
If you are sure that everything is correct I don't know how to help you furthermore.
Which error do you receive when trying to start SDK MANAGER?
 
Upvote 0

RUNO

Active Member
Licensed User
Longtime User
After opening sdk manager ,the message appeared.
How I fixed ?

Error: Warning: Found corrupted package.xml at C:\android-sdk\build-tools\27.0.1\package.xml
Exception in thread "main" java.lang.NullPointerException
at com.android.repository.api.SchemaModule.createLatestFactory(SchemaModule.java:88)
at com.android.sdklib.repository.IdDisplay.create(IdDisplay.java:34)
at com.android.sdklib.repository.legacy.local.LocalSdk.scanExtras(LocalSdk.java:1165)
at com.android.sdklib.repository.legacy.local.LocalSdk.getPkgsInfos(LocalSdk.java:571)
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:518)
at com.android.repository.api.RepoManager$DummyProgressRunner.runSyncWithProgress(RepoManager.java:397)
at com.android.repository.impl.manager.RepoManagerImpl.load(RepoManagerImpl.java:365)
at com.android.repository.api.RepoManager.loadSynchronously(RepoManager.java:290)
at com.android.sdklib.repository.AndroidSdkHandler$RepoConfig.createRepoManager(AndroidSdkHandler.java:725)
at com.android.sdklib.repository.AndroidSdkHandler.getSdkManager(AndroidSdkHandler.java:296)
at com.android.sdklib.tool.sdkmanager.SdkManagerCliSettings.setSdkHandler(SdkManagerCliSettings.java:101)
at com.android.sdklib.tool.sdkmanager.SdkManagerCli.<init>(SdkManagerCli.java:95)
at com.android.sdklib.tool.sdkmanager.SdkManagerCli.main(SdkManagerCli.java:74)
at com.android.sdklib.tool.sdkmanager.SdkManagerCli.main(SdkManagerCli.java:48)
 
Upvote 0

Sagenut

Expert
Licensed User
Longtime User
Error: Warning: Found corrupted package.xml at C:\android-sdk\build-tools\27.0.1\package.xml
Looking at this.
Did you tried to download again the SDK package and create again the folder from zero?
 
Upvote 0

Sagenut

Expert
Licensed User
Longtime User
Delete the zip that you have and download it fresh new.
 
Upvote 0
Top