I have updated my Android SDK to Revision 16 but I can't seem to find
Android Lint
anywhere in my Eclipse IDE (Preferences -> Android). Are there any additional things to be done? I need some help. Thanks.
If there is no menu point in eclipse (Window -> Run Android Lint), chances are that you only upgraded your Android SDK and not the eclipse plugin. In this case go to Help -> Check for updates. Eclipse should tell you that there are new updates available. Just click next to install them. Then restart eclipse when prompted.
Ensure you installed it firstly, by checking pulgins installed.
Then right click the project, go android tools, there is a "Run Lint"
Related
In Eclipse IDE I am trying to connect Android SDK to Eclipse.
I installed ADT plugin by,
Help - > Install new Software https://dl-ssl.google.com/android/eclipse
Then installed SDK by Windows - > preferences , Android SDK was also installed, but I don't see the "Android Application" in the menu as shown in screenshot. Also I don't see the "Android" option that should be available in the top right corner(as shown in the screenshot).
My Questions
Have I installed the ADT and configured Android SDK properly ?
Why am I unable to run the Android application ?
Please let me know if further details are needed.
You have to add a run configuration, then there will be displayed this added configuration.
Edit:
After installing the Android plugin in eclipise I needed to reimport the project, then everything worked fine.
Have you set your Android SDK path in Windows -> Preferences yet? that should be first step.
If you have already done that, then goto Help -> Install New Software and click on Already installed link. Check whether you can see ADT installed in the list of installed packages?
Seems like I'm having some problems after updating my android sdk tools and platform-tools using the sdk manager. The problem is that, after updating, I found that the avd or sdk options in the windows dropdown menu in eclipse are gone! And, I can't find any option to create an android project from file->new projects any more.
I tried removing the ADT from eclipse and the software site "https://dl-ssl.google.com/android/eclipse/" from "available software sites" and then reinstalled the ADT from "https://dl-ssl.google.com/android/eclipse/" using help->install new software. The installation was successful, but I still don't have any option for shortcuts to the SDK manager or the AVD in eclipse, and neither can I create a new android project.
By the way, the android perspectives are not gone, they are still here. Also, I can manually open the avd and sdk manager from the directory where I have installed them.
Can anyone please show me a workaround? Any help would be greatly appreciated.
I have solved this as follows:
Window > Customize Perspective... (you will see Android and AVD Manager are disabled)
Command Groups Availability > Android and AVD Manager > check
Tool Bar Visibility > Android and AVD Manager > check
I had similar problem after updating SDK from r20 to r21, but all I missed was the SDK/AVD Manager and running into this post while searching for the answer.
I managed to solve it by going to Window -> Customize Perspective, and under Command Groups Availability tab check the Android SDK and AVD Manager (not sure why it became unchecked because it was there before). I'm using Mac by the way, in case the menu option looks different.
Well I feel silly, but my problem was that I was in the Debug perspective and they do not show up in that perspective. Switched back to the Java perspective and viola.
Window -> Custom Perspective -> Command Groups Availability -> Android SDK and AVD Manager check it
Chances are that you may be running your eclipse using Java 1.5.
Latest Plugin requires that the JRE be 1.6 or higher.
You will have to use Eclipse that runs on JRE 1.6
Edit: I had run into same problems. If it is not JRE problem then you can debug this. Follow below procedure:
Window -> show View -> other -> Plugin Development -> Plugin Registry
In the plugin registry search for com.android.ide.eclipse.adt or any other plugin related to android (depending on your installation there maybe 7-8)
Select , Right Click -> Diagnose. This will show the problem why the plugin was not loaded
Try to reinstall ADT plugin on Eclipse. Check out this:
Installing the Eclipse Plugin
I would suggest you to install the ADT plugin compatable with your Android SDK tools and try to install all the required plugins compatable with your Android SDK
LIKE
Android SDK tools Rev 20.0.3
Android SDK tools Rev 20.0.3
Android SDK Platform-tools Rev 14
Android 2.3.3(API 10) sdk platform rev 2
samples for sdk api 10 rev 1
ADT Plugin 20.0.3
Unfortunately I ended up having to re-install eclipse. but first (In Linux)(not sure of folder in Windows) do:
sudo rm -R /usr/share/eclipse/
Yesterday I tried to install titanium appcelerator and in the process I edited some of the android sdk installations Now I have updated my android sdk to rev 20. But when i start eclipse i get an error that sdk requires version 20.0.0 or above. I tried to install by using eclipse->help->check for updates-> but again the installation doesn't work claiming that required items could not be found. Please help
Goto Help → Install New Software.
In there you click the work with: dropdown and select your android adt link.
Then it will show the list of things to install choose it click next.
I also got the same error and I solved it from updating adt.
Go to : Eclipse → Help → Install New Software and click the work with drop down and select android adt link that you have used previously. It looks like this :
android ADT - https://dl-ssl.google.com/android/eclipse/.
Tick the developers tools check box and click next. If you have already installed some of them, then eclipse will notify you.
Better to Download Latest Eclipse Setup Juno http://www.eclipse.org/downloads/ open this link and download this version
Eclipse IDE for Java EE Developers
What I did was to uninstall the latest ADT and go back to a previous ADT. It worked.
Go to Help → Install New Software - look for the already installed hyperlink. Uninstall all ADT's. Restart Eclipse and it will tell you the ADT you need for the revision tools you have. Download this ADT and install it manually. It should at least work.
I got the same error, I solved this by updating the Android SDK tools and Android SDK platform tools.From Eclipse → Window → Android SDK Manager, then Update Tools → Android SDK Tools and Android SDK platform tools packages. After this restart the eclipse and then update the ADT again. (Help → Check for new Updates).
This is the best and quick solution:
Open SDK manager -> Packages menu -> Reload
if You have to update ADT 20.0 otherwise it's not work and also not list the Number of SDK install.
i have that problem and fix by updating ADT 20.0 , also Good User Interface.
I suspected that something was wrong with my configuration, as I shouldn't have to suddenly update the ADT when everything had been previously working.
BTW, I got this with "Android ADT version required 21.0.0 and above".
To fix it, I:
Reinstalled eclipse (which is quite easy, as the zip was still in my Downloads, so I just deleted my eclipse directory and unzip the original again - eclipse doesn't use the registry)
Created a "hello_world" java app, in eclipse, to test that (fixing any problems with the standard searches");
Created a "hello_world" Android app to test that (fixing any problems with the standard searches).
Reverted my project files to the last known working version,
Imported my project, and fixed an problems, etc...
About an hour's work. No downloads (assuming you've still got your eclipse zip), no update to the ADT, and no obscure problems which I haven't faced before.
This person (http://kcwebprogrammers.blogspot.com.au/2012/07/android-sdk-eclipse-hell.html) recommends a complete re-install, but it seems that a partial restoration may work.
I too had the same problem. I resolved it by doing the following in Eclipse:
Go to Help -> Check for Updates -> Install all the Updates available.
only check on Android Development Tools then press next and accept install it :)
Mohamed Safwat
Helwan Uni
eng.mohamedsafwat#yahoo.com
In Eclipse (ADT)
Help --> Install New Software ---> Work with --> Android Developer
Tools Update Site - http://dl-ssl.google.com/android/eclipse/
Select all of the updates you want to install and UNCHECK option "Contact all update sites during install to find required software". After that everything should install as it is mentioned to be.
In Eclipse I check for available Android packages, at Window->Android SDK and AVD Manager.
Under "Available packages" it shows site as "https://dl-ssl.google.com/android/repository/repository.xml" - but underneath there says "This repository requires a more recent version of ADT. Please update the Eclipse Android plugin".
However the "About Eclipse" menu indicates that I am running Android ADT 16.0.1, and when I check for updates with Help->Check for Updates, it says "No updates were found".
So how can can I get the Android packages when I require a more recent version of the ADT, but Eclipse says no ADT updates were found?
Regards,
Tom
I had this problem too when updating from 21.x to 22.
It is not necessary to completely uninstall and re-install Eclipse.
When eclipse complains about the wrong ADT, simply close the dialog.
Go to Help/Install new software.
At "Work with", select "Android Developer Tools Update Site - hxxp://dl-ssl.google.com/android/eclipse/"
Be sure to uncheck "Contact all update sites...". Yes. Uncheck. Why, I don't know, but otherwise it fails. Without explaining why.
Click on next, confirm license etc., finished.
This worked for me. But the question, why a multi billion dollar project like Android doesn't manage to create a simple and working update without selecting any weird options, is still not answered.
It's very strange. If you have installed AVD 16 then you should have separate menu lines for Android SDK Manager and AVD Manager (in Window menu). I think that you should reinstall your eclipse and ADT plugin.
Per Yury's advice, I uninstalled and re-installed Eclipse. I'm not sure of the previous version, but it was a Helios version at least 2 years old. The new version is Indigo, and now the SDK and AVD managers appear as separate "Window" menu items, and all installed SDK versions appear under SDK manager. I guess there is something about the latest Android stuff that is incompatible with Helios (although the Android documentation claims that Android is compatible with Helios). Thanks Yury!
Ok, this is what I worked in my case, JFTR:
Uninstall ADT:
Open "About Eclipse" within Help (Linux and Windows) or Eclipse menu (OSX)
Click on "Installation Details"
Select only Android Development Tools
Click "Uninstall"
After uninstalling Eclipse will ask for restart, so do it.
Reinstall ADT:
Open "Help/Install new software"
In "Working with" select the ADT should have an URL like "https://dl-ssl.google.com/android/eclipse/"
Unfold "Developer Tools" and check only "Android Development Tools"
Click next and wait for the installation to complete
Restart Eclipse
I hope it helps someone.
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.