Unable to create activity in eclipse - android

I have just downloaded eclipse juno and when I create an activity, it isn't showing up in my project. I have tried installing http://dl-ssl.google.com/android/eclipse/ as others have suggested but it comes up with this error:
Your original request has been modified.
"Android Traceview" is already installed, so an update will be performed instead.
"Android Development Tools" is already installed, so an update will be performed instead.
"Android DDMS" is already installed, so an update will be performed instead.
"Android Hierarchy Viewer" is already installed, so an update will be performed instead.
"Android Native Development Tools" is already installed, so an update will be performed instead.
"Tracer for OpenGL ES" is already installed, so an update will be performed instead.
Cannot complete the install because of a conflicting dependency.
Software being installed: Android Development Tools 23.0.2.1259578 (com.android.ide.eclipse.adt.feature.feature.group 23.0.2.1259578)
Software currently installed: eclipse 23.0.0.1245622 (adtproduct 23.0.0.1245622)
Only one of the following can be installed at once:
Android Development Toolkit 23.0.2.1259578 (com.android.ide.eclipse.adt 23.0.2.1259578)
Android Development Toolkit 23.0.0.1245622 (com.android.ide.eclipse.adt 23.0.0.1245622)
Cannot satisfy dependency:
From: eclipse 23.0.0.1245622 (adtproduct 23.0.0.1245622)
To: com.android.ide.eclipse.adt.feature.feature.group [23.0.0.1245622]
Cannot satisfy dependency:
From: Android Development Tools 23.0.0.1245622 (com.android.ide.eclipse.adt.feature.feature.group 23.0.0.1245622)
To: com.android.ide.eclipse.adt [23.0.0.1245622]
Cannot satisfy dependency:
From: Android Development Tools 23.0.2.1259578 (com.android.ide.eclipse.adt.feature.feature.group 23.0.2.1259578)
To: com.android.ide.eclipse.adt [23.0.2.1259578]

This is a bug with the latest bundle provided by Google. See http://code.google.com/p/android/issues/detail?id=72912.
There is no way to update an existing ADT bundle that you might have downloaded.
You can do one of two options:
Install eclipse from eclipse.org and install ADT by pointing to the update site: https://dl-ssl.google.com/android/eclipse
Download bundles from here:
linux 64 bit vm:
http://dl.google.com/android/adt/adt-bundle-linux-x86_64-20140702.zip
linux 32 bit vm:
http://dl.google.com/android/adt/adt-bundle-linux-x86-20140702.zip
mac:
http://dl.google.com/android/adt/adt-bundle-mac-x86_64-20140702.zip
win32:
http://dl.google.com/android/adt/adt-bundle-windows-x86-20140702.zip
win64:
http://dl.google.com/android/adt/adt-bundle-windows-x86_64-20140702.zip
Starting with ADT bundle 23.0.2, you should be able to update to future versions of ADT.

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/

Related

Android SDK ADT mismatch but cannot find update

Here is the error message I am getting when I start eclipse after updating through Android SDK Manager.
This Android SDK requires Android Developer Toolkit version 23.0.0 or
above.
Current version is 22.6.2.v201403212031
Please update ADT to the latest version
The problem is when I click update or go to help to find latest update, there is no update available. So okay, I did some research and found this link Can't update Eclipse ADT to 22. So then I tried to install the ADT anew. Now I am getting the following issue:
Cannot complete the install because of a conflicting dependency.
Software being installed: Android Development Tools 23.0.6.1720515
(com.android.ide.eclipse.adt.feature.feature.group 23.0.6.1720515)
Software currently installed: Google App Engine Tools for Android
3.5.1.v201312301719-rel-r42 (com.google.gdt.eclipse.mobile.android.feature.feature.group
3.5.1.v201312301719-rel-r42) Only one of the following can be installed at once:
ADT XML Overlay 23.0.6.1720515 (overlay.com.android.ide.eclipse.adt.overlay 23.0.6.1720515)
ADT XML Overlay 22.6.2.v201403212031-1085508 (overlay.com.android.ide.eclipse.adt.overlay
22.6.2.v201403212031-1085508) Cannot satisfy dependency:
From: Android Development Tools 23.0.6.1720515 (com.android.ide.eclipse.adt.feature.feature.group 23.0.6.1720515)
To: overlay.com.android.ide.eclipse.adt.overlay [23.0.6.1720515] Cannot satisfy dependency:
From: Android Development Tools 22.6.2.v201403212031-1085508 (com.android.ide.eclipse.adt.feature.group
22.6.2.v201403212031-1085508)
To: overlay.com.android.ide.eclipse.adt.overlay [22.6.2.v201403212031-1085508] Cannot satisfy dependency:
From: Google App Engine Tools for Android 3.5.1.v201312301719-rel-r42 (com.google.gdt.eclipse.mobile.android.feature.feature.group
3.5.1.v201312301719-rel-r42)
To: com.android.ide.eclipse.adt.feature.group 22.0.0
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.

ADT Update in Eclipse

i have just recently updated my sdk and when i tried to open eclipse it gives me an error that adt is outdated and needs to update. i have searched for solutions here but nothing seems to fix mine. one solution was to manually download the update on eclipse->help->install new software and entered the url: https://dl-ssl.google.com/android/eclipse/ , after that i checked ADT version 23.0.4.1468518 for installation. but this solution doesnt work on mine. im having an error saying im having a conflicting dependency.
Software being installed: Android Development Tools 23.0.4.1468518 (com.android.ide.eclipse.adt.feature.feature.group 23.0.4.1468518)
Software currently installed: Android Developer Tools 22.6.2.v201403212031-1085508 (com.android.ide.eclipse.adt.package.product 22.6.2.v201403212031-1085508)
Only one of the following can be installed at once:
ADT XML Overlay 23.0.4.1468518 (overlay.com.android.ide.eclipse.adt.overlay 23.0.4.1468518)
ADT XML Overlay 22.6.2.v201403212031-1085508 (overlay.com.android.ide.eclipse.adt.overlay 22.6.2.v201403212031-1085508)
Cannot satisfy dependency:
From: Android Development Tools 23.0.4.1468518 (com.android.ide.eclipse.adt.feature.feature.group 23.0.4.1468518)
To: overlay.com.android.ide.eclipse.adt.overlay [23.0.4.1468518]
Cannot satisfy dependency:
From: Android Development Tools 22.6.2.v201403212031-1085508 (com.android.ide.eclipse.adt.feature.group 22.6.2.v201403212031-1085508)
To: overlay.com.android.ide.eclipse.adt.overlay [22.6.2.v201403212031-1085508]
Cannot satisfy dependency:
From: ADT Package 22.6.2.v201403212031-1085508 (com.android.ide.eclipse.adt.package.feature.group 22.6.2.v201403212031-1085508)
To: com.android.ide.eclipse.adt.feature.group 22.6.2
Cannot satisfy dependency:
From: Android Developer Tools 22.6.2.v201403212031-1085508 (com.android.ide.eclipse.adt.package.product 22.6.2.v201403212031-1085508)
To: com.android.ide.eclipse.adt.package.feature.group [22.6.2.v201403212031-1085508]
I've got these problems many times on my attempt to update adt.
Nothing worked for me, like "uninstall and reinstall adt plugin", "manual install" etc..
I had to download the latest adt bundle from developer.android.com and that seems to be the easiest way to get latest adt.
The adt plugin update worked fine on one of my development machines. But had to download fresh adt on another.
So I suggest you to download latest adt bundle if you are not getting it right on a few tries. At least that would save you some valuable time.
After downloading latest adt bundle, unzip it and just replace the eclipse folder in your current setup. This will keep all your already installed sdk components.
Help --> Install New Software--> click what is already installed? uninstall ADT plugin
Help --> Install New Software -->add url --> http://dl-ssl.google.com/android/eclipse/
-----------------------------------------------------------------------
ADT 22.0.4 is designed for use with SDK Tools r22.0.4. If you haven't already installed SDK Tools r22.0.4 into your SDK, use the Android SDK Manager to do so
What I had to do was update my ADT to 22.0.4 (Latest Version) and then I was able to update SDK tool to 22.0.4. I thought only SDK Tool has been updated not ADT, so I was updating the SDK Tool with Older ADT Version (22.0.1).
How to Update your ADT to Latest Version
In Eclipse go to Help
Install New Software ---> Add
inside Add Repository write the Name: ADT (or whatever you want)
Location: https://dl-ssl.google.com/android/eclipse/
after loading you should get Developer Tools and NDK Plugins
check both if you want to use the Native Developer Kit (NDK) in the future or check
Developer Tool only
click Next
Finish

Android Eclipse update Error?

Just now update to my eclipse to latest version, showing this error(ADT XML Overlay 23.0.3.1327240) .Any one have idea of this.
Cannot complete the install because of a conflicting dependency.
Software being installed: Android Development Tools 23.0.3.1327240 (com.android.ide.eclipse.adt.feature.feature.group 23.0.3.1327240)
Software currently installed: Android Development Tools 22.6.3.v201404151837-1123206 (com.android.ide.eclipse.adt.feature.group 22.6.3.v201404151837-1123206)
Only one of the following can be installed at once:
ADT XML Overlay 23.0.3.1327240 (overlay.com.android.ide.eclipse.adt.overlay 23.0.3.1327240)
ADT XML Overlay 22.6.3.v201404151837-1123206 (overlay.com.android.ide.eclipse.adt.overlay 22.6.3.v201404151837-1123206)
Cannot satisfy dependency:
From: Android Development Tools 23.0.3.1327240 (com.android.ide.eclipse.adt.feature.feature.group 23.0.3.1327240)
To: overlay.com.android.ide.eclipse.adt.overlay [23.0.3.1327240]
Cannot satisfy dependency:
From: Android Development Tools 22.6.3.v201404151837-1123206 (com.android.ide.eclipse.adt.feature.group 22.6.3.v201404151837-1123206)
To: overlay.com.android.ide.eclipse.adt.overlay [22.6.3.v201404151837-1123206]
I have solved the issue by uninstalling the plugin that was causing the conflicting dependency (Android Development Tools 22.6.3.v201404151837-1123206)
Help -> About Eclipse -> Installation details. On the "Installed
software" tab click on the software that you wish to uninstall, then
click the "Uninstall..." button.
And then install the ADT plugin again (with Android Development Tools 23.0.3.1327240):
Select Help > Install New Software
Work with: p2repo - https://dl-ssl.google.com/android/eclipse/
Select Developer Tools and Next
Next, Accept the license agreement* and Finish
Note: Also removed the plugin App Engine for Android (that got me dependency problem with ADT as well)

Android : Cannot complete the install because of a conflicting dependency [duplicate]

This question already has answers here:
Update Eclipse with Android development tools v. 23
(43 answers)
Closed 8 years ago.
I am installing new softwares, using this link : https://dl-ssl.google.com/android/eclipse/
but always getting: The operation cannot be completed. see the details.
Cannot complete the install because of a conflicting dependency.
Software being installed: Android DDMS 23.0.2.1259578 (com.android.ide.eclipse.ddms.feature.feature.group 23.0.2.1259578)
Software currently installed: Android DDMS 22.6.2.v201403212031-1085508 (com.android.ide.eclipse.ddms.feature.group 22.6.2.v201403212031-1085508)
Only one of the following can be installed at once:
Dalvik Debug Monitor Service 23.0.2.1259578 (com.android.ide.eclipse.ddms 23.0.2.1259578)
Dalvik Debug Monitor Service 22.6.2.v201403212031-1085508 (com.android.ide.eclipse.ddms 22.6.2.v201403212031-1085508)
Cannot satisfy dependency:
From: Android DDMS 23.0.2.1259578 (com.android.ide.eclipse.ddms.feature.feature.group 23.0.2.1259578)
To: com.android.ide.eclipse.ddms [23.0.2.1259578]
Cannot satisfy dependency:
From: Android DDMS 22.6.2.v201403212031-1085508 (com.android.ide.eclipse.ddms.feature.group 22.6.2.v201403212031-1085508)
To: com.android.ide.eclipse.ddms [22.6.2.v201403212031-1085508]
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-linux.tgz
http://dl.google.com/android/android-sdk_r22.6.2-windows.zip
http://dl.google.com/android/android-sdk_r22.6.2-macosx.zip
and copy over the following files:
tools/hprof-conv
tools/support/annotations.jar
tools/proguard
So at the end if you started from a new ADT copy by hand the files :)
Edit: with the latest ADT release, the bundle should now work with auto-update, so install these new versions:
linux 64 bit vm: http://dl.google.com/android/adt/adt-bundle-linux-x86_64-20140702.zip
linux 32 bit vm: http://dl.google.com/android/adt/adt-bundle-linux-x86-20140702.zip
mac: http://dl.google.com/android/adt/adt-bundle-mac-x86_64-20140702.zip
win32: http://dl.google.com/android/adt/adt-bundle-windows-x86-20140702.zip
win64: http://dl.google.com/android/adt/adt-bundle-windows-x86_64-20140702.zip
Don't try to upgrade from previous version because it doensn't work at all. If you have got problems with zipalign, it's now under platform-tools and no more under tools/ so you can do a symbolic link or just copy it into the expected folder.
credit goes to #greywolf82 answered here: Update Eclipse with Android development tools v. 23
credit goes to #MarcoDuff answered here: Cannot complete the install because of a conflicting dependency

Android ADT 23 Update - Cannot complete the install because of a conflicting dependency

First, ADT update errors are frequently asked but I have tried to do everything mentioned in those other Question-threads but no success (with https and without, ADT23.zip download too).
This is what I got when trying to update:
Cannot complete the install because of a conflicting dependency.
Software being installed: Android DDMS 23.0.0.1245622 (com.android.ide.eclipse.ddms.feature.feature.group 23.0.0.1245622)
Software currently installed: Android Developer Tools 22.6.2.v201403212031-1085508 (com.android.ide.eclipse.adt.package.product 22.6.2.v201403212031-1085508)
Only one of the following can be installed at once:
Dalvik Debug Monitor Service 23.0.0.1245622 (com.android.ide.eclipse.ddms 23.0.0.1245622)
Dalvik Debug Monitor Service 22.6.2.v201403212031-1085508 (com.android.ide.eclipse.ddms 22.6.2.v201403212031-1085508)
Cannot satisfy dependency:
From: ADT Package 22.6.2.v201403212031-1085508 (com.android.ide.eclipse.adt.package.feature.group 22.6.2.v201403212031-1085508)
To: com.android.ide.eclipse.ddms.feature.group 22.6.2
Cannot satisfy dependency:
From: Android Developer Tools 22.6.2.v201403212031-1085508 (com.android.ide.eclipse.adt.package.product 22.6.2.v201403212031-1085508)
To: com.android.ide.eclipse.adt.package.feature.group [22.6.2.v201403212031-1085508]
Cannot satisfy dependency:
From: Android DDMS 23.0.0.1245622 (com.android.ide.eclipse.ddms.feature.feature.group 23.0.0.1245622)
To: com.android.ide.eclipse.ddms [23.0.0.1245622]
Cannot satisfy dependency:
From: Android DDMS 22.6.2.v201403212031-1085508 (com.android.ide.eclipse.ddms.feature.group 22.6.2.v201403212031-1085508)
To: com.android.ide.eclipse.ddms [22.6.2.v201403212031-1085508]
How can I solve this?
I was facing the same issue and resolved it by uninstalling the previous version of ADT completely and then installing the new version.
Try it out.
It works for me :)
If for some reason you installed an ADT preview and need to revert back to the current stable, you can't use the dialog to install "new" software since what you want is actually an older one. Instead do this:
Open Help > About Eclipse... on Windows or Linux. On Mac, use the
app's menu > About...
Click the "Installation Details" button.
Select the "Installation History" tab.
Select one of the previous configurations.
Click the "Revert" button at the bottom.
I downloaded Eclipse Luna without ADT. This is important.
Depending on where you saved your workspace and what version of eclipse you were using before a pop up might come up saying that it will migrate to Eclipse Luna etc2. I chose to migrate to Luna.
I then went to help -> install new software and added the ADT plugin via https://dl-ssl.google.com/android/eclipse.
I have run my app I was developing on ADT 22.xx and it runs fine on the emulator and my own nexus 5.
I hope this helps.....
I was using Eclipse Luna. I downloaded SDK 23. Then when I read ADT 23 released I was excited. I downloaded it too. But I relised it has many errors. I couldn't do anything with eclipse. I thought the other one, ADT 22 was good.
So I started to use Kepler again. I install SDK 22.6.2 and ADT 22.6.2 too. I am happy now. I have no errors anymore.
If it is running, do not touch it!
You have to Update your Google ADT to the Latest Version!
In Eclipse go to Help
Install New Software ---> Add
inside Add Repository write:
https://dl-ssl.google.com/android/eclipse/
Double click in the opening Box the 1 entry.
Follow the Eclipse instructions.
After loading some time you will get the newest Developer Tools and NDK Plugins
Repeat this for 2 times
Tom

Categories

Resources