Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Mobile Development
  3. Android
  4. How can I get started developing in Eclipse for Android?

How can I get started developing in Eclipse for Android?

Scheduled Pinned Locked Moved Android
helpcsharpvisual-studiotutorialquestion
10 Posts 2 Posters 4 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    turbosupramk3
    wrote on last edited by
    #1

    I'm trying to do a "myfirstapp" example and in just creating the application, without any code from me, I have 7 errors, below are a few examples. Being used to Visual Studio and Csharp, I'm a little confused as to why it is so difficult just to get a hello world type application going and trying to debug/test it in the virtual environment? Can someone help me get to a baseline place, so I can start creating applications and learning how to write for the Android OS?

    Quote:

    Description Resource Path Location Type error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'. styles.xml /MyFirstApp/res/values-v14 line 8 Android AAPT Problem

    Quote:

    Description Resource Path Location Type error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'. styles.xml /MyFirstApp/res/values line 7 Android AAPT Problem

    Quote:

    Description Resource Path Location Type The project was not built since its build path is incomplete. Cannot find the class file for java.lang.Object. Fix the build path then try building this project MyFirstApp Unknown Java Problem

    Quote:

    Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.editors.manifest.ManifestEditor.

    Quote:

    org.eclipse.core.runtime.CoreException: Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.editors.manifest.ManifestEditor. at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:194) at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:176) at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:905) at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243) at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55) at org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugin.java:273) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) at org.eclipse.ui.int

    L 1 Reply Last reply
    0
    • T turbosupramk3

      I'm trying to do a "myfirstapp" example and in just creating the application, without any code from me, I have 7 errors, below are a few examples. Being used to Visual Studio and Csharp, I'm a little confused as to why it is so difficult just to get a hello world type application going and trying to debug/test it in the virtual environment? Can someone help me get to a baseline place, so I can start creating applications and learning how to write for the Android OS?

      Quote:

      Description Resource Path Location Type error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'. styles.xml /MyFirstApp/res/values-v14 line 8 Android AAPT Problem

      Quote:

      Description Resource Path Location Type error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'. styles.xml /MyFirstApp/res/values line 7 Android AAPT Problem

      Quote:

      Description Resource Path Location Type The project was not built since its build path is incomplete. Cannot find the class file for java.lang.Object. Fix the build path then try building this project MyFirstApp Unknown Java Problem

      Quote:

      Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.editors.manifest.ManifestEditor.

      Quote:

      org.eclipse.core.runtime.CoreException: Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.editors.manifest.ManifestEditor. at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:194) at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:176) at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:905) at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243) at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55) at org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugin.java:273) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) at org.eclipse.ui.int

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Try Hello Android - The Hello World Application[^]. He usesAndroid Studio rather than eclipse but it's a good start. And if you go to the articles section you will find lots more samples, there is probably one or more that uses eclipse.

      T 1 Reply Last reply
      0
      • L Lost User

        Try Hello Android - The Hello World Application[^]. He usesAndroid Studio rather than eclipse but it's a good start. And if you go to the articles section you will find lots more samples, there is probably one or more that uses eclipse.

        T Offline
        T Offline
        turbosupramk3
        wrote on last edited by
        #3

        Thank you. I downloaded Android Studio and am trying to follow the OP's instructions, but I don't see the same menu items as he does, as noted in the comments section at the bottom of the article.

        L 1 Reply Last reply
        0
        • T turbosupramk3

          Thank you. I downloaded Android Studio and am trying to follow the OP's instructions, but I don't see the same menu items as he does, as noted in the comments section at the bottom of the article.

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          I have looked at those comments and cannot figure out what you are doing. I followed the tutorial and it all worked according to the article.

          T 1 Reply Last reply
          0
          • L Lost User

            I have looked at those comments and cannot figure out what you are doing. I followed the tutorial and it all worked according to the article.

            T Offline
            T Offline
            turbosupramk3
            wrote on last edited by
            #5

            I even downloaded his project, opened it and did not touch anything. It does not have the right click options he described and when I click the run button, nothing happens? I also cannot get to the configuration of the AVD, it is just greyed out? Can you right click on the helloworld folder and get "new --> class" ? What happens when you debug/compile his example? To my understanding, I followed his example exactly and also downloaded his example as a known good?

            L 1 Reply Last reply
            0
            • T turbosupramk3

              I even downloaded his project, opened it and did not touch anything. It does not have the right click options he described and when I click the run button, nothing happens? I also cannot get to the configuration of the AVD, it is just greyed out? Can you right click on the helloworld folder and get "new --> class" ? What happens when you debug/compile his example? To my understanding, I followed his example exactly and also downloaded his example as a known good?

              L Offline
              L Offline
              Lost User
              wrote on last edited by
              #6

              It all worked when I tried it, but I did have some issues with the installation. It sounds as though you may have some component(s) missing from your setup. I have to admit that setting up both Android Studio and Eclipse are somewhat less than straightforward, and you have to make some guesses along the way. Have you installed all the correct SDK components as listed in the article?

              T 1 Reply Last reply
              0
              • L Lost User

                It all worked when I tried it, but I did have some issues with the installation. It sounds as though you may have some component(s) missing from your setup. I have to admit that setting up both Android Studio and Eclipse are somewhat less than straightforward, and you have to make some guesses along the way. Have you installed all the correct SDK components as listed in the article?

                T Offline
                T Offline
                turbosupramk3
                wrote on last edited by
                #7

                I believe I have. This may be asking a lot, but could you list the steps with links that you installed/downloaded/configured, so I have a baseline and do not have any room for error with guesses?

                L 1 Reply Last reply
                0
                • T turbosupramk3

                  I believe I have. This may be asking a lot, but could you list the steps with links that you installed/downloaded/configured, so I have a baseline and do not have any room for error with guesses?

                  L Offline
                  L Offline
                  Lost User
                  wrote on last edited by
                  #8

                  Sorry, no, I did not make a note of them. All you can do is try re-installing and carefully following the steps in the tutorial. If it helps there are a number of other tutorials in the same section which might help to clarify things.

                  T 1 Reply Last reply
                  0
                  • L Lost User

                    Sorry, no, I did not make a note of them. All you can do is try re-installing and carefully following the steps in the tutorial. If it helps there are a number of other tutorials in the same section which might help to clarify things.

                    T Offline
                    T Offline
                    turbosupramk3
                    wrote on last edited by
                    #9

                    Thanks anyway. This is too difficult to do, just to write code (which should be the more difficult part) so I'm not going to waste anymore time on this. I'll stick to Visual Studio and C#, I can't imagine anyone going through this frustration to write Android applications.

                    L 1 Reply Last reply
                    0
                    • T turbosupramk3

                      Thanks anyway. This is too difficult to do, just to write code (which should be the more difficult part) so I'm not going to waste anymore time on this. I'll stick to Visual Studio and C#, I can't imagine anyone going through this frustration to write Android applications.

                      L Offline
                      L Offline
                      Lost User
                      wrote on last edited by
                      #10

                      Well you are half right. Yes it is a pain when something goes wrong during installation/setup, but Android is not the only system to have issues like this: have you ever tried to setup SQL server? And, once you have it all set up the actual programming side is not such a struggle, although there is (obviously) a lot to learn.

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups