I get this error when I want to add android sdk to intellij 2016:
Cannot find any Android targets in this SDK
What I did:
C:\Program Files\Java\jdk1.8.0_91
) in project
tabC:\Users\hosein\AppData\Local\Android\android-sdk
) in project tabIn the last step I get this error:
Quick fix: Go to the Tools –> SDK manager –> SDK tools. Deselect Hide obsolete packages option on the right bottom and further install Android SDK Tools(obsolete). A new folder named Tools is now generated in the SDK directory.
From the main menu, select File | Project Structure | Project Settings | Modules. Select the module for which you want to set an SDK and click Dependencies. If the necessary SDK is already defined in IntelliJ IDEA, select it from the Module SDK list.
by default, the "Android Studio IDE" will be installed in " C:\Program Files\Android\Android Studio ", and the "Android SDK" in " c:\Users\username\AppData\Local\Android\Sdk ".
The android sdk is stored in usr/local/share/android-sdk .
Here is my solutions for this error message:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With