I updated the Eclipse plugins (Help - Check for update). Since the restart after installation, the plugins aren't working any longer. They're still enlisted in "installation details", but there are no Android preferences, no Android menu entries, no editor ("Could not open the editor: No editor descriptor for id com.android.ide.eclipse.editors.manifest.ManifestEditor"), and so on. I tried to un- and reinstall the plugins with no success. I'm using Eclipse Helileo with Ubuntu. Any idea how I could get my Android IDE working again?
Did you also update the SDK tools? i.e clicking the little Android with the arrow icon and letting it check for updates then installing the updates.
the problem come from the compatibility of the plugin versions and the version of the jdk/sdk
if you have the last plugin , you must have the last version of jdk/sdk
try to download the last revision of sdk android , with the last jdk java
and lanch again the eclipse .
good luck my freind
I have had the same problem several times. Sadly, the only sure-fire solution I've found is to remove ~/.eclipse and reinstall the Android Eclipse plugin (http://developer.android.com/sdk/installing/installing-adt.html). There is talk that it's fixable just by modifying the bundles.info file (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=587657) but I never managed to get it working that way.
Related
I am using Android Studio 3.1 on Ubuntu 18.04 LTS. I'm currently working on a project with target API 28. I've downloaded the SDK with API level 28 during installation but sometimes when I try to run my project on my device, a popup dialogue prompts me to select the SDK. This does not happen every time but happens sometimes even if I've run the project before and made no change to the SDK path. I don't know what triggers this. I've seen similar questions on StackOverflow, but none of the solutions work for me. Here's what I have done so far:
Synced my project
Invalidated cache and restart
closed my project and opened it again
Uninstalled my SDK and downloaded it again
Switched back to an older version of SDK and then back again
But none of this works and the only workaround I found was to open another project that I downloaded from Github (with API 26), build it and then go back to my current project. This solves it temporarily. A few of my friends are working on the same project on different machines (Windows, Mac) and they have this problem, too.
Is this a bug with AS or is there a permanent solution?
File->Settings->Android SDk.
If already was there in your system set the path to that otherwise download the SDK from SDK tools by selecting specific name.
I've found this workaround. It is not perfect, but it works. Hope this this will be helpful for someone else.
Move your project folder to another location and then open it. It resolves the problem.
I have problem with compiling workspace fully functional after Update to ADT 2.1 , after some eclipse restarts and cannot find any mention about it anywhere. I am running Mac OS X Mountain Lion and I also tried to use Eclipse installation coming bundled with latest ADT 21. Problem is still repeating. It seems to me as bug.
In Android preferences of Eclipse there is message “No targets available” even thou folder is correctly setup to correct SDK.
So it toke mi almost two hours to find working solution for this bug. I reinstalled everything tried to go back to ADT 20 and then accidentally upgraded tools and again was forced to update ADT to 21 that is failing for me…
Solution is simply to have two correct Android SDK folders and you have to point eclipse to other folder, apply, it loads SDK correctly than you can go back to SDK you actually use and everything works. Well till next restart and yo have to do it again . Thank you Android developers , each new big update , new big bug on osx :)
There is another option (from https://stackoverflow.com/a/14045656/4100), if you did disable the android plugin from running at startup, this will happen. Enabling it should fix the bug.
I recently downloaded all the latest updates for my eclipse/Android plugins (before the upgrades everything worked fine). I got everything to work except when i try to create a new project I get a message that I need Android support library revision 8. I click Install/Upgrade and It proceeds to download and install the library. When it finishes the tiny download/install window disappears but the window which informs me that i need Android support library revision 8 remains open and i cant click finish to create new project. I tried closing the window and eclipse and trying it again but it always leads me to the window which states I need the Android support library revision 8. I didnt move eclipse to any other location and I am wondering what is wrong.
I had a problem before with an ! in my eclipse path and eclipse wouldnt work because of exit error 13. I posted a question about it before. My answer explains what has happened and the easy fix.
I am wondering what is wrong now. Do i need to manually link the support library?
Im really frustrated because its taking me forever to set this up.
Update:
I tried restarting eclipse and reinstalling the library multiple times.
I upgraded the android sdk tools and sdk platform-tools before i installed the support libraries.
Like these similar issue i'd for 2 days ago. Whenever, i'm trying to create a new project its showing me like below
For, this i've downloaded that support library using Install/Upgrade and in my path E:/Android/Android-Sdk/extras/android/compaitability I've changed the name of compaitability as support and after just restarted my Eclipse. Its working fine.
Hope these helps you.
Try updating android sdk tools and sdk platform-tools and restart eclipse? ADT has dependencies on these.
This seems like a trivial task, but I can't find an option to cleanly de-install the ADT from my Eclipse installation.
Of course, I could just delete the folder of the SDK, but this just throws errors when starting up Eclipse the next time. The reason I'm asking is because my old ADT keeps throwing a wierd error (Failed to fetch URL https://dl-ssl.google.com/android/repository/addons_list.xml, reason: File not found) and I need a complete, fresh re-install.
Important:
under
Help -> about eclipse sdk -> installation details
the uninstall button for all android plugins is greyed out
The only way to remove the ADT plugin from Eclipse is to go to Help > About Eclipse/About ADT > Installation Details.
Select a plug-in you want to uninstall, then click Uninstall... button at the bottom.
If you cannot remove ADT from this location, then your best option is probably to start fresh with a clean Eclipse install.
I found a solution by myself after doing some research:
Go to Eclipse home folder.
Search for 'android' => In Windows 7 you can use search bar.
Delete all the file related to android, which is shown in the results.
Restart Eclipse.
Install the ADT plugin again and Restart plugin.
Now everything works fine.
I had the issue where after updating the SDK it would only update to version 20 and kept telling me that ANDROID 4.1 (API16) was available and only part of ANDROID 4.2 (API17) was available and there was no update to version 21.
After restarting several times and digging I found (was not obvious to me) going to the SDK Manager and going to FILE -> RELOAD solved the problem. Immediately the other uninstalled parts of API17 were there and I was able to update the SDK. Once updated to 4.2 then I could re-update to version 21 and voila.
Good luck!
David
If running on windows vista or later,
remember to run eclipse under a user with proper file permissions.
try to use the 'Run as Administrator' option.
i got the same problem after clicking update plugins,
i tried all the suggestions above and failed , the only thing that worked for my is reinstalling android studio..
I'm developing for Android with Eclipse, and all was working well until yesterday. I used Ninite to update all my stuff, including JREs and everything (pro tip: do not do that), and it restarted my computer without asking in the middle of editing my workspace.
This caused all kinds of filthy problems, but now it all works, except for Android. I've updated Android SDK and the eclipse ADT, then when I try to tell Eclipse the SDK location, it gives this error:
This Android SDK requires Android Developer Toolkit version 14.0.0 or
above. Current version is 12.0.0.v201106281929-138431. Please update
ADT to the latest version.
Now, this is an outright lie. My ADT is version 14.0.something. I've tried Help>Check for updates, it says there are no updates. I've tried Help>Install new software...>Available Software Sites and removing the ADT repo, then reinstalling ADT, and it says it failed because I already have version 14.0.whatever.
How do I convince eclipse that my ADT is up to date??
I found the answer to the problem. (I'm using Helios, but it should work anyway)
Goto folder /Program Files(x86)/Eclipse/Plugins/ and make sure previous older versions of com.android.ide.eclipse.adt.package_##... are deleted (sometimes update fails to delete because of UAC). Keep the current desired version and complete the following.
Run Eclipse as administrator or disable UAC temporarily. (windows 7)
Go to Help → Install New Software.
On Work with: type https://dl-ssl.google.com/android/eclipse/ and press ENTER.
Wait for Eclipse to fetch the repository. An item named Developer tools will appear in the list.
Mark it for install, press Next and follow the steps to install the ADT tools.
When finished, it will ask to restart Eclipse. Make sure you do this.
When Eclipse restarts, all your Android SDK packages should show up again.
Dont forget to resume UAC if you need it.
An option is to manually download the ADT plugin (ADT archive) required. The page is, http://developer.android.com/sdk/eclipse-adt.html. The page reveals ADT 18 is available at http://dl.google.com/android/ADT-18.0.0.zip. The link is closer to the bottom page. I needed 17 although 18 was the latest, so I modified the download URL, changing 18 to 17.
Select Help → Install New Software → Add → Choose Archive and select the location of the downloaded ADT archieve file, Choose OK.
Select the components required and proceed as required. You may get a message that the software is already installed, proceed with the installation.
Hope this helps.
I had the same problem. My ADT in the eclipse was 8.x version. But my app required version 12 or more. So, I decided to upgrade both the Android SDK and ADT to the latest (at this time latest ADT is 17). I was able to upgrade the SDK but not the ADT. It always complained I got the versions already but I only had 8.x. The new SDK that I just upgraded would function only with ADT 14 and above. So, I had successfully broken my android development!!
The reason why I wasn't able to upgrade my ADT to the latest was because I was using Eclipse 3.5. The newer ADT versions require 3.6 or above. This small but key bit of information was really at the bottom of the error generated by Eclipse which required scrolling down (since only the top few lines of error were displayed). You typically wouldn't scroll down since these top few lines were followed by whitespace lines :). I did not scroll and I guess I wasted about a day trying to rectify this problem. But eventually I saw those 2 up/down arrows at the right of the dialog box and I scrolled down. There it clearly mentioned ADT 17 requires Eclipse runtime 3.6 and over.
So my solution was to find a suitable ADT that would work with Eclipse 3.5. Yes, tomorrow when I am in the mood, I shall upgrade to Eclipse 3.6 or 3.7 and the boat load of plugins I have :)
I've just upgraded my Android SDK version, and had exactly the same issue.
The 'Check For updates' Eclipse command failed because, for some reasons, Android Traceview failed to update.
My solution was to :
* Open Eclipse → Help → About Eclipse .
* Click Installation Details.
* Here select all the android related lines, and update them one by one, restarting eclipse each time.
And finally it worked ( even with Helios ) !
Best option is go to open eclipse ID
Then go to Help → About Eclipse >>
u will find the Installation Details button click on that
And now u can see the all anriod extension installed.
Select all or select one by one and just click the update button.
you will get the latest version from the net.
Hope these will help you all.
In Eclipse:
Help → Check for Updates.
Your ADT and SDK is not up-to-date yet and Eclipse is complaining about the right stuff...
Open Android SDK Manager from toolbar and update your SDK from there. It doesn't help if you are checking Eclipse updates. Because through Eclipse you cannot check SDK updates for Android.
Button looks like this :
I'm hearing a common issue is that newer Android ADK versions require newer eclipse versions. Colleagues who hit this say they installed Indigo in place of older Helios versions and were able to resolve the issue this way. I have not yet done the same myself.
To anyone else with this problem, my solution was just to delete the Eclipse folder, and download a new copy from scratch. I had to then re-download all plugins including adt, which worked this time round.