SDK and AVD Manager will not run after uninstalling the ADT plugin - android

Windows XP x32
After uninstalling the Eclipse ADT plugin, the Android SDK and AVD managers will not run. A command prompt window pops up, but closes and nothing happens. How do I fix this?

Why do you want to uninstall the ADT plugin? That's the basis from which the SDK and AVD managers run from. Reinstall it if you want to fix it.

The Eclipse ADT plugin is used to run the Android SDK and AVD managers in Eclipse. So why do you want to uninstall it?
If u dont want to use Eclipse for your programming, then the plugin is not required, just install using th steps given here-
http://developer.android.com/sdk/installing.html

Sounds like you let Eclipse delete something you shouldn't have. Re-install the SDK and I bet they'll work again.

Related

Cannot create new project after Eclipse update

Yesterday, I was installing ADT for Eclipse. It all went well, until I clicked Check for Updates. After Eclipse rebooted, all the preferences are gone, I can't create new project, ADTs are gone. But when I try to download ADT from the Install New Software option, it says that I've installed it.
I've also reinstall Eclipse and same thing still occurs.
What can I do to fix this? I do not know what causes this whether it is ADT or Eclipse itself, because I can't even create new project for C++ or even Java.
I have Eclipse Indigo.
EDIT: I'm using Ubuntu 12.04
After installing ADT plugin go to windows > Android SDK Manager, after loading the packages click on install button, after installation is complete then check your problem is solve.

ADTr20 doesnt get installed in my eclipse

I have updated my android sdk to sdkr20, before i used r16 and my eclipse version is
Version: Indigo Service Release 1
Build id: 20110916-0149
but when I try to install ADTr20 it doesnt get installed and says
Cannot complete the install because one or more required items could not be found.
Software being installed: Android Native Development Tools 20.0.0.v201206242043-391819 (com.android.ide.eclipse.ndk.feature.group 20.0.0.v201206242043-391819)
What should I do now?
I'd suggest trying a fresh install of eclipse. But don't get Juno (the latest version) as there is a bug that makes the XML editors not work with ADT (see http://code.google.com/p/android/issues/detail?id=34630).
Can you try updating eclipse first?
Then let it do its thing like so:
Then select the option only for tools (do not select anything else)
Once that installs successfully, try installing the other updates one by one, say select DDMS only first and so on
Note: At times, removing development tools and then installing it again helps to resolve such issues as well
They say you should use Eclipse Indigo

Android Unknown Command 'crunch'

I just installed Eclipse and Android SDK in Mac OS X.
I imported the project to Eclipse and i get the Unknown command 'crunch' error while running the project.
How should I solve this issue.
Please help me
I just update
"Android SDK Platform-Tool" to 8 Rev and "Android Asset Packaging Tool"
from android sdk manager,
and then it works.
Have a try!
After updating to ADT r14, go to Window -> SDK Manager (in Eclipse)
Check on 'repository', uncheck "installed"
Wait for packages to load, then select all support packages, accept all and install them
Restart Eclipse
Run your apps on new ADT r14, without 'crunch' errors
Worked for me :)
Updating Android SDK Tools to r14 and Android SDK Platform-tools to r8 also solved this problem for me.
I had to check 'Installed' in the SDK Manager in order for the updates to be listed (even though I had the previous versions already installed). Checking only the New/Updates box meant they wouldn't show up in the list.
Go to Window -> Andriod SDK Manager (in Eclipse)
Check on 'repository', uncheck "installed"
Wait for packages to load, then select all support packages, accept
all and install them
Restart Eclipse
I had the same issue.
To fix it :
- Uninstall the current sdk tools (Android SDK Tools and Android SDK Platform-tools) in the Android SDK Manager
- Reinstall them at their last version (r14).
I encountered this kind of problem also, when updating SDK,
The solution was to re-enter the SDK folder path to the Eclipse.
(For some reason, the new SDK was instaslltion was in a diffrent folder from the original one)
For me, what worked was a combination of what Androgeek and tinyau said.
Summing up. I needed to update both my Android SDK Tool and Support Tools and restart eclipse.

Android:Android SDK and AVD Manager doesn't launch after did SDK upgrade?

I have Android development eclipse setup on Mac OS X. I recently did Android SDK upgrade from 1.5 to available versions such as 1.6, 2.0.1 and 2.1 and docs. After did upgrade, automatically restarted my Macbook and installed all new versions. After this, when i try to launch "Windows->Android SDK and AVD Manager", it doesn't launch at all. What might be the reason? Does anyone has the solution?
The reason why i'm trying to launch Android SDK and AVD Manager is, i need to add new Android virtual device(avd) target for 2.0.1 and 2.1 versions, for that i'm trying to launch Android SDK and AVD Manager.
Thank you in advance.
It seems the latest version of the Android SDK AVD Manager requires that there be a few directories (empty) before the AVD Manager will launch.
In the SDK install directory, there must be sibling directories to tools for "platforms" and "add-ons".
Create those directories, restart Eclipse, then launch AVD Manager.
And that should do it.
Then You can Update All and get platforms.
Well this is actually caused by the fact that android is installed on c:\program files folder (the commands executed by android consider that the called folder is c:\program which is a non existent folder and this issue is due to the space in the name of this folder).
So the solution is to reinstall your program under a folder with non spaced name (for example c:\Android) and it should be fine.
Note: this problem can also be related to a problem of jre problem so make sure you have the appropriate version for android sdk.
Have you tried launching Eclipse with the -clean option?
The clean option clears any cached data Eclipse might be using, so it may resolve the SDK/AVD Manager issue you are encountering.
Here is a more in-depth explanation:
http://www.eclipsezone.com/eclipse/forums/t61566.html
Here is one example of launching Eclipse from a command line (Terminal) in OSX with the -clean option:
http://www.brooksandrus.com/blog/2007/06/30/run-eclipse-from-the-command-line-on-os-x/
You might have to update your "SDK tools" as well as downloading the Android v2.1 SDK itself. I had the problem where after downloading v2.1, suddenly nothing worked as I got the message I needed to update to SDK tools rev5 - that update doens't happen automatically when you go to the AVD manager and download the "available packages". I don't know if it's the same on a Mac, but on the PC it was as simple as going to "Help -> Check for Updates" in Eclipse.
the newer version of the SDK tools is probably in a different folder than the old version, so update
Window -> Preferences -> SDK Location.
Paul
Check the install is ok by running the commands from the tools directory manually to check it's not an issue with the install
I had a similar problem and traced it to a faulty swt.jar file in the folder
[adroid_sdk]\tools\lib[platform]
Downloaded a new one from http://www.eclipse.org/swt/ and put all the files into the above directory. For me [platform] was "x86", but it might be different for you, though I only had 3 folders to choose from and I dont think it will hurt if you put the files in all of them.

Do i need to install the Android SDK before installing Eclipse?

Do I need to install the Android SDK before installing Eclipse?
Or must I install Eclipse before installing the Android SDK?
I'm worried that one has knowledge of the other, the order of installs is important, and installing the two out of order could lead to problems.
Does the Android SDK installer know about Eclipse, and registers itself with Eclipse?
The order you install them in is not important. Once you install Eclipse you will have to install ADT (Android Development Tools) and specify the path to the SDK in the ADT configuration (inside Eclipse).
Install the Eclipse IDE first and then the Android SDK
As said, it is not important, you can even play around with the emulator without ever installing eclipse, and you can use other editors as well (however this is more difficult) - read more about the installation here http://developer.android.com/sdk/installing.html
The order you install is not an important here.

Categories

Resources