11759

Unable to create activity in eclipse

Question:

I have just downloaded eclipse juno and when I create an activity, it isn't showing up in my project. I have tried installing <a href="http://dl-ssl.google.com/android/eclipse/" rel="nofollow">http://dl-ssl.google.com/android/eclipse/</a> 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]

Answer1:

This is a bug with the latest bundle provided by Google. See <a href="http://code.google.com/p/android/issues/detail?id=72912" rel="nofollow">http://code.google.com/p/android/issues/detail?id=72912</a>.

<ul><li>There is no way to update an existing ADT bundle that you might have downloaded.</li> <li>

You can do one of two options:

<ol><li>

Install eclipse from eclipse.org and install ADT by pointing to the update site: <a href="https://dl-ssl.google.com/android/eclipse" rel="nofollow">https://dl-ssl.google.com/android/eclipse</a>

</li> <li>

Download bundles from here:

</li> </ol></li> </ul><blockquote>

linux 64 bit vm: <a href="http://dl.google.com/android/adt/adt-bundle-linux-x86_64-20140702.zip" rel="nofollow">http://dl.google.com/android/adt/adt-bundle-linux-x86_64-20140702.zip</a>

linux 32 bit vm: <a href="http://dl.google.com/android/adt/adt-bundle-linux-x86-20140702.zip" rel="nofollow">http://dl.google.com/android/adt/adt-bundle-linux-x86-20140702.zip</a>

mac: <a href="http://dl.google.com/android/adt/adt-bundle-mac-x86_64-20140702.zip" rel="nofollow">http://dl.google.com/android/adt/adt-bundle-mac-x86_64-20140702.zip</a>

win32: <a href="http://dl.google.com/android/adt/adt-bundle-windows-x86-20140702.zip" rel="nofollow">http://dl.google.com/android/adt/adt-bundle-windows-x86-20140702.zip</a>

win64: <a href="http://dl.google.com/android/adt/adt-bundle-windows-x86_64-20140702.zip" rel="nofollow">http://dl.google.com/android/adt/adt-bundle-windows-x86_64-20140702.zip</a>

</blockquote>

Starting with ADT bundle 23.0.2, you should be able to update to future versions of ADT.

Answer2:

I was facing the same problem, was able to solve in this way -

<ol><li>Eclipse-->Help-->About Eclipse---->Installation Details</li> <li>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</li> <li>Uninstall all the plugins selected above.</li> <li>Restart Eclipse</li> <li>Install ADT from update site - <a href="https://dl-ssl.google.com/android/eclipse/" rel="nofollow">https://dl-ssl.google.com/android/eclipse/</a></li> </ol>

Recommend

  • Choose File names automatically based on a calculation and then import them to python
  • Error when accessing ESB Proxy with Jaggery WSStub
  • My Application can't start debug mode in Android Stduio
  • locationclient.getlastlocation() always returns null on emulator
  • Firebase User Specific Data with ReactFire
  • Decimal to Binary in C
  • Running two tensorflow graphs at a time
  • Render face of cube map to a quad
  • how to find the gps location using android emulator?
  • PhoneGap + JQM App breaks in Android 4.0.3
  • Capture android screen [duplicate]
  • Processing video library does not work on Linux (Ubuntu 13.04)
  • Using Resque and resque_mailer to send emails raises Routing error
  • Dendrogram or Other Plot from Distance Matrix
  • NHibernate Component inheritance
  • htaccess regex directory to variable
  • What products support 3-digit region subtags, e.g., es-419 for Latin-American Spanish?
  • Can't figure out a function to return a reference to a given type stored in RefCell
  • Handling exceptions in a class library enveloping a device driver
  • Removing the .php file extension from the URL Request
  • opengl window freezing during move/resize
  • When interface inheritance in Java is useful?
  • How to force Composer to download a local package?
  • How do you create a Fuseki SPARQL server using the Apache Jena Java API?
  • Magento get URL before current
  • Prevent Tomcat from caching request during starup
  • OSX - always hide certain files
  • Compiling dlib on OS X
  • How do I signal completion of my dataflow?
  • How to generate and display a QR Code in ionic 2
  • Silverlight DependencyProperty.SetCurrentValue Equivalent
  • How to use JavaScript to determine whether a file exists in a directory?
  • How to add git credentials to the build so it would be able to be used within a shell code?
  • Android - Material Design - NavigationView - How to put vertical scroll?
  • Make VS2015 use angular-cli ng at build time in a .NET project
  • How to rebase a series of branches?
  • Control modification in presentation layer
  • Why is an OPTIONS request sent to the server?
  • Microsoft Visual Studio Community 2015 always crashes in Windows 10 if swithed to Visual FoxPro
  • VB.net deserialize, JSON Conversion from type 'Dictionary(Of String,Object)' to type '