..I was trying to install the Google Cloud Messaging for Android Library, from the Extra in Android SDK Manager.
Since it did not appear, I updateded the Android SDK Tools and the Android SDK Platform-Tools to the last release (as shown here: How Google Cloud Messaging Service in Android Works?).
Once updated both, I still could not find any Extras--> Google Cloud Messaging for Android Library (just "Intel Hardware Accelerated Execution Manager"). So I updated Eclipse (version 3.6) too (Help->Check for Updates), but nothing happened except for the fact that the ADT plugin was not there anymore: no Android menu under Preferences, no possibilty to create Android projects and so on.
I uninstelled the plugin, removed the files from the plugin directory, installed another version of Eclipse (3.8) with the addition of the plugin but nothing changed.
Any ideas?
I'm working on a Mac OS X Leopard.
The problem was that the new ADT Plugin (v20) requires Java 1.6.
So, first of all, I had to change the Java Preferences, bringing up the 1.6 Java version.
Then, since my Eclipse was set for Java 1.5 32 bit, I had to download the 64 bit Eclipse release (because my 1.6 Java version was 64 bit).
And everything worked again.
Hope this can help.
Beginning with ADT 17 "Java 1.6 or higher is required for ADT 17.0.0."
http://developer.android.com/tools/sdk/eclipse-adt.html
Related
I am using eclipse kepler version and latest ADT plugin. But when i tried to create an android project it is not creating the blank activity and layout file. I could see the same question asked many times. In all those links the answer is given like Help->install new software-> https://dl-ssl.google.com/android/eclipse/.But when i tried this it is displaying like everything is already installed. So i need a proper solution.I am stuck with it. Please do help me.
I got the same problem as you
and I found this
ADT 23.0.4 (October 2014)
Dependencies:
Java 7 or higher is required if you are targeting the L Developer Preview.
Java 1.6 or higher is required if you are targeting other releases.
Eclipse Indigo (Version 3.7.2) or higher is required.
This version of ADT is designed for use with SDK Tools r23.0.2. If you haven't already installed SDK Tools r23.0.2 into your SDK, use the Android SDK Manager to do so.
so...I delete the newest version of SDK Tools 24.0.1
download and install older version SDK Tools r23.0.2
http://dl.google.com/android/installer_r23.0.2-windows.exe
it works for me....
I tried to download the Development tools for the Android SDK last night and have been getting this error every time I try to download it ever since:
Cannot complete the install because one or more required items could
not be found. Software being installed: Android Development Tools
16.0.1.v201112150204-238534 (com.android.ide.eclipse.adt.feature.group 16.0.1.v201112150204-238534)
I've tried running Eclipse as an administrator, downloading the Google Plugin for Eclipse Galileo, and many assortment of things, but nothing seems to work. Is there a Google plugin for 4.1.0, would I have to reinstall an earlier version of Eclipse, or am I missing something else entirely?
NB: I've been using Windows 7 64-bit Eclipse 4.1.0, as well as the 64-bit version of JDK 1.7.
android sdk dosen't support JDK 1.7, use 1.6.
you should use Eclipse 3.7. Eclipse 4.* is a work in progress and shouldn't be used in production environments yet.
You did not mention anything about the Android Development Tool (ADT) which is required to develop Android apps.
You can get it from here, http://developer.android.com/sdk/eclipse-adt.html
You will need Android SDK r16
Does my answer to this question help?
Also note that there have been some documented bugs with running Eclipse in JDK 1.7 - make sure you have the very latest updates to JDK or use 1.6 instead.
I have successfully installed Level 13 (3.2) during the Android SDK installation, but chose not to include any earlier levels at that time.
I now would like to install 2.2 or 2.3, but in the SDK / AVD manager I get the message:-
Failed to fetch URL
https://dl-ssl.google.com/android/repository/addons_list.xml, reason:
File not found
I've looked this up in other posts and so run the SDK manager with Administrator permissions, and have turned off the firewall. Eventually, it comes back with SDK tools revision 15, and SDK PLatform tools revision 9 only.
Should I have installed earlier packages during setup?
Would an uninstall / reinstall cure this behaviour? (Reluctant to do
this :-( for obvious reasons)
Is it possible to get earlier levels having installed just level 13?
Any help would be greatly appreciated. Thanks for looking.
Old Android SDK tool (r13 and earlier) fetch/download available SDK from here repository, after google release r14 and r15, they remove all SDK verion and only leave r15 in this URL, that means they want you use the latest SDK tool r15.
New Andorid SDK tool (r14 and r15) fetch/download available SDK from a new URL repository-5, which contains everything downloadable.
If you are not using anything else like Maven (currently incompatible with latest ADT) with your project, the simplest answer is upgrade both your Android SDK tools and ADT Eclipse plugin.
I just setted up my android environment yesterday - try to download the package manually and load them as Archive files, this worked for me! ;)
I have installed the latest android sdk (android-sdk_r10-windows.zip), latest eclipse helios (eclipse-jee-helios-SR2-win32.zip) and latest adt plugin (ADT-10.0.1.zip). Below is the listing for the installed packages of my android sdk:
Android SDK Tools, revision 10
Android SDK Platform-tools, revision 3
Documentation for Android SDK, API 11, revision 1
SDK Platform Android 3.0, API 11, revision 1
Google USB Driver package, revision 4
I did also edit my Windows path environment variable to include the path to adb.exe and set my android sdk location in eclipse preferences accordingly.
Everything looks perfect until I try to import a sample project (by phonegap). There is a console message telling "Failed to parse the output of 'adb version'".
I have been googling around since yesterday. I just wonder if anyone did manage to get all these (eclipse 3.6.2, android sdk r10, adt 10.0.1) click together.
By the way, I find that there is also no way for us to fall back to earlier combination of eclipse, android sdk, and adt plugin. In my case, I managed to get an earlier android sdk (android-sdk_r09-windows.zip) and adt 9. But when I tried to install the basic packages online, I was hit by this error:
"Failed to fetch URL https://dl-ssl.google.com/android/repository/repository.xml, reason: Connection timed out: connect"
Earlier android sdk and adt plugin is not available; latest android sdk and adt plugin is not capable.
Many thanks for help on this.
Start Here: http://developer.android.com/sdk/eclipse-adt.html
Head over to the installing URL: http://developer.android.com/sdk/eclipse-adt.html#installing
Look at the path for the download: http://dl.google.com/android/ADT-10.0.1.zip
Substitute the version you want in that link:
ADT 10.0.1: http://dl.google.com/android/ADT-10.0.1.zip
ADT 10.0.0: http://dl.google.com/android/ADT-10.0.0.zip
ADT 9.0.0 (Dead Link): http://dl.google.com/android/ADT-9.0.0.zip
ADT 9.0.0: http://dl.google.com/android/ADT_9.0.0.zip
ADT 8.0.1: http://dl.google.com/android/ADT-8.0.1.zip
ADT 8.0.0: http://dl.google.com/android/ADT-8.0.0.zip
ADT 0.9.9: http://dl.google.com/android/ADT-0.9.9.zip
ADT 0.9.8: http://dl.google.com/android/ADT-0.9.8.zip
ADT 0.9.7: http://dl.google.com/android/ADT-0.9.7.zip
ADT 0.9.6: http://dl.google.com/android/ADT-0.9.6.zip
ADT 0.9.5: http://dl.google.com/android/ADT-0.9.5.zip
ADT 0.9.4: http://dl.google.com/android/ADT-0.9.4.zip
Given that the 9.0.0 link swapped a '-' for a '_' in the path, it looks like some poor soul is doing these builds by hand. Too bad directory browsing isn't available for these. Anyway, hope this helps someone in the future.
You can change the url from https://dl-ssl.google.com/android/repository/repository.xml to http://dl-ssl.google.com/android/repository/repository.xml and try again.
You can check the project you are trying to import for settings which are not campatible with your Eclipse or SDK version.
The eclipse version should be fine. You should focus on the SDK version. many have had trouble on Windows with rev 10. You can install and use all the previous versions of Android SDK easily as long as the url you're using is correct.
I finally got all these click together already. It is actually due to the antivirus/firewall program. It is indeed nothing wrong with eclipse, adt plugin or android sdk. Just make sure that android executables is not blocked from running. Anyway, big thanks to those contributed to this post.
I tried to install Android SDK plugin on my existing Eclipse Classic 3.6.0 (Helios). I managed to do everything else, but when I try to add components using Android SDK and AVD Manager in Eclipse, whole Eclipse just crashes.
Anyone have any idea what's going on?
Eclipse Crash Log on pastebin.com
NOTE: there is NO date shown on this page( Currently 2010 Nov )
This page states,
http://developer.android.com/sdk/requirements.html
System Requirements
Supported Development Environments
Eclipse IDE
Eclipse 3.4 (Ganymede) or 3.5 (Galileo)
Caution: There are known issues with the ADT plugin running with Eclipse 3.6. Please stay on 3.5 until further notice.
ALSO NOTE
looking at your pastebin.com post
you PATH variable is corrupt
As of Feb 2013, using Android Dev Tools (Android SDK and Eclipse), build v21.0.1 - the AVD Manager crashed repeatedly using JDK v7x. Using JDK v6x resolved the issue, able to setup virtual devices now.