android studio, level and platform issue - android

I have android studio. It seems that I have an API Level of 20 and Platform 4.4W as Android Virtual Device which is a no no.
Can any one tell me step by step (or guide me to a link) that will show me how to put a Level 19 and
Platform 4.2.2 set on ADV.
This is the first time I download a program but am familiarizing myself with the source code files.
Thank you

Just open the SDK manager located under tools->Android->SDK Manager.
All the SDK's and necessary files are available there for download.
Once you downloaded the content it should just work.

Related

Android Studio Preview Issue, Important SDK Tools?

I'm totally new with android development. I installed android studio today. By default, I'm getting 15 options that can be installed in sdk manager, but my net is limited, so I cannot install all of these :( Can you please suggest the most important of these to install so that preview option should work? I need to target smartphones only: no TV or wearables.
Thank you so much!
You will probably need to download the same options for 2 different API levels: You should get API 21 (or whatever API level is your target API) and whatever API you set as the minimum SDK for your app. You make these designations when you first create your project in Android Studio, or can change them in build.gradle or AndroidManifest.xml.
You will probably want the SDK Tools, SDK Build-tools, SDK Platform, Sources for Android SDK, and the Intel x86 images from both API levels your app supports - minimum SDK and target SDK.
Android Google USB Driver for sure if you want to use a device for debugging and the Android Support Library.
And if you want to use an emulator you have to download one of the Intel x86 images (for phone).

How to get more target platform options for Eclipse AVD?

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.

Where can I Download API 17 android 4.2?

I need to download API 17 android 4.2, I'm searching in google but i cant find it. I dowloaded the last version KITKAT but I dont like it because I new in android and all examples in the internet use 4.0 or 4.2 versions
I think you can find the ADT here: http://developer.android.com/sdk/index.html
http://developer.android.com is a good starting point. To download code for a special api version you can use the SDK Manger which is included in the sdk/adt download.
Execute Android SDK MANAGER and select version 4.2.2 (API 17). This will download and install. You can check in your android-sdk/system-images/android-17

Can't see/select API 19 in Eclipse Indigo in project properties

Trying to update an app to newer version of android. Downloaded/installed API 19 and supporting files via SDK manager (as administrator), SDK manager shows that all files are installed - but when selecting [project properties - android]... api 19 is not listed. Can't include screenshots since i don't have enough reputation points - but screenshot would show SDK manager with installed android 4.4.2 (api 19), and a second screenshot showing android properties only listing up to api 18.
Closest post/solution found was how to access api 19 for android in eclipse?
but didn't help...
using Eclipse indigo
Many thanks for your help!!
You will need to update eclipse too after updating the SDK. Go to Help -> Check for updates and see if some component needs update.

New App - Build SDK Android 2.2 (API 8) not available. How to make it show up?

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

Categories

Resources