eclipse Error: Unable to parse SDK content

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • oll3i
    Contributor
    • Mar 2007
    • 679

    eclipse Error: Unable to parse SDK content

    I am trying to run hello world app
    but i get an error
    Error: Unable to parse SDK content
    Please help
  • Nepomuk
    Recognized Expert Specialist
    • Aug 2007
    • 3111

    #2
    Without knowing which SDK you're getting or what your code looks like or what system you're trying to run it on or anything else about your program, it's hard to help. Maybe give us some more details?

    Comment

    • oll3i
      Contributor
      • Mar 2007
      • 679

      #3
      I am trying to write hello world for android. i run elipse and i have linked ADT Plugin.

      Comment

      • Nepomuk
        Recognized Expert Specialist
        • Aug 2007
        • 3111

        #4
        OK, have you installed an SDK? If so, which one? Maybe check the SDK-Manager to see whether there are any updates that look like they might solve the problem. Also you'll have to make sure that Eclipse has an SDK selected. Maybe check the Installing the Eclipse Plugin article in the Android developers section.

        Comment

        • oll3i
          Contributor
          • Mar 2007
          • 679

          #5
          after i have installed android adt. when i try to run it. i get "failed to create a java virtual machine".

          Comment

          • Nepomuk
            Recognized Expert Specialist
            • Aug 2007
            • 3111

            #6
            Have you checked the links I posted in my previous reply? Which SDK version is installed? Do you have at least one AVD set up? If so, which version of Android did you set for it?

            Comment

            • oll3i
              Contributor
              • Mar 2007
              • 679

              #7
              I installed adt bundle for windows

              Comment

              • Nepomuk
                Recognized Expert Specialist
                • Aug 2007
                • 3111

                #8
                OK, good. I assume you followed the instructions under Setting Up the ADT Bundle exactly? And you started Eclipse from within the ADT bundle installation directory?

                Comment

                • oll3i
                  Contributor
                  • Mar 2007
                  • 679

                  #9
                  yes. from inside the adt bundle directory
                  but now i get
                  [2014-01-03 15:24:43 - Emulator] Failed to allocate memory: 1455
                  [2014-01-03 15:24:43 - Emulator]
                  [2014-01-03 15:24:43 - Emulator] This application has requested the Runtime to terminate it in an unusual way.
                  [2014-01-03 15:24:43 - Emulator] Please contact the application's support team for more information.

                  Comment

                  • Nepomuk
                    Recognized Expert Specialist
                    • Aug 2007
                    • 3111

                    #10
                    OK, open the Android Virtual Device Manager (AVD Manager) - it should be inside the adt bundle directory as well. Find the AVD (there's probably just one anyway) and edit it. Under the heading "Hardware:" there should be an entry called "Device ram size". Change this value (probably to something lower) and try again. If this works then great, though it may be a good idea to change the paging file size in the long run... We can get to that if changing the ram size works.

                    Comment

                    • oll3i
                      Contributor
                      • Mar 2007
                      • 679

                      #11
                      I downloaded adt bundel again. I try to run it, but i get "failed to create the java virtual machine"

                      Comment

                      • oll3i
                        Contributor
                        • Mar 2007
                        • 679

                        #12
                        thank You very much i managed

                        Comment

                        • Nepomuk
                          Recognized Expert Specialist
                          • Aug 2007
                          • 3111

                          #13
                          Glad to hear it :-)

                          Comment

                          Working...