I've installed Android Studio in Windows 10. When I open Android SDK Manager and try to install 2.2 SDK platform I have the problem. It's not compatible with Windows and I can't install it. I've attached a screen shot of the problem. I can't install any version below 4.0 (API 14).
Allright I had the same problem but managed to fix it (I believe)
Found a website that has standalone downloads for each version
If you download them and place them into the android-sdk/platforms folder named as "android-APINUMBER" for example version 2.1 would be "android-7" then you reload the manager and they will show as installed, hope that helps and also I hope they make them downloadable again.
The api level 8 is very old and according to the api distribution the distribution of api level 8 is 0.1%. Most of the libraries and apps comes today on play store will be targeting newer devices so there is no meaning of supporting devices with api level 8. So it is advisable to target newer devices and newer apis which have more features.
It's not just 2.2 flagged as not compatible with Windows.
I had same problem. To solve it I clicked on Packages at top and clicked Show Obsolete Packages which then enables you to download/install the package
The fix is to run SDK Manager.exe in Administrator mode. You need to run it manually from the android\sdk directory. This clears the issue.
I had the same issue, but I have resolved it the next:
1) Install jdk1.8...
2) In AndroidStudio File->Project Structure->SDK Location, select your directory where the JKD is located, by default Studio uses embedded JDK but for some reason it produces error=216.
3) Click Ok.
Today, I encountered the same problem.
Later, I found that a security software takes up virtualization.
My solution is to turn off the use of security software for virtualization.
Turn off!
Related
Using Eclipse, trying to create a new virtual device to test app on older Android versions, but when I go to create a new Android Virtual Device I only get one option - 4.4.2 API Level 19. How do I get other versions to show here? Last night I was a bit tired and tried to if using the SDK Manager to grab 4.0.3 SDK and Google API would work to test on older version, but it seemed to mess up Eclipse as I got an ADT needs update error (which would find no updates). So starting back from scratch and figured I'd ask instead of trial and error. Thanks!
Open the Android SD Manager, check Show: Updates/New
Select SDK Platform and ARM EABI v7a System Image (also Google APIs if you are unsing them) for all Versions you want to test and download them. You need the source of the Android-Version to create an AVD for it.
Updating your Android SDK build-tools and Android SDK Platform-tools is always recommanded because newer Android versions need a newer build tool setup.
I just installed the android apk and adt plugin for eclipse. Further in the sdk manager , I've installed all the tools , Android 4.4.2(API 19) , Android 2.1(API 7) as well as the android support library and google USB driver. Now what i want to know about is , are these packages enough to start development or am i still missing everything ?
Further what i want to know is, if i want my app to be compatible with all android versions , do i need to install all versions of Android API ??
This should be enough.
No, you just need the newest SDK, set the build target to that API version and all lower versions will be supported. For keeping backwards-compatibility, you'll also have to make sure to use APIs that are supported on the lowest SDK version you want to support
Short answer: You only have to install the ones you want to develop for.
My advice in to install at least the 5 most common ones to be able to test your app against these version.
You probably want your app to be also available for users which didn't yet update to Android 4.4.2.
I'm trying to build a project at minimum Android 2.2 (API 8) for my Android 3.1 device. However, "Android 2.2 (API 8)" was not one of the options on the list. It only presented 3 options: Android v2.1, v4.0, and v4.0.3. The first one was too low for my project while the next 2 were too high for my device.
I checked to make sure that I already installed Android 2.2 in the SDK Manager.
So, how do I make "Android 2.2 (API 8)" become an option for my project? I must be missing something very simple. Thank you for your help.
Double check your PATH to sdk, which SDK it's pointing to?
I would check your /android-sdk-xxxx/platforms folder. You should have in there a folder called /android-8
If this is not present, you may not have it actually installed. Try to re-install and restart the AVD.
Here is a copy to place in your /platforms folder if that still does not work.
http://www.sendspace.com/file/21r31h
I need to download Android api 2.3.4.
But when I start Android Sdk manager, It shows me all the api options to download except Android 2.3.4.
Does anyone has idea how can i download android 2.3.4?
Thank You.
The API Level for the SDK is not quite the same as the version number for Android. Android version 2.3.4 corresponds with API Level 10, so just download API level 10 from the SDK and you should be good to go.
The 2.3.4 release was a maintenance release that only included internal fixes. No API changes were made: http://developer.android.com/sdk/android-2.3.4.html
Oddly, the second sentence of that release says that a new "Open Accessory API" was added in 2.3.4, so I'm not sure how that qualifies as no API changes ...
Looking in my downloaded "platforms" from the SDK manager, the android-10 platform seems to be based on 2.3.3 r2. I don't see any way to get a 2.3.4 image. (But I may be missing something.)
google only seems to have released the api for 2.3.1 and 2.3.3
When you will download Android SDK you will automatically get that API documentation in the SDK if updated.
After i have upgraded to Android 4.0 ICS SDK, I can not find fastboot.exe tool. Does anyone have any idea? Thanks in advance.
Fastboot wasn't included with r14 of the Android Tools release. This is a known issue, and there's a link on that page to the Tools r13 release, which you can use to grab fastboot in the meantime.
You can download fastboot.exe (as well as Linux version) from the HTC developers web site:
http://htcdev.com/bootloader/
Click "Unlock boot loader" button (registration required).
Also, you can download previous version of SDK and use fastboot.exe from there.