No "compile with" option when creating a new android application? - android

No "compile with" option when creating a new android application?
Software : Eclipse IDE for Java Developers
Version: Indigo Service Release 2
Build id: 20120216-1857

This issue has been often occurred by Many People.
Solution is
Update ADT plugin and then SDK tools and after when you will try to create a new project, the error will not occur
Eclipse--> Help-->Install New Software-->What is already installed?
Then, Select "Android DDMS, Andoid Devlopment Tools,Android Hierarcy Viewer, Android native Development Tools, Android Traceview, Tracer for OpenGL ES" and click Uninstall.
After all this step, try Add link (https://dl-ssl.google.com/android/eclipse/) and name is ADT Plugin. This link will get the latest ADT Plugin. In this way you reinstall the ADT.
Eclipse will restart and hopefully everything should work fine for you.

Related

Install Android ADT in Eclipse Show errors

When I'm trying to install Android ADT in Eclipse it gives errors.Plese some one help me to resolve this issue.I had been stick here for a long time.
this is the shown error.
Cannot complete the install because of a conflicting dependency.
Software being installed: Android Traceview 23.0.7.2120684 (com.android.ide.eclipse.traceview.feature.feature.group 23.0.7.2120684)
You should be using Android Studio as Eclipse is no longer supported by Google for Android development. This link will provide you with all you need to get started with Android development using Android Studio. The UI is similar but this is now the official IDE for Android development.
Android Studio
But if you must use Eclipse
You should remove old adt before install new one.
Eclipse-->Help-->About Eclipse---->Installation Details
Select - Android DDMS, ADT, Android Hierarchy Viewer, Android Native
Development Tools, Android TraceView and Tracer for OpenGL ES
packages.
Uninstall all the plugins selected above.
Restart Eclipse
Install ADT from update site -
https://dl-ssl.google.com/android/eclipse/

Version of Eclipse for Android Development

I'm having trouble choosing version of Eclipse for Android development. I downloaded Eclipse Mars 1, and it does not show ANDROID NEW so I have to know now what I download.
I have read a few sites online and they said that you go to File > new > Project > Android.
I'm using Eclipse mars 1 just to know.
I did not have that so that is why I need to know what I need to use and I do not want to use Android Studio. Is it just Eclipse that I need or a plugin also that is needed. So which version of Eclipse should I use?
Eclipse require ADT plugin to support Android development.
ADT 23.0.7 (August 2015) requires Eclipse Indigo (Version 3.7.2) or higher is required.
But the ADT plugins are no longer supported by Google.
Support for the Android Developer Tools (ADT) in Eclipse has ended, per our announcement. You should migrate your app development projects to Android Studio as soon as possible.
So it's recommended to download Android Studios for Android development.
To code Android applications in Eclipse you need to install the Android ADT to the Eclipse you use ( In your case it is Mars) it is done through Help -> Install New Software, then in combo add "https://dl-ssl.google.com/android/eclipse/ " then select the "Developer Tools" and hit "Next" and then "Finish".
Then restart Eclipse and perform File > new > Project > Android, you will find it. For more info refer this site But I recommend you to shift to Android Studio as it the Official Android Development IDE now
Try following the instructions in the link bellow.
http://www.instructables.com/id/How-To-Setup-Eclipse-for-Android-App-Development/
I have figured out how to do it finally!!!
And i tried it twice
This is all you have to do download adt-bundle for windows max or what ever your using.
Inside there is a eclipse folder go in that and there you have eclipse.exe

Not able to update ADT

I get this error while installing the previous version.
An error occurred while uninstalling
session context was:(profile=profile, phase=org.eclipse.equinox.internal.p2.engine.phases.Uninstall, operand=[R]org.eclipse.rcp.configuration_root.win32.win32.x86 1.0.0.I20120608-1200 --> null, action=org.eclipse.equinox.internal.p2.touchpoint.natives.actions.CleanupzipAction).
Backup of file D:\ADT\android\adt-bundle-windows-x86-20130219\eclipse\eclipse.exe failed.
Can not remove : D:\ADT\android\adt-bundle-windows-x86-20130219\eclipse\eclipse.exe
Help-->Install New Software-->What is already installed?
Then, Select "Android DDMS, Andoid Devlopment Tools,Android Hierarcy
Viewer, Android native Development Tools, Android Traceview, Tracer
for OpenGL ES" and click Uninstall.
After all this step, try Add link
([https://dl-ssl.google.com/android/eclipse/][1]) and name is ADT
Plugin. This link will get the latest ADT Plugin. In this way you
reinstall the ADT.
None of the answers provided related to this issue solved my problem.
Eventually, I downloaded latest Android Studio and installed it. So far, extremely happy with its performance and features. I would recommend to install Android Studio.
You need a new clean Eclipse version. And then install ADT plugin.
It seems like adt update doesn't work
Eclipse
http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/mars/R/eclipse-java-mars-R-win32-x86_64.zip&mirror_id=576
ADT Plugin
https://dl-ssl.google.com/android/eclipse/
ADT SDK: the last one

Can't update ADT plugin in Eclipse to version 23.0.0 or above

I am beginner in Android programming. My problem is, that I can not update ADT. The problem started, when after a long time I have updated in Android SDK Manager the Android SDK Tools. Then I was trying to import a project into the workspace. But I couldn't import that, because every time I clicked the Finish button, nothing happened. Then I closed Eclipse and opened it again, and showed me the following error:
I clicked on the Check for Updates, but it didn't find anything. On the Internet I have found an URL, so I clicked Help-->Install New Software...--> Add--> and pasted this URL. When I clicked Next, it showed me the list of items which I wanted to install and also an error:
Cannot complete the install because of a conflicting dependency.
Software being installed: Tracer for OpenGL ES 23.0.0.1245622 (com.android.ide.eclipse.gldebugger.feature.feature.group 23.0.0.1245622)
Software currently installed: Tracer for OpenGL ES 21.0.0.v201210310015-519525 (com.android.ide.eclipse.gldebugger.feature.group 21.0.0.v201210310015-519525)
Only one of the following can be installed at once:
Tracer for OpenGL ES 23.0.0.1245622 (com.android.ide.eclipse.gldebugger 23.0.0.1245622)
Tracer for OpenGL ES 21.0.0.v201210310015-519525 (com.android.ide.eclipse.gldebugger 21.0.0.v201210310015-519525)
Cannot satisfy dependency:
From: Tracer for OpenGL ES 23.0.0.1245622 (com.android.ide.eclipse.gldebugger.feature.feature.group 23.0.0.1245622)
To: com.android.ide.eclipse.gldebugger [23.0.0.1245622]
Cannot satisfy dependency:
From: Tracer for OpenGL ES 21.0.0.v201210310015-519525 (com.android.ide.eclipse.gldebugger.feature.group 21.0.0.v201210310015-519525)
To: com.android.ide.eclipse.gldebugger [21.0.0.v201210310015-519525]
I have also read somewhere, that I should try to replace the plugins folder with the updated plugins folder so I tried to rename "plugins" folder in the Eclipse folder to "pluginsx" and pasted the new one I have downloaded from the site. After this I couldn't open the Eclipse.
This site is also about the same problem as I have, and there is an answer which is accepted as the solution of the question. So I tried also to download, and copy those 3 things to folders which were mentioned in the comment below, but I have still the same problem, nothing changed.
So now I don't have any idea, how to fix this problem. Can anyone help me, please?
Thanks in advance.
Help-->Install New Software-->What is already installed?
Then, Select "Android DDMS, Andoid Devlopment Tools,Android Hierarcy Viewer, Android native Development Tools, Android Traceview, Tracer for OpenGL ES" and click Uninstall.
After all this step, try Add link (https://dl-ssl.google.com/android/eclipse/) and name is ADT Plugin. This link will get the latest ADT Plugin. In this way you reinstall the ADT.
None of these "update" alone answers worked for me.
The solution I used is to uninstall the ADT (from Uninstalling Android ADT)
Help > About Eclipse > Installation Details
Select all of the Android modules (prefixed with com.android.ide...)
and delete them (Uninstall...) and re-add the libraries from the
help > Install new software
As listed above....
The only solution that worked to me was to download the current Eclipse ADT bundle from the Android site
After download it, I copied my current sdk to a folder like .../development/sdk. Then I deleted the sdk that came with this new Bundle.
I put ADT Bundle in .../development/adt-bundle-....
After start it, you jave to inform the new sdk location in Window > Preferences > Android, so in SDK Location you put the new sdk path. In my case: .../development/sdk.
Of course, you can put the sdk folder inside the new ADT Bundle folder, but I do this way, because I use Android Studio as well, so I point the two IDEs to the same SDK.
After finish this and be sure everything is working I deleted the old ADT Bundle folder.
I had the same issue and the following solution worked for me.
I had installed SDK Platform of M Preview while my ADT was of version 22.
So I just uninstalled SDK Platform of M preview and installed SDK platform of API level 22 from SDK Manager.
This worked for me.
this solution works.!!!!!!!
Open eclipse> Help>about eclipse>Installation
uninstall the component the are included to the .zip file you downloaded. download like below.
(credit to mr.zakimark
I found it simpler at times to first uninstall all the 7 components:
-Android DDMS
-Andoid Devlopment Tools
-Android Hierarcy Viewer
-Android Native Development Tools
-Android Traceview
-Tracer for OpenGL ES
-Google App Engine Tools for Android(If installed)
Then download the latest ZIP/Archive.
Install the Archive from Help->Install New Software->Add->Archive
Select the downloaded ZIP, provide a name for it and follow the standard installation process.
Installing ADT is a major problem specially when updating. Also sometimes it's just a pain to install ADT by providing the direct link. Often Eclipse will stall while displaying "Calculating requirements and dependencies".
I found it simpler at times to first uninstall all the 7 components:
-Android DDMS
-Andoid Devlopment Tools
-Android Hierarcy Viewer
-Android Native Development Tools
-Android Traceview
-Tracer for OpenGL ES
-Google App Engine Tools for Android(If installed)
Then download the latest ZIP/Archive.
Install the Archive from Help->Install New Software->Add->Archive
Select the downloaded ZIP, provide a name for it and follow the standard installation process.
I couldn't uninstall the old ADT plugins from the 'Help->Installation Details` page because the 'Uninstall...' button was disabled when I selected any of the modules.
Also, because the ADT bundle is no longer available to download, reinstalling was not an option.
What worked for me was to install the basic Eclipse environment using the Eclipse Installer from here. In the installer, I selected 'Advanced Mode...' from the hamburger menu, and then selected just the 'Eclipse Platform' to install, i.e. just the core tools. I think that this is only possible using the installer.
After eclipse was installed, I installed all the ADT plugins using 'Help->Install New Software' and using link https://dl-ssl.google.com/android/eclipse/.
YMMV, but this worked for me.

Error while updating ADT 23.0.0 in eclipse

I already have gone through this question but it didn't helped.
Update eclipse with Android Development tools 23
While starting eclipse it shows below error.
When I tried with Check for updates - it does nothing.
Then I tried
Help -> Install New Software -> "https://dl-ssl.google.com/android/eclipse/"
It shows below error
Cannot complete the install because of a conflicting dependency.
Software being installed: Android Native Development Tools 23.0.1.1256982 (com.android.ide.eclipse.ndk.feature.feature.group 23.0.1.1256982)
Software currently installed: Android Native Development Tools 22.6.3.v201404151837-1123206 (com.android.ide.eclipse.ndk.feature.group 22.6.3.v201404151837-1123206)
Only one of the following can be installed at once:
ADT CDT Integration 23.0.1.1256982 (com.android.ide.eclipse.ndk 23.0.1.1256982)
ADT CDT Integration 22.6.3.v201404151837-1123206 (com.android.ide.eclipse.ndk 22.6.3.v201404151837-1123206)
Cannot satisfy dependency:
From: Android Native Development Tools 23.0.1.1256982 (com.android.ide.eclipse.ndk.feature.feature.group 23.0.1.1256982)
To: com.android.ide.eclipse.ndk [23.0.1.1256982]
Cannot satisfy dependency:
From: Android Native Development Tools 22.6.3.v201404151837-1123206 (com.android.ide.eclipse.ndk.feature.group 22.6.3.v201404151837-1123206)
To: com.android.ide.eclipse.ndk [22.6.3.v201404151837-1123206]
Can anyone help me for this. Thank you.
Resolved!
Go to help--about eclipse
Uninstall DDMS,ADT etc
Go to install new software and using the link install them:- https://dl-ssl.google.com/android/eclipse/
Worked fine for me :)
Rollback to adt22.6.2, Just replace the tools folder in android sdk.
This is a packaging bug. The entire proguard file is missing. We'll have an update asap, but until then just copy it over from a previous version of the tools:
http://dl.google.com/android/android-sdk_r22.6.2-windows.zip
http://dl.google.com/android/android-sdk_r22.6.2-macosx.zip
So at the end if you started from a new ADT copy by hand the files :)
I was also facing same problem, as nothing was working for me, I simply replaced the entire adt base folder with earlier version (which i installed initially), so now started afresh
I was facing the same problem, was able to solve in this way -
Eclipse-->Help-->About Eclipse---->Installation Details
Select - Android DDMS, ADT, Android Hierarchy Viewer, Android Native Development Tools, Android TraceView and Tracer for OpenGL ES packages. All must be version 22.xx
Uninstall all the plugins selected above.
Restart Eclipse
Install ADT from update site - https://dl-ssl.google.com/android/eclipse/
Adding just an extra bit of information as none of the above solutions worked for me (except for the replacement one)
I just went to
sdk\tools\lib\monitor-x86 (32bit)
Copied configuration, Features and plugins folders and pasted it in ADT\eclipse folder choose skip where it asks to replace and rest will be fine, no need to replace the entire thing
done
once you start eclipse it will ask you for SDK location, provide the location and continue
I also faced similar problem yesterday, I tried the above solution but it was still not working properly. I was facing some errors and difficulty.
So I re-installed Eclipse Luna and then did the following :
Help -> Install New Software
Add -> Name : ADT Plugin
Url -> https://dl-ssl.google.com/android/eclipse/
Download and Install the Plugin and then Update the API's using SDK Manager.
Now I recommend to use Android Studio though.

Categories

Resources