Hello Kunal, What does "java -version" print out in terminal for you?
Best wishes, -sacoskun On Apr 29, 12:48 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi, > > I am facing troubles in getting started with Android SDK. > I am using following: > (1) Fedora Core-7 Linux Distribution on a i86 based machine. > (2) Android SDK Version: android-sdk_m5-rc15_linux-x86 > > I installed the eclipse on my Machine using: > sudo yum install eclipse-cdt eclipse-cdt-sdk eclipse-jdt eclipse-jdt-sdk > > Then I followed the SDK installation procedure from following link: > http://code.google.com/android/intro/installing.html > > After installing SDK and ADT Plugin, I tried creating a new project with > "Create project from existing source" option. I use one of the sources from > SDK_DIR/samples, I get a lot of warnings and errors <actually I tried with > "LunarLander", "Snake", "SkeletonActivity" and "HelloActivity" with same > result>. I have copied the error messages at end of this e-mail. > > I tried to search for this issue on the group. I could find a few posts > but most of them had no resolution. Finally I referred to the following > post on mail list: > http://groups.google.com/group/android-beginners/browse_thread/thread/d > 69d1e4af217964c/24ad5d620f9cd94c?lnk=gst&q=invalid+constant+pool+index+0000# > 24ad5d620f9cd94c > > This post suggests that installing eclipse directly from eclipse.org > will solve the problem. So, I downloaded the eclipse version > "eclipse-SDK-3.3.2-linux-gtk.tar.gz". > But, I get the same error as I was getting previously. > > Is there any one who can suggest me a combination of "Eclipse" + " > Android SDK" which will work fine on a FC-7 distribution. > > Thanks and Regards, > Kunal Singhwww.singhkunal.com > > Here is the error message which I get: > > [2008-04-29 15:17:36 - SkeletonActivity] > trouble processing: > [2008-04-29 15:17:36 - SkeletonActivity] invalid constant pool index 0000 > ...while parsing LocalVariableTable attribute at offset 00000283 > ...while parsing attributes[1] > ...while parsing Code attribute at offset 00000260 > ...while parsing attributes[0] > ...while parsing methods[0] > ...while parsing com/google/android/skeletonapp/R.class > ...while processing com/google/android/skeletonapp/R.class > [2008-04-29 15:17:36 - SkeletonActivity] > trouble processing: > [2008-04-29 15:17:36 - SkeletonActivity] invalid constant pool index 0000 > ...while parsing LocalVariableTable attribute at offset 0000014c > ...while parsing attributes[1] > ...while parsing Code attribute at offset 00000129 > ...while parsing attributes[0] > ...while parsing methods[0] > ...while parsing com/google/android/skeletonapp/R$attr.class > ...while processing com/google/android/skeletonapp/R$attr.class > [2008-04-29 15:17:36 - SkeletonActivity] > trouble processing: > [2008-04-29 15:17:36 - SkeletonActivity] invalid constant pool index 0000 > ...while parsing LocalVariableTable attribute at offset 0000018f > ...while parsing attributes[1] > ...while parsing Code attribute at offset 0000016c > ...while parsing attributes[0] > ...while parsing methods[0] > ...while parsing com/google/android/skeletonapp/R$layout.class > ...while processing com/google/android/skeletonapp/R$layout.class > [2008-04-29 15:17:36 - SkeletonActivity] > trouble processing: > [2008-04-29 15:17:36 - SkeletonActivity] invalid constant pool index 0000 > ...while parsing LocalVariableTable attribute at offset 000001ce > ...while parsing attributes[1] > ...while parsing Code attribute at offset 000001ab > ...while parsing attributes[0] > ...while parsing methods[0] > ...while parsing com/google/android/skeletonapp/R$id.class > ...while processing com/google/android/skeletonapp/R$id.class > [2008-04-29 15:17:36 - SkeletonActivity] > trouble processing: > [2008-04-29 15:17:36 - SkeletonActivity] invalid constant pool index 0000 > ...while parsing LocalVariableTable attribute at offset 000001ac > ...while parsing attributes[1] > ...while parsing Code attribute at offset 00000189 > ...while parsing attributes[0] > ...while parsing methods[0] > ...while parsing com/google/android/skeletonapp/R$drawable.class > ...while processing com/google/android/skeletonapp/R$drawable.class > [2008-04-29 15:17:36 - SkeletonActivity] > trouble processing: > [2008-04-29 15:17:36 - SkeletonActivity] invalid constant pool index 0000 > ...while parsing LocalVariableTable attribute at offset 000001ea > ...while parsing attributes[1] > ...while parsing Code attribute at offset 000001c7 > ...while parsing attributes[0] > ...while parsing methods[0] > ...while parsing com/google/android/skeletonapp/R$string.class > ...while processing com/google/android/skeletonapp/R$string.class > [2008-04-29 15:17:36 - SkeletonActivity] > trouble processing: > [2008-04-29 15:17:36 - SkeletonActivity] invalid constant pool index 0000 > ...while parsing LocalVariableTable attribute at offset 0000017e > ...while parsing attributes[1] > ...while parsing Code attribute at offset 0000015b > ...while parsing attributes[0] > ...while parsing methods[0] > ...while parsing com/google/android/skeletonapp/R$color.class > ...while processing com/google/android/skeletonapp/R$color.class > [2008-04-29 15:17:36 - SkeletonActivity] > trouble processing: > [2008-04-29 15:17:36 - SkeletonActivity] invalid constant pool index 0000 > ...while parsing LocalVariableTable attribute at offset 000001e0 > ...while parsing attributes[1] > ...while parsing Code attribute at offset 000001bd > ...while parsing attributes[0] > ...while parsing methods[0] > ...while parsing com/google/android/skeletonapp/R$style.class > ...while processing com/google/android/skeletonapp/R$style.class > [2008-04-29 15:17:36 - SkeletonActivity] > trouble processing: > [2008-04-29 15:17:36 - SkeletonActivity] invalid constant pool index 0000 > ...while parsing LocalVariableTable attribute at offset 00000784 > ...while parsing attributes[1] > ...while parsing Code attribute at offset 0000073d > ...while parsing attributes[0] > ...while parsing methods[0] > ...while parsing com/google/android/skeletonapp/SkeletonActivity.class > ...while processing com/google/android/skeletonapp/SkeletonActivity.class > [2008-04-29 15:17:36 - SkeletonActivity] > trouble processing: > [2008-04-29 15:17:36 - SkeletonActivity] invalid constant pool index 0000 > ...while parsing LocalVariableTable attribute at offset 00000364 > ...while parsing attributes[1] > ...while parsing Code attribute at offset 00000338 > ...while parsing attributes[0] > ...while parsing methods[0] > ...while parsing com/google/android/skeletonapp/SkeletonActivity$2.class > ...while processing com/google/android/skeletonapp/SkeletonActivity$2.class > [2008-04-29 15:17:36 - SkeletonActivity] > trouble processing: > [2008-04-29 15:17:36 - SkeletonActivity] invalid constant pool index 0000 > ...while parsing LocalVariableTable attribute at offset 000002be > ...while parsing attributes[1] > ...while parsing Code attribute at offset 00000292 > ...while parsing attributes[0] > ...while parsing methods[0] > ...while parsing com/google/android/skeletonapp/SkeletonActivity$1.class > ...while processing com/google/android/skeletonapp/SkeletonActivity$1.class > [2008-04-29 15:17:36 - SkeletonActivity] 11 warnings > [2008-04-29 15:17:36 - SkeletonActivity] no classfiles specified > [2008-04-29 15:17:36 - SkeletonActivity] Conversion to Dalvik format failed > with error 1 > > -------------------------------------------------------------------- > myhosting.com - Premium Microsoft® Windows® and Linux web and application > hosting -http://link.myhosting.com/myhosting --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~----------~----~----~----~------~----~------~--~---

