I've somehow managed to mess up my Eclipse and Android set-up and I'm not sure how to fix it. The symptoms of the problem are as follows:
In Preferences > Android, I try to select the location of android-sdk-linux, when select the error appears "This Android SDK requires Android Developer Toolkit version 20.0.0 or above. Current version is 18.0.0.v201203301601-306762. Please update ADT to the latest version."
Going to Help > Check for Updates in Eclipse, returns no updates found
Going to Help > Install new software and selecting work with ADT Plugin - https://dl-ssl.google.com/android/eclipse/. Selecting Developer Tools and next, returns
Cannot complete the request. See the error log for details.
"Android DDMS" will be ignored because it is already installed.
"Android Development Tools" will be ignored because it is already installed.
"Android Hierarchy Viewer" will be ignored because it is already installed.
"Android Traceview" will be ignored because it is already installed.
"Tracer for OpenGL ES" will be ignored because it is already installed.
If I then take a look at what is already install, Android Development Tools is listed and the version is 20.0.0.v201206242043-391819
Now for the interesting part:
If I go to Help > About > Installation Details > Features is lists Android Development Toolkit as Version: 20.0.0.v201206242043-391819 but if I then go into Plug-ins it lists Android Development Toolkit as Version: 18.0.0...
Sorry for yet another question on updating the ADT as there already seem to be quite a lot of questions on the topic but I've tried the typically solutions and they does seem to be getting me very far
Some extra info, that people often ask for
OS: Ubuntu 12.04 LTS
Eclipse Platform: Version 3.7.2
In your installed folder of eclipse there is a folder named plugins.
Do the following:
Find the plugin file/folder of Andriod SDK and move it to some other folder for backup.
Download from Android site the latest version of Android SDK
Copy/paste it in your plugins folder
Restart eclipse
And everything should be fine.
Try using http://dl-ssl.google.com/android/eclipse/ instead of https://dl-ssl.google.com/android/eclipse/
In the end, I just couldn't fix it so I complete uninstalled it and set it back up again from scratch, thanks for your help
Run software updates in Eclipse (Help > Check for Updates) and update the ADT.
I know I'm late to the game on this one, but I figured I would contribute since I ran into the same problem myself. In order to check for installed plugins in Eclipse, do the following.
From the Eclipse Preferences Menu..
-Select "Install/Update"
-From the General Menu, There should be a link button that says "Uninstall or Update"
This should take you to a prompt that will allow you to uninstall anything you've added onto your Eclipse setup!
Go to the below site
https://developer.android.com/sdk/installing/installing-adt.html
and download ADT-22.3.0.zip from the site.
then follow the procedures mentioned there..
uncheck "Contact all update sites during install to find required software"
see: Can not install Android ADT 21.1 on eclipse Juno (Windows 7) after upadate to SDK 21.1
After updating the Android SDK Tools to the latest version from the SDK manager, do the following:
Go to Eclipse->Help->Install new software
Type https://dl-ssl.google.com/android/eclipse/ in the "Work with" Text box
From the list, select all and then click next
Now Eclipse will prompt you that in order to install these new software, Eclipse will uninstall the old version (in this case Android Developer Tools), click on next, read and accept the license and wait for it to download
Restart Eclipse and everything should be working fine.
Related
I just downloaded java JDK 8 and set the environment variables for JDK and JRE, downloaded android SDK extracted them directly to C: (there were no platform tools so I used the command line to download them) and also set the environment variables. And I downloaded eclipse oxygen and I installed new software for ADT Plugin. When I set preferences I referred to the SDK folder and hit apply but nothing seems to happen like no SDK targets are listed. Hhuhuhuhuhuhuhu T^T I have deleted everything from Java, SDK, eclipse and downloaded them all again while disabling my antivirus but that didn't fix it. I also cant open my Android SDK Manager using eclipse, like it shows that it's loading but after that nothing happens even if I wait for 10 mins nothing shows up on screen, not even the command line that seems to just flash briefly which is what most people are having problems with when I search google. Can someone please tell me what to do?? I'm mainly using eclipse for android projects in school
By the end of 2015, Google ended the development and official support for the Android Developer Tools (ADT) in Eclipse.
As stated by Google, every app development project should be migrated to Android Studio.
So you should migrate your eclipse project to android studio.
I've tried building the CSEmptyTemplate project in eclipse for android but have run into a host of issues with it.
Looking at the documentation, it doesn't appear as if it should be this difficult.
Firstly, I've installed cygwin and installed the devel package to get make.exe and gcc compilers. I'm also using cygwin as part of the tool chain.
However, the error I keep getting is 'make: *** No rule to make target `all'. Stop.'.
Any advice on fixing these issues would be appreciated.
edit: Found the make files. I was just an idiot last night when working on this.
There shouldn't be any additional steps required to build Chilli Source for android on windows, just the simple steps listed on the website here: http://chilli-source.chilli-works.com/docs/?page_id=67
However setting up the Android Development Tools with the NDK can be a bit of a pain. Judging by the error your getting my gut feeling is that something isn't set up correctly there.
Chilli Source requires the latest versions of the SDK, NDK and ADT. Can you ensure you have:
Android API level 21.
The latest versions of the Built Tools, Platform Build Tools and Google Play Services.
NDK revision 10c.
The latest ADT is also missing a couple of things that means it can't be used out of the box.
It doesn't come with the native dev tools which can be acquired by doing the following:
Go to "Help" then "Install New Software..."
Select "Android Developer Tools Update Site - https://dl.google.com/android/eclipse". You make have to edit it to instead point to https://dl-ssl.google.com/android/eclipse
In Developer Tools select and install Android Native Development Tools.
It also doesn't come with ant. This isn't causing your issue, but it will cause issues later on, so get it following these steps:
Go to "Help" then "Install New Software..."
Select "Juno - http://download.eclipse.org/releases/juno"
In General Purpose Tools select and install Eclipse Plug-in Development Environment.
Now that you've got everything required, ensure that you've got it set up correctly:
The correct version of the SDK selected the Android tab in preferences.
The correct version of the NDK selected in the Android/NDK tab in preferences.
Android 5.0 selected in the Android tab in Project Properties.
Finally, on windows you also need Cygwin. It's been a while since I've used it (I'm not a fan of cygwin so I do my Android development in a Ubuntu virtual machine) but only the "devel" package is needed iirc, so make sure you've at least got that.
Hopefully ensuring all of that is set up correctly will fix your problem!
I tried to use the new android L theme , therefore I updated the sdk, and then I came with an error that my ADT isn't matching to the SDK , tried to update but I got an error, so now im without Eclipse, without ADT , without SDK and without JDK, trying to install the ADT 23 bundle and its seems not to work.. Can someone guide me how to install the Eclipse? I don't know what to install first, what after, and I don't know how to download the files also.. I got Windows 7, 64 BIT..
I read about it a little bit trying to fix it.. someone said to me the problem is in the new sdk update, so I downloaded the old one :
android-sdk_r22.6.2-windows...
how can I install it with Eclipse and Jdk? ty
Aor android L or android 5.0, you need JDK 7 or higher
Steps for updating Eclipse:
Download Eclipse from the official site
Download and install JDK latest version
After installing the eclipse, go to 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.
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.
9.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 tried to install adt 23.3.0 in Eclipse Kepler, but I have a problem. I tried every thing such as run as administrator or uncheck contact all update sites ... But I still have the same problem. I use Windows 8.1 and the error is:
Cannot complete the install because one or more required items could not be found.
Software being installed: Android Development Tools 22.3.0.v201310242005-887826
(com.android.ide.eclipse.adt.feature.group 22.3.0.v201310242005-887826)
Missing requirement: Android Development Tools 22.3.0.v201310242005-887826
(com.android.ide.eclipse.adt.feature.group 22.3.0.v201310242005-887826) requires 'org.eclipse.wst.sse.core 0.0.0' but it could not be found
I'm not exactly positive about this but since this question has received very little attention I figured any answer is better than no answer.
From what my understanding it is done differently in Eclipse Juno which you do from within Eclipse.
Instead you have to download the Android SDK separately and then set the SDK path in preferences...
window>preferences>Android>sdk location.
Make sure to create a folder in the same directory as Eclipse so Eclipse can easily locate the sdk. Hopefully this helps
im starting developing android applications and i learned from a Hello World tutorial. but when im running it this comes to the screen
Launch configuration ANSIBuffer references non-existing project Basic.
Please, help me and tell how i can run a android application.
Thanks
I would recommend downloading the official adt (android development tools) plugin for eclipse. You can find instructions on how to do that here: http://developer.android.com/sdk/eclipse-adt.html you need to make sure that you have the most recent version of android sdk installed before you do that. Instructions on how to install that are here (this includes a eclipse tutorial): http://developer.android.com/sdk/installing.html
I believe that that is all you need. Just ask if you need more help!
I did a guide once for a course, but it is in spanish:
http://otfusion.org/android/ (look for day 2)
But basically the guide is this:
Download JDK from here: Java SE - Oracle
Download Android SDK (.zip format, just unzip it in C:\android-sdk or if you are in *nix /home/user/android-sdk) from here: Android SDK - Developer Guide
Start ~android-sdk/tools/android and download your desired android target (eclair, donut, honeycomb, etc)
Download Eclipse for Java Developers* (as far I know, the latest eclipse WORKS on my notebook) from here: Eclipse - Indigo
Install eclipse in a readable/writable location like /home/user/bin or /opt/eclipse but give permission to the file - chown -r user:users /opt/eclipse (in Windows you must not have problems) otherwhise you will have problems.
Install ADT Plugin just add this site in Eclipse "Add Software" option (Help menu) https://dl-ssl.google.com/android/eclipse/
Restart Eclipse
Start one AVD and initiate your project using the Run button (As Android project) or whatever hotkey you use.
Also, Installing guide from developer.android.com Troubleshooting
*Note: Classic didn't work for me