Android plugin for Eclipse gets stuck at application name - android

When using the Eclipse plugin, I get stuck at this step...
What's going on..? I did enter a name.

Since the Build SDK field is blank, this indicates you have installed part of the SDK, but none of the SDK Platforms. You need to have one or more SDK Platforms installed as well. Each of these has an API Level and Android version (e.g., Android 4.1 (API 16).
In Eclipse, go to Window -> Android SDK Manager. Select one or more SDK Platforms to install. As an example, the SDK Manager on my system shows shows several SDK Platforms are installed. Here's a partial view:
Note the various versions of the SDK Platform have a status of "Installed"

Related

Visual Studio Tools for Cordova - FAILS

Everytime I build I get the below error. I'm new to cordova in Visual Studio. I actually tried installing for VS2013 first. I downloaded VS 2015 RC community and I'm trying to get the project started. However I'm getting the below message.
Attempt 1: I tried going into options>VS tools for Cordova> and clearing the cache.
Attempt 2: I've verified that have the correct path to Android SDK.
Attempt 3: I've download Android Studio thinking that it make magically load secret files for Android that I don't have.
All three failed! Help!
EDIT: I downloaded the Android Stand-alone SDK Tools and payed close attention to the path they were installing in. I notice that these were installing in the AppData folder on my machine and not the C:\Program Files x86....android sdk folder. I referenced this new folder and it seems to be working.
Note that these are warnings, not specific build errors. These messages are telling you that you have not installed some specific Android SDK components (not necessarily the Android SDK manager or tools as a whole which is what the link on the Android site gives you). In particular, you need updated build tools and the Android API level 21 SDK. If you have a more recent version of the build tools you are probably fine but missing the specific Android SDK mentioned can cause builds to fail. Each version of Cordova has different SDK version requirements. (4.3.0 uses 21 while 5.0.0 uses 22.)
To install, open the Android SDK manager (which should be in your start menu if you allowed VS to install the SDK for you or see here for its location if you did not).
Then, be sure the following are then checked and click install:
First the build tools version:
Then at least the "SDK Platform" for API level 21. You can also check the entire category if you want access to emulator images. Also note that, despite the name that appears in the SDK manager, a given SDK allows you to target a wide variety of devices. The version like "5.0.1" simply tells you that the SDK enables you to optionally use APIs available up to that version of Android in your native code.

Install android sdk in eclipse without downloading full os

I would like to install the SDK for several android platforms on my chromebook using Ubuntu with crouton when I get it. The problem is that the chromebook I might get only has 16gb minus the OS. Installing the android SDK to eclipse also seems to install the whole emulator as well and it takes up A LOT of storage. Last time I did it I install 3 SDKs and the total space was almost 10gb.
Is there a way to install just the bare essentials for android development?
I don't want to run an emulator since I have several devices at my disposal and the chromebook won't be able to handle it anyway. Thanks! :)
Assuming you already have a JDK installed, the bare minimum you need for Android development is the standalone SDK, the platform tools, and at least one version of the Android platform. All of that takes up less than 1/2gb.
You can get the standalone SDK from here. Scroll down to the bottom and it's under Other Download Options / SDK Tools only. Once you have that downloaded and unzipped somewhere, go into the android-sdk-linux/tools directory and run the android command there. It will popup the Android SDK manager. Uncheck everything except for the following and click install:
Tools
Android SDK Platform-tools
Android SDK Build-tools
Android 5.1.1. (API 22) // or different version
SDK Platform
Google APIs
Extras
Android Support Library
other packages if your app needs them
You can find more information about how to use the standalone SDK for setting up your project and whatnot here.

Install old system image with Android Tools R21

I'm stumped after doing a fresh install of Android Development Tools r21. http://developer.android.com/sdk/index.html
I've installed this and I am looking to create an AVD for Android 2.1 (API 7) to test some things, but I cannot find an option to install the Android 2.1 system image. In fact, nothing prior to Android 4.0 is an available system image for an AVD.
I've installed the SDK Platform but it doesn't include the system image. Based on the Official Add-on Sites, I tried to go to https://dl-ssl.google.com/android/repository/sys-img.xml but this is essentially an empty XML file.
I've also checked the ADT Known Issues http://tools.android.com/knownissues
Finally, from How install old ADT13 in Eclipse I gleaned the possible add-on site of https://dl-ssl.google.com/android/repository/repository.xml, but that doesn't pull anything into the SDK Manager either.
Does anyone know how to get this working?
Android SDK Manager
Android SDK Manager - Add-on Sites
I've solved my own issue. Apparently starting in Android Developer Tools R21
System images of Android 4.0 and newer
Installed by checking the ARM EABI v7a System Image box in the Android SDK Manager
System images of older than Android 4.0
Installed by checking the SDK Platform box in the Android SDK Manager
This was the source of confusion.
Additionally you must restart Eclipse to get it to be an available option, which I didn't do.

android target api not visible

i have installed android sdk.
i have also downloaded and installed the adt plugin in my eclipse ide.
now when i go to preferences to set the path for android sdk, when i set the path and then press apply-- automatically the target api should be listed below. But they are not being listed below for some reason.
what could be the problem?
thank you in advance
Within eclipse, go to Window > Android SDK and AVD Manager then choose Installed Packages from the left hand side. Do you see things like SDK Platform Android 2.3, API 9, revision 1 listed? If not then you need to download them. Select Available Packages then expand Android Repository then select the SDK versions you want to download.

Target option is disabled in Eclipse window->Preference->android

Why my target option in eclipse is disabled? I cant select the target platform.
On the other hand the platform folder and adds-on are empty.
Plz any ideas?
After you have installed your SDK, you need to download all the platforms you need (like Android 1.5, Google API's, so on...)
Then you should create some virtual devices with some parameters (like screen size, sd card...). Then you should run the app over the platform you like.
I guess you need to install required platforms.
Eclipse > Window > Android SDK and AVD Manager > Available Packages ....
Encountered the same problem. The Android SDK archive does not come populated with a specific Android platform or Google add-on. We can use the SDK Manager to install or update SDK components such as platforms,tools, add-ons, and documentation. I used the eclipse tooling option path provided by the first answer. There is also a "SDK Manager.exe" file that can be used to download outside eclipse.
You need to install the complete API that you're working on.
Suppose, In my case I am working on Android 5.0 SDK Tools and I Froyo 2.2 for minimum SDK Verison support. So Now I have 2 SDK Tools Installed, Android 5.0 and Android 2.2.
To make them support as Target SDK, I need to install the complete package from Android SDK Manager.
In your case install the complete package of the respective API you're using. After installing, restart eclipse and then your Target Option will be enabled.

Categories

Resources