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....
Related
I am trying to get the android simulator working in Appcelerator's Titanium Studio on Windows 7, but it is not compatible with the latest Tools version (23) due to android issue #66740. However I can't seem to find a way to install Tools version 22.
I used the Google installer from here: http://developer.android.com/sdk/installing/installing-adt.html
After installing if I run titanium setup check in the cmd window it says that the tools is unsupported version 23.0.2 and platform tools is unsupported version 20.
According to the Titanium Docs I need Tools version 22 and Platform Tools version 19. I can't figure out a way to get earlier version of either, I can only install earlier versions of the Build-tools and SDK.
Well, you could use direct link, like http://dl.google.com/android/android-sdk_r21.1-windows.zip - here is tools revision 21.1 with platform tools revision 19 (if you will download revision 22, just change the number; it will have r20 platform tools).
You could find more in official documentation of Titanium: http://docs.appcelerator.com/titanium/3.0/#!/guide/Installing_the_Android_SDK)
Or, you could just use tool right in Titanium: Go in dashboard, in "get started" click on "Android SDK->Install or Update Android SDK", as seen in picture [1]. Then unhide settings, select empty folder to installing sdk, and versions of Android [2]. It will install, and it should work.
Sorry, couldn't post images so far, so here:
(1): i.stack.imgur.com/bHHx5.png
(2): i.stack.imgur.com/mXQwH.png
Go to android sdk manager and download all the versions you want to do
http://developer.android.com/tools/help/sdk-manager.html
Thanks
I had the same problem. Eventually I have found the bug report that referred to it: TIMOB-17221. The bug is marked as fixed in SDK 3.3.0, but that version of SDK has not been released yet, so I was stuck again.
Then from Appcelerator's Wiki I found out that there is a Titanium CI builds page. Download 3.3.0 from there, install and everything should start working again. At least it did for me. Good luck!
I can't install the adt plugin for eclipse.It says "Plugin is already installed" but I can't use.
Here you can see:http://prntscr.com/3zbzi4
Ps:Also I can't delete the plugin it's giving error.
I had a similar problem once i updated versions via SDK manager. It required ADT version 23.0 and above, and couldn't install them via install new software. I managed to delete ADT but that couldn't launch eclipse after to download v23.0.
I solved my problem via downloading lastest version of bundle from site.
http://developer.android.com/sdk/index.html
P.S. Try de-selecting Android Hierarchy Viewer and install rest. If others also cause similar problem, re-installing will probably be simpler option
I had this problem, and the only way I could get it to work again was to reinstall eclipse.
So I installed the latest eclipse, bundled together with ADT, works great.
I couldn't find the bundle maybe it doesn't exist anymore, but still, it's a bad answer i know, but reinstall works :/
Found the link: http://developer.android.com/sdk/index.html
My experience is that if you have installed or updated the SDK then your ADT may not be compatible with your updated SDK.
For example -
When I installed 23.0.0, it wasn't installed because of dependencies,
ADT 23.0.0 (June 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.0. If you haven't already installed SDK Tools r23.0.0 into your SDK, use
the Android SDK Manager to do so.
SOURCE: http://developer.android.com/tools/sdk/eclipse-adt.html
Also, many problems were solved by doing the following steps for the ADT 23.0.2 -
update-eclipse-with-android-development-tools-23.
I had this as well after upgrading the SDK manager and build tools etc.
I had to remove Eclipse from my PC and then re-download a fresh copy of the Eclipse and ADT Bundle from http://developer.android.com/sdk/index.html
I resolved this problem.
1)Uninstalled adt bundle then downloaded latest version.
2)Downloaded latest eclipse standart from eclipse site
3)Opened eclipse standart and changed workspace to C:\users....\workspace2
4)Installed latest ADT plugin from Help->Install New Software
And problem is resolved.
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.