SDKmanager : Warning: Could not create setting. java.lang.IllegalArgumentException

后端 未结 3 1203
独厮守ぢ
独厮守ぢ 2020-12-16 16:42

Im trying to install androidSDK on my Ubuntu but when i try to run the SDK manager on the tools/bin/sdkmanager folder i get this message:

My Ubuntu was installed rec

3条回答
  •  旧巷少年郎
    2020-12-16 17:11

    Android SDK Tools now rest in following location: "android_sdk/cmdline-tools/version/bin/";

    Therefore to solve this problem in Windows (same can be replicated in other OS), do the following:

    1. Inside your android_sdk folder, create the folder: cmdline-tools and inside it create another folder: version extract / put all your files "/bin /lib NOTICE and sources.properties" files inside this version folder.

    2. Set ANDROID_HOME to your android_sdk folder.

    3. Add to your System Path: android_sdk\cmdlineAndroidSDK\cmdline-tools\version\bin\

    Similarly, place your Android SDK Platform Tools inside your android_sdk/platform-tools/ and add corresponding PATH to ENVIRONMENTAL VARIABLES under System Variables

提交回复
热议问题