Android SDK and Eclipse, shows different installed platforms? - android

When I open C:\Program Files\Android\android-sdk\SDK Manager.exe it shows me that I have installed
Tools
Android SDK Tools
Android SDK Platform-tools
Android 2.2 (API 8)
SDK Platform
Samples for SDK
Google APIs
When I open Eclipse and click on the "Android SDK Manager" button it shows that Ive installed
Tools
Android SDK Tools
Android SDK Platform-tools
Android 4.0.3 (API 15)
Documentation for Android SDK
SDK Platform
Samples for SDK
ARM EABI v7a System Image
Google APIs
Sources for Android
Android 2.1 (API 7)
Documentation for Android SDK
SDK Platform
Samples for SDK
Google APIs
Extras
Google USB Driver
Why does it show different packages and wich one should I use?

This is most probably because Eclipse is using a different Android SDK location than C:\Program Files\Android\android-sdk. Take a look at Preferences > Android > SDK Location field to see what Eclipse is using.

Go to Windows Menu, Click on Preference Option and in the Dialogbox left side there is second option called "Android", click on it & check that your SDK directory is same as you are view from C: or some other.

Related

I am getting this issue "The folder does not contain Android SDK"

I have installed Android Studio but it didn't have SDK tools so I downloaded the platform tools separately. I have used the SDK location in the platform-tools but the issue keeps happening. Any idea how do I resolve it?
Within Android Studio, you can install the Android SDK as follows:
Click Tools > SDK Manager.
In the SDK Platforms tab, select Android 12.
In the SDK Tools tab, select Android SDK Build-Tools 31.
Click OK to install the SDK.

Building app with Cordova using Visual studio

I am using visual studio to develop cordova apps, they seem to run perfectly on ripple emulator but when I select GOOGLE ANDROID EMULATOR then it gives the error as
THIS AVD's CONFIGURATION IS MISSING A KERNEL FILE
and when I use VS EMULATOR 5'' KITKAT(4.4) XXHDPI PHONE then it gives the error as YOU DO NOT HAVE PERMISSION TO MODIFY HYPER-V NETWORK ADAPTER SETTINGS
Can anyone please help?
It seems like you have an incomplete install of the Google Android Emulator and have to install one yourself.
Download Android Studio, open the SDK manager, and install the following components:
latest "Android SDK tools"
latest "Android SDK platform-tools"
latest "Android SDK build-tools"
Android 6.0 API 23 - SDK platform -- to build the latest kind of Android app
Android 5.0.1 API 21 - SDK platform -- to use the emulator successfully
Android 5.0.1 API 21 - ARM EaBI v7a System Image -- the emulator image which you can use on a machine with Hyper V activated
Then, open the AVD manager and create an emulator with the ARM system image.
Finally, go to tools->options->"Tools for Apache Cordova" -> Environmental variable overrides, and link to where your customized Android Studio is installed.

Android SDK manager cannot download samples of android

I have downloaded the Eclipse IDE with built-in ADT (Android Developer Tools) of the latest version. Then I run the Android SDK manager to get the samples
as the picture descripted below:
Name API Rev Status
Tools
Android SDK Tools 22.0.1 Installed
Android SDK Platform-tools 17 Installed
Android SDK Build-tools 17 Installed
Android 4.2.2(API17)
SDK Platform 17 2 Installed
ARM EABI v7a System Imange 17 2 Installed
Extras
Android Support Library 13 Installed
There is no "uninstalled " options , So how can I get the samples and other uninstalled packages?
Thanks in advance!
After investigation, "https://dl-ssl.google.com/ " is banned from accessing because of some reasons. And based on the solutions from network I can resolve the problem.
The solution:
environment: WINDOWS 7, Eclipse IDE with built-in ADT
find the file hosts from the directory"C:\WINDOWS\system32\drivers\etc"
edit the file hosts, append "74.125.237.1 dl-ssl.google.com"
save the file
run the Android SDK manager.exe
choose the uninstalled packages and download them

Eclipse Can't find & install SDK platform Android 1.6 API 4

I would like to install Android SDK platform 1.6 (API 4).
So, on Eclipse, I went to Android SDK and AVD Manager tool, I click on "Available packages" and expand "Android Repository".
But I can not find Android 1.6 API 4, the minimum version it shows is v2.1 API 7.
why? How can I install android 1.6 API 4?
In the repository view, it appears for me as 'SDK Platform Android 1.6' and 'Google APIs by Google Inc.', both version 4 (note: these are two different things that I won't explain here).
Things are clearer if you pick the 'API Level' radio button at the bottom of the SDK Manager. If this doesn't appear then your SDK tools are probably out of date and I suggest you upgrade.
Run as administrator
Uninstall any API greater than 1.X
Close SDK Manager
Reopen in administrator mode
Now u have all APIs in the list

google api 1.5 android

how to download Google API 1.5 for android SDK using Eclipse if it is not in the available packages ????
Because my first Android dev device is Hero (Android 1.6), I never downloaded Android 1.5 SDK. I just checked the SDK Manager, Google API 3 is still in Available packages. This is the screenshot of my SDK Manager:
You can find that in "Available packages" -> "Third party Add-ons" -> "Google Inc." -> "Google APIs by Google Inc., Android API 3, revision 3". Please check again:)
If you have already set up the SDK, 1.5 probably isn't in your available packages because it's already in your installed packages. Just try creating a new project that targets 1.5 and see if it's there.
You are probably looking at the wrong place. The SDKs are not installed using "Install new software ..." that you used to install the ADT plugin. After installing it you must open in "Window"->"Android SDK and AVD Manager". From there clicking on "Available packages" and on the right pane on the "Android Repository" arrow should open all the available SDKs. There you can find "SDK Platform Android 1.5, API 3, revision 4". If you can not see the "Android SDK and AVD Manager" from within Eclipse you have not configured the ADT plugin (Eclipse preferences inside Android option) to use your base SDK files (those must be installed manually and then enter where you installed them).

Categories

Resources