I'm trying to install LibGDX on my mac. It asks for a reference to the android SDK which I downloaded from here:
http://developer.android.com/sdk/installing/index.html?pkg=tools
But when I link to that directory, I get this error:
What do I do?
It means that you have not the necessary verision and just need to update it. Open SDK manager (it should be in you SDK directory or you should be able to launch it from eclipse/android studio I guess) and you will see:
check it and download - it will resolve the problem (you can also update SDK Tools).
Related
Trying to download android studio, i have all the needed requirements for a PC.
Found that i need both jdk and sdk and that sdk should be included with android studio.
First i downloaded and installed jdk.
After downloading android studio from https://developer.android.com/studio/ , everytime i start a new project i get the following error
Your Android SDK is missing, out of date or corrupted
I checked the path of my sdk and found that by default it should be
C:\Users\elhachem\AppData\Local\Android\Sdk
Or in Appdata/Local there isn't any folder named Android..
Seems like android studio download doesn't contain sdk anymore.
I downloaded latest version of sdk and created the path AppData/Local/Android and i inserted my sdk inside.. Keep on having same error
First check its location from SDK Manager. There you might find a way to solve the problem. If still you have problems, then i recommend you to download to another drive (like D or F). Then again check its location from SDK Manager. If the location is not set, then point it to your new downloaded SDK. And as far as i can tell from the comments your internet connection might not be working properly.
OS : Antergos (Linux)
The problem here is the missing Android SDK, I can not install it from either android-studio-2.2 or AUR.
When I tried to install it from the Android SDK, it does not allow me to check the Android SDK Platform for download
Assuming that Android SDK is already installed I proceed to click next only to be met with this message which confirms that an Android SDK is installed. I then tried to start a project which the program in turn throw an error saying that the Android SDK is not installed. I then check the settings and found that the Android SDK Location is not set. I google for the location of default Android SDK location, which is $HOME/Android/sdk, which does not exist on my machine. The only conclusion I can make is that Android SDK is not installed on my machine. I tried to install it from android-studio-2.2's GUI but it does not let me tick it while saying that it is installed. I then tried to install the Android SDK from the AUR, which returns 'package filename is not valid'.
I tried installing android-studio-2.2 from both AUR and the official android site, neither let me download Android SDK.
What might be the problem? Is it Antergos? Could it be that the default install path is different than many other path on the internet?
You need to reset the older SDK and Android Studio configuration by going to the:
/home/brandon/.. directory
and deleting .AndroidStudio2.2 and Android folder. Make sure you have enabled hidden directory visibility. This will reset old Android Studio setup and start over everything from the beginning.
I'm trying to setup IntelliJ IDEA to develop android applications and I faced an issue with android sdk. As far as I know, I need to download the sdk separately. But I all I managed to find was Android command line tools which is obviously not something I need. So my question how can I get android sdk for IntelliJ IDEA?
You can install whichever android SDK or API from Intellij. I have the 2018.1 version but I hope this works in earlier versions too. You can find the options to install the SDKs here:
Same problem I have with IDEA 2017.1.1. I installed tools_r25.2.3-windows.zip and managed to install them.
I've done:
unzipped it to C:\Android\android_sdk\
renamed "tools" folder to "tools-sdk"
executed
C:\Android\android_sdk\tools_inst\bin>sdkmanager --update
prepared file my_file with lines:
build-tools;24.0.0
platforms;android-24
tools
emulator
Executed:
C:\Android\android_sdk\tools_inst\bin>sdkmanager --package_file=my_file
Then gave IntelliJ IDEA folder C:\Android\android_sdk as Android SDK Home Folder.
Then IDEA asks to install something additional. The test android project compiles and runs on emulation (AVD Manager works). I had to install 22 Platform and Build Tools though because android-24 virtual device asked for a password.
The only problem is I still have no SDK Manager with GUI interface.
First of all make sure you'be setup JDK properly. If not, you can download it from here.
Now go to Android Developer official site and download Android Studio.
If you are already done with above mentioned points the few point you might be missing.
When asked to choose the JDK (not SDK) you need to choose the Java JDK which you've installed earlier. Should be under C:\Program Files\Java\jdk{version}
Choose a New platform ( if there's not one selected ) , the SDK platform is the android platform at C:\Program Files\Android\android-sdk-windows.
Please let me know if it didn't help.
Reference:
https://www.jetbrains.com/help/idea/2017.1/getting-started-with-android-development.html
I had the same issue. I tried downloading sdk via android eclipse setup process. Eclipse automatically downloads the sdk. This sdk has a gui sdkmanager and can be used in idea as well. Here is the link to download eclipse.
(Android Studio installed on my computer.)
As i see users missed a point while installing android SDK.
You should show the Android SDK at AppData folder to IntellijIdea.
C:\Users\Your_Username\AppData\Local\Android\SDK_Folder.
References: https://www.jetbrains.com/help/idea/prerequisites-for-android-development.html
https://www.jetbrains.com/help/img/idea/2017.2/AndroidSDKManager.png
You can download the android SDK from this link here. I hope it should be helpful that link.
I accidentally deleted some of the plugins inside Extras Folder in Android SDK. Coz it looks broke. Now my problem is I dont know how to recover it. And my android emulator is not working coz it cant select device that the Google provides. Can someone tell me what to do.
Just open the SDK Manager and redownload the missing things.
You can download whatever gets deleted using Android SDK Manager
I'm pretty sure you can patch your install with the packages from the SDK download: [http://developer.android.com/sdk/index.html]
Once you have downloaded the package install the sdk and all the required API's. These are the stand-alone Android SDK Tools. The packages provide the basic SDK tools for app development.
I have the same problem. In my case, I have been deleted android support library accidentally. When I want to re-install this package, it not show in list of my extras in Android SDK Manager.
If I run my Android SDK Manager from Eclipse, the missing packages not shown. But when I go to my SDK directory and manually run SDKManager.exe as administrator, It's work.
and the result is :
I'm installing and configuring Eclipse Galileo 3.52 on a PC following the instructions on Eclipse ADT
All the steps in "Downloading the ADT Plugin" go fine with no errors. But when I get to the next step "Configuring the ADT Plugin" it fails when I set my SDK location, saying that it can't find android-sdk-windows\platforms.
But no kidding - I'm using the android-sdk_r06-windows SDK and the Readme file says, "The Android SDK archive now only contains the tools. It no longer comes populated with a specific Android platform or Google add-on. Instead you
use the SDK Manager to install or update SDK components such as platforms,
tools, add-ons, and documentation." How how I do this? Do I have to use an older version of the SDK to go with this older version of Eclipse?
Thanks in advance.
To QRohlf:
I tried that. I ran it from the command line and got the same error:
[INFO] Starting Android SDK and AVD Manager
Error: Error parsing the sdk.
Error: C:\Documents and Settings\Peter\My Documents\SW\AndroidSDK\android-sdk-windows\platforms is missing.
Error: Unable to parse SDK content.
"platforms" is missing because it's not included in this version of the SDK. It says so in the Readme file. I'm trying to follow the instructions in the link in the original post which imply this can be all done from the IDE but I don't know what step is supposed to create the platforms folder.
It's tempting to manually create the folder but I want to do this 'by the book' as the Eclipse/Android team intended because I'm making a 'getting started' guide for some students.
I redid my installation from scratch but this time I put the SDK higher in the file system - C:\SDKs\AndroidSDK.... and this time it was happy.
I don't know if it was having a problem with the long pathname or the space between "My" and "Documents" or what, but the issue is now resolved.
Run the Sdk Setup.exe in android-sdk_r06-windows and install the addons. See Adding SDK Components for detailed instructions.