I'm having some issues with my eclipse. I can't create a new android project after installing all updates from SDK manager. Without updates it did work normally. Has anyone else is having this issue and may assist me in resolving it ?
Open SDK Manager and select Android Support Library under Extras. Other than that, you can try reinstalling the support library and then restarting eclipse.
After you have installed or updated SDK Manager. Do following:
Window -> Preferences -> Android
Verify SDK Location path is correct.
Help -> Check for Updates
Should pull updates as per your installed SDK.
Also noticed if your android plugin path has https it sometimes dont pull in updates due to changes in firewall settings, instead use http://dl-ssl.google.com/android/eclipse/
Hoping this helps.
Cheers !!
Start Eclipse, then select Help > Install New Software.
Click Add, in the top-right corner.
In the Add Repository dialog that appears, enter "ADT Plugin" for the Name and the following URL for the Location:
https://dl-ssl.google.com/android/eclipse/
Click OK.
Good luck..
The app you designed is specific to a version. When you update the SDK, you've changed the version of your plug-in but not the version your app is written in. You can change the version, but it will likely have problems (ours did).
Related
Recently I've encountered following error :
The strangest thing is that I've just updated some package from sdk via working eclipse. There was no information or warning that after this update current adt will crash. I've checked latest updates and can't find new adt even on google's page. Even new adb contain old adt.
From http://developer.android.com/tools/sdk/tools-notes.html:
Dependencies: Android SDK Platform-tools revision 18 or later. If you
are developing in Eclipse with ADT, note that this version of SDK
Tools is designed for use with ADT 22.6.1 and later. If you haven't
already, update your ADT Plugin to 22.6.1.
The only solution is to download new standalone eclipse and external plugin for it?
Does the android studio face the same problems?
Environment: linux x64.
Today me and one of my friends faced the same problem, so I have tried many things like restarting eclipse, checking updates, etc. but none was working for me.
Then I found a solution from Here and it's working as a charm for me and also for my friend.
Follow the steps here:
Start Eclipse, then select Help > Install New Software.
Click Add, in the top-right corner.
In the Add Repository dialog that appears, enter "ADT Plugin" for the
Name and the following URL for the Location:
https://dl-ssl.google.com/android/eclipse/
Click OK.
If you have trouble acquiring the plugin, try using "http" in the Location URL, instead of "https" (https is preferred for security reasons).
In the Available Software dialog, select the checkbox next to
Developer Tools and click Next.
In the next window, you'll see a list of the tools to be downloaded.
Click Next. Read and accept the license agreements, then click
Finish.
If you get a security warning saying that the authenticity or
validity of the software can't be established, click OK.
When the installation completes, restart Eclipse.
I reported this bug yesterday. Solution is to use Help -> Install new software option with httpS:// protocol (s is important). No special downloads or re-installations is needed, just choose the right update site.
The problem is that the default update site in Android ADT is
http://dl-ssl.google.com/android/eclipse/
but this site don't update correctly
And the solution is add a new Install site with protocol https
https://dl-ssl.google.com/android/eclipse/
Click in Help->Install New Software->Add
And use this site to update ADT
Issue : https://code.google.com/p/android/issues/detail?id=67325
To solve this problem, here I have covered steps, surely it will help you.
Please follow these steps:
Help | Install new software
Select the ADT update site (there are two, one with http:// and one with https:// If one doesn't work, try the other.
Select the developer tools section and press next.
You should see a dialog that says "this software is already installed, an update will be performed instead". Clicking ok will lead to 22.6.1 being installed.
Update 27/03/2014
They released 22.6.2 and fixed this issue so update your ADT to new version.
You can see this thread : Cannot update from ADT 22.3.0. to 22.6.1
You can go to Window->Android SDK Manager and check tha what version you have.
In my case it shows I already have toolkit 22.6.1 installed but still get the error. Whether you already have it or not, you can do the following to fix.
Go to Help->Install New Software... In the dialog shown below, click on 'Add' button on the top right side.
Paste "https://dl-ssl.google.com/android/eclipse/" in Location. You can name it anything.
Click Ok and follow the dialog by clicking Next.
If prompted with a message sasying you already have it, just agree so that it gets updated (or installed if it wasn't there).
This should resolve the issue.
source : http://codewriterstips.blogspot.nl
if your android sdk is to old . you must download new android sdk in developer.android.com and , copy past some nececary folder on it .
I have installed adt version 22.6.1 already 2 days ago. It was working fine. Suddenly, When I open eclipse today, it keeps showing me following error:
This Android SDK requires Android Developer Toolkit version 22.6.1 or above. Current version is 22.2.1.v201309180102-833290. Please update ADT to the latest version.
Here is screenshot of my eclipse's Android SDK Manager :
I tried with following steps to resolve my issue as discussed in this Link
Help | Install new software
Select the ADT update site (there are two, one with http:// and one with https://. If one doesn't work, try the other.
Select the developer tools section and press next.
You should see a dialog that says This software is already installed, an update will be performed instead. Clicking OK will lead to 22.6.1 being installed.
But unfortunately it didn't work for me.
Here is a screenshot I am attaching which shows the error I am getting while updating the tools.
How can I get rid of it?
I have solved this issue yesterday.
Follow the steps :
Help -> Install New Software -> Add -> (Give any name suppose NewUpdate) -> add this url : https://dl-ssl.google.com/eclipse/plugin/4.2 -> OK
Now it will list the available updates, which should ideally be adt 20.x.x
Select the list items Let it be installed. Eclipse will restart and Its done.
I hope this will helpful for you :)
Yet, if someone is facing this issue, Then follow steps below:
download new stand alone SDK from android's developer site
Close eclipse if it is opened and copy new downloaded sdk in the same location where your already existing old sdk is. Must replace conflict files and keep rest.
No need to delete old sdk. Copying as in step 2 will update your Android Developer Toolkit version to 22.6.1 or above which is required and will keep already downloaded APIs.
Now start your eclipse, and the error will be gone forever. :)
if someone will have trouble doing so, leave me a comment, will try to guide.
I managed to resolve it by doing the following:
Downloaded latest ADT (Win x64)
Deleted my old ADT install (It got bugged when I simply tried to overwrite the existing files) - see this google issue
Copied the zip file to C:\ (since it was complaining about too long filenames while unpacking)
Unpacked to my ADT install folder.
Ran updates and SDK manager updates.
Now it's working, but I lost my pretty Eclipse theme. Oh, and the target adt is not being resolved, a problem for another topic.
Just delete the existing ADT and install new version of ADT.generally this problems occurs
when you update SDK using below link.
https://dl-ssl.google.com/android/eclipse/
The ADT Bundle on developer.android.com seems to me as out of date.
I fixed the same problem by downloading eclipse (Java EE was my choice, but you can choose your flavor) and Installing the Eclipse Plugin
this steps solve my problem:
go to Help -> Install New Software.
in the bottom box, click What is already installed? text.
then you will see Eclipse Installation Details box, please Uninstall all conflicts software, in my case I uninstall the following software:
Android DDMS
Android Development Tools
Android Hierarchy Viewer
Android Native Development
Android Traceview
Tracer for OpenGL ES
when uninstall complete, please restart your Eclipse.
after your Eclipse open, please follow again these steps:
go to Help -> Install New Software.
in Work with box, select or add {ADT Plugin - https://dl-ssl.google.com/android/eclipse}.
then check all available software.
click Next > to install newest software.
I hope this helps you :)
I use OSX and facing the problem for 2 days.
I solved the problem by following the steps below:
-Download ADT Bundle from https://developer.android.com/sdk/index.html
-Help -> Install New Software
-Write https://dl-ssl.google.com/android/eclipse/ then install Developer tools
-Restart eclipse and raised the error below:
Android SDK content Loader has encountered a problem.parseSdkContent failed
java.lang.NullPointeException
-Delete .android folder under user profile. Restart eclipse
No errors and 22.6.1 is installed.
For those who tried everything but didn't get any positive result. I did the following and it worked:
Uninstall the ADT by helping from following link:
Uninstalling Android ADT
Now you can follow the install new software to add ADT to your eclipse. This way you won't get any conflict since you uninstalled old version.
I currently have Eclipse and ADT installed in the same directory as
F:\eclipse
\eclipse\
\sdk\
I downloaded and installed the latest ADT to
C:\Users\Rick\AppData\Local\Android\android-sdk
I then copied the contents of the C:\Users\Rick\AppData\Local\Android\android-sdk into the F:\eclipse\sdk\ folder, and let it merge all folders and overwrite everything.
Now I have 22.6.1 and I don't have to re-download all the platform stuff again.
Today me and one of my friends faced the same problem, so I have tried many things like restarting eclipse, checking updates, etc. but none was working for me.
Then I found a solution from Here and it's working as a charm for me and also for my friend.
Follow the steps here:
Start Eclipse, then select Help > Install New Software.
Click Add, in the top-right corner.
In the Add Repository dialog that appears, enter "ADT Plugin" for
the Name and the following URL for the Location:
https://dl-ssl.google.com/android/eclipse/
Click OK.
If you have trouble acquiring the plugin, try using "http" in the Location URL, instead of "https" (https is preferred for security reasons).
In the Available Software dialog, select the checkbox next to
Developer Tools and click Next.
In the next window, you'll see a list of the tools to be downloaded.
Click Next. Read and accept the license agreements, then click
Finish.
If you get a security warning saying that the authenticity or
validity of the software can't be established, click OK.
When the installation completes, restart Eclipse.
The "Install new Software" under help in Eclipse will NOT work because it conflicts with ver#22.
I just downloaded the new Eclipse bundle from:
Get the Android SDK - google site, extracted it in a new folder ant it is done.
It is working smoothly, no problems.
Few tips to save you time:
Backup your workspace (just in case) - personally didn't use this back.
Once you open the new eclipse.exe it will ask you to select a workspace - just brows to your ols workspace and it will import all your projects (no problems).
In order to save time of download and install of the SDK again, I Cut & Paste the OLD SDK library from the previous bundle directory to the new one (Close your new Eclipse first).
When you re-open Eclipse, you may receive an error message saying that Eclipse can't find the SDK directory. It will ask you to open "Preferences". Once open, browse to the new SDK directory (the one that you just copied). Doing this will save you hours of re-installing all the SDK updates that you did on the previous Eclipse.
Have fun, it is really not a big deal.
I have updated the Android SDK and I have installed API 17. I also updated the ADT Plugin to 21.1.0. However I'm facing a problem : when I open eclipse a message keeps appearing :
The Android SDK requires Android Developer Toolkit version 21.1.0 or
above. Current version is : 21.0.1.v201....(& another numbers..).
Please update ADT to the latest version.
I click Check for updates --> Then appears a message :No updates found
And another message appear: No repository found at jar:file:/C:(...)/ADT-21.1.0.zip!/.
I cannot start the avd because all the applications have errors.
I also tried to install it manually by downloading the zip file ADT-21.1.0 -> Help -> Install New Software... -> Add -> Archive....(this is the way that I updated the Plugin in the first place) , but it says that everything is updated !!
Any ideas? Thanks.
I do not know the reason but the following helped me in the same situation.
Go to Help -> Install New Software
Use (add if not exist) Android Developer Tools Update Site (http://dl-ssl.google.com/android/eclipse/)
Uncheck "Contact all update sites during install to find required software" option
I had this problem before - Solved it by using an updated Eclipse with a new installation of the ADT (installing it like Serkan has suggested, instead of using the Marketplace).
https://dl-ssl.google.com/android/eclipse/
The Site is https not http. So make the necessary change, it should work
The problem is it is looking for an update repository which does not exist on your c drive.
It got stuck on c because you loaded a zip.
fix by going to help software install then click available software sites and remove your local drives.
Today I installed API8 from the SDK manager, previously I only had been working with API14. After the SDK manager was done, and upon restarting ADT I got this error:
This android SDK requires Android Developer Toolkit version 21.1.0
and above. Current version is 21.0.1.2012-12-6-2-58.
So I click to find updates but I get "no updates found".
I did the following:
Used the SDK manager to re-install android SDK tools (rev 21.1).
Used the SDK manager to re-install API8 and API14.
Still no go :(
I had the same issue. Please try the following in eclipse
Help --> Install new software
Then choose "Android Developer Tools Update Site - http://dl-ssl.google.com/android/eclipse/" from the drop down list and update the ADT
IF THIS THROWS ERROR Like this
No repository found containing: osgi.bundle,com.android.ide.eclipse.adt,21.1.0.v201302060044-569685
Modify http: to https:
Sample : https://dl-ssl.google.com/android/eclipse/
And then update ADT. This method worked for me.
You get that issue when your eclipse ADT plugin version doesn't match your SDK tools version.
Have you tried updating the ADT plugin in eclipse?
Help -> Install New Software and then using the ADT update site should work.
If you get a No Respository Found error using this site, you should use the HTTPS version instead.
If you're still having trouble getting it to install, you can download the zip standalone and manually install it. You can find the latest zip and installation instructions at the ADT troubleshooting page.
If problem in "http".
1) Help --> "Install new software" --> "Available Software Sites"
2) Click on "Android Developer Tools Update Site"
3) Click "Edit"
4) Mofify "http" to "https"
5) Click "Ok" --> "Ok"
6) Try update again.
I tried all methods mentioned here, but still without success.
What finally helped was the tip from No repository found error in Installing ADT in eclipse Indigo:
Uncheck “Contact all update sites during install to find required software”
you Should Update your ADT to Latest Version by below way.
Eclipse--> Go to Help--> Install New Software --> Add--> Inside Add Repository
Write Name="ADT"(as you want) and
Location="https://dl-ssl.google.com/android/eclipse/" --> after
loading some times you will get Developer Tools & NDK Plugins-->
checked both if you want to install Use NDK as future Use or checked
only developer Tool--> click Next--> Finish.
After this you can Update your SDK to latest Version.
Hope it will Help.
Got this one too, going from ADT 22.3 to 23.
Not sure what's keeping Eclipse from finding the updates (maybe some IDs changed or something), but the solution is to install the ADT plugins over the existing ones using Help -> Install New Software, just select the same site, no need to correct the URL from https to http or vice versa. The wizard will tell you there are a bunch of conflicts that'll result in removing the old versions of the plugins -- that's ok, go for it.
UPD Seemingly, (as at least one person downvoted the answer), installing new version over old one forcefully doesn't work for everyone. Here's the related bug where it's said that the old installation of Exclipse/ADT is hopelessly unupdatable and one should just download the new bundle to resolve this.
PS Anyway, you should be using Android Studio by now. Compared to Eclipse, it's a memory hog and has a very different feel to it and different hotkeys, but (as much as I hate to say it having been a snuggled up Eclipse user for a long time) it's way better, at least for Android development.
Same issue here, but luckily it is resolved now. The help->install new software and the android tool manager didn't help.
I re-downloaded the ADT bundle and simply copied over the failing installation, it works now.
I had the very same problem last weekend. Go to Help->Install new Software. Here use Android Developer Tools Update Site url - http://dl-ssl.google.com/android/eclipse/, two options should appear and I can't remember which one to choose ;) (It should be the one with DEV)
I don't think it is necessary but before I removed and downloaded the whole Eclipse with ADT. But it should not be necessary.
I am installing the Android SDK along with Eclipse in mac os. Whenever I try to start a new project development I get an error location of the android sdk has not been setup in the preferences
How do I resolve this problem?
Hi try this in eclipse: Window - Preferences - Android - SDK Location and setup SDK path.
I got this message after updating eclipse platform-tools and tools from the SDK Manager and then it was impossible to update the SDK path because I had an old version of ADT plugin.
Whenever you get this error message in a prompt right after eclipse loaded, you should do the following:
Go to Help - Install new software
Click on Available software sites
Delete the link http://dl-ssl.google.com/android/eclipse/
Reboot eclipse
Go to Help - Install new software
In the box "Work with" add http://dl-ssl.google.com/android/eclipse/ again
Install ADT and accept whatever that prompts.
This is how my problem with this message got solved.
I saw this error after updating the Android SDK to r17. The solution was to go to Help -> Update and get the latest version of the Android SDK to match.
I experienced this problem and fixed it by updating to the latest Android SDK Tools which in my case was 20.0.3
I am running Mac OSX Lion 10.7.4
If ever you encounter errors while updating the SDK Tools try deleting
http://dl-ssl.google.com/android/eclipse/
from the "Available Software Sites" in Eclipse, and adding it again.
If you have not installed plugin for eclipse, install it first.
If the plugin is installed, setup preferences: "Eclipse">"Preferences...", in left column choose "Android"(do not expand list, just choose root element), and first preference will be "SDK Location".
I've had the same problem on Eclipse Juno.
No "Welcome page" appeared, I could not create a project, compilation didn't work and "Graphical layout" didn't work.
I have fixed it:
Window > Preferences > General > Startup and shutdown:
Check "Android development toolkit"
Reestart Eclipse.
Of course you have to be configured this:
Window - Preferences - Android - SDK Location and setup SDK path.
Simply create this folder:
C:\Users\xxxxx\android-sdk\tools
and then from Window -> Preferences -> Android, put this path:
C:\Users\xxxxx\android-sdk
I had the same problem when I was trying to upgrade from ADT 20.0.x to ADT 23.0.x on Eclipse Indigo.
To fix the issue, I had to uninstall the ADT plugin (remove feature) from Eclipse, then reinstall the newer versions.
This maybe done by going to Help->Install New Software. Then at the bottom of the page, click What is already installed?
All what is left now is to install the newer versions as usual from help->Install New Software.
there are many things which can cause this error. For example, I
imported google api from the android SDK Manager and that is when I
got this same error. Eclipse broke down on me. I could not even create
a new android project.
To fix this, I went to help - Install New Software... - from the "work with"
drop-down box I selected http://dl-ssl.google.com/android/eclipse/ -
I then check marked "Developer Tools" and hit the Next button.
I then followed the prompts and it basically did a re-install. It took less
than 5 minutes. That resolved the error.
Now Im back up and running, and I got the lastest version of Eclipse.
i tried everything/....but only this thing worked for me:
To fix this, I went to help - Install New Software... - from the "work with" drop-down box I selected http://dl-ssl.google.com/android/eclipse/ - I then check marked "Developer Tools" and hit the Next button. I then followed the prompts and it basically did a re-install. It took less than 5 minutes. That resolved the error.
Now Im back up and running, and I got the lastest version of Eclipse.
Thanks a lot Nadir
Hope this helps:
Step 1.) Go to https://www.eclipse.org/downloads/index-developer.php?release=kepler and download appropriate Eclipse version.
Step 2.) Extract downloaded zip file in appropriate location. In this tutorial, I have downloaded and installed it under program files.
Step 3.) Right click on eclipse.exe file and send shortcut to desktop.
Step 4.) Double click on eclipse shortcut from desktop and select appropriate location to create your workspace.
Step 5.) Navigate to Window > Preferences. This should open Preferences window.
Step 6.) On the left hand side page expend “Java” and click on “Installed JREs”
Step 7.) Click Add. It will open “Add JRE” dialog. Select “Standard VM” and click Next.
Step 8.) For “JRE home” select “Direcotry…”. This will open “Browse for folder” dialog. Select the location where your JDK is installed. NOTE: MAKE SURE THAT ITS x64 AS WELL, AS WE ARE USING 64-BIT VERSION OF ECLIPSE.
Step 9.) If you have selected proper location, it will show JDK version in JRE name and it will display “JRE system libraries”.
Step 10.) Click finish. Now your JDK is properly pointed as “Installed JREs”.
Step 11.) Select checkbox unchecked before name of your JDK name.
Click ok and you’re done. You are now using JDK as “Installed JREs”
Read complete procedure at below location.
https://softwaretestingboard.com/qna/4/how-do-i-map-android-sdk-after-eclipse-plugin-is-installed#axzz4wM3UEZtq
You can find the Android SDK path by running the SDK Manager. Once the window comes up the path is displayed at the top. For me it was hiding in AddData (Windows). You can then set the path in Eclipse by going Window > Preferences > Android > and set SDK Location.
If you already installed in your eclipse you can solve this problem below,
Go to Windows -> Install New Software and find your android plugin address
Check all lists and re-install your android plugin for eclipse
I solved it like this
It is very irritating problem... i found one simple solution...that is
eclipse->help->Install new software
now u see "work with"field...below this fields u observe on link called
"available software sites"...click on this link..then open one window...here u find out some location address..... delete wrong locations and then add perfect location to install/update location. then click on ok button... then ur problem is solved....
This problem seems to arise from new versions of android sdk the solution that worked fine for me was to go to help->check for updates and let that finish once all software in eclipse updated it all seems to work fine. I was using juno and the latest sdk, which I upgraded outside eclipse.
i was facing the same problem.
the solution is...Copy the link http://dl-ssl.google.com/android/eclipse/
then in eclipse go to
Help > Install New Software > Add(work with) > past the link on locations > ok > select all > next
this will solve your problem.
If you already setup location in preferences, but see that error, try to create folder "add-ons" in your sdk folder
had the same problem in windows, the reason is always displayed at the top of the window(where you browse for the location)
Here is, how I've handled this issue (Mac OS X 10.8.4):
1) Because I previously have installed Android Studio the sdk located here:
Applications/Android Studio.app/sdk
You can dig into Android Studio.app folder by hitting "Show package contents" in context menu
2) Simply copy the "sdk" folder to another location and write it down to Eclipse preferences.
Because I couldn't find how to properly add adress like "/Android Studio.app/sdk" (folder with .app extension) to Eclipse preferences.
I know that this solution is not smooth and best, but it works (at least for me). And I've tried all advices in this theme, and installed the ADT from http://dl-ssl.google.com/android/eclipse/ before, but the error window have kept appearing every time.
I had the same problem: when click on the "Opens the Android SDK Manager", a pop out error message says “Location of the Android SDK has not been setup in the preference”.
The delete and add again update address in "install new software" doesn't work for me.
I went to the ../android/android-sdk-windows and click the SDK Manager.exe. This works for me.
So I think after I updated the SDK, the eclipse cannot trigger the SDK Manager currently. But it can run by itself outside of eclipse.