In an email you said "java -version" displays this: /*********/ java version "1.5.0" gij (GNU libgcj) version 4.1.2 20070925 (Red Hat 4.1.2-27)
Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. /********/ That's obviously very different from the result I get. You're running the GNU implementation of Java. I'm running Sun's version of Java, not the default GNU version, and as you'd expect the two differ significantly. I strongly suggest you install one of the Sun distributions. Bob On Apr 30, 5:32 am, KunalSingh <[EMAIL PROTECTED]> wrote: > Hi Bob/Sacoskun > > My Java version is 1.5.0 and > eclipse is 3.2.2 > > If I try to create a new project, I get similar errors. > I followed the instructions from this link to create a new > projecthttp://code.google.com/android/intro/hello-android.html > > At the end of step-2 if I click "Finish" I get similar errors. > I guess my Java version is causing problem (?). > > Hi Bob, > Hod did you install the eclipse and Java? > Did you use Yum or something else? > In case you have used download and install, can you point me to the > links from where you have downloaded these packages (if possible)? > > Regards, > Kunal > > On Apr 30, 1:33 am, sacoskun <[EMAIL PROTECTED]> wrote: > > > > > Hello Bob, > > > Yes the java version output is the same with mine. I asked for the JDK > > version because Kunal did not specify the version of his Java. > > > I run Debian box and it works without any problem. > > And most probably that's because the SDK says it is tested on Ubuntu's > > previous LTS. > > > Hope the next version of SDK will fix your problem. > > > Best wishes, > > -sacoskun > > > On Apr 29, 5:46 pm, Bob <[EMAIL PROTECTED]> wrote: > > > > I run Fedora 7 (64 bit), Eclipse 3.3.1.1, and Android SDK > > > m5-rc14_linux-x86. I installed the Android SDK in early February. > > > The > > > Eclipse install had been present for some time before that, and the > > > Java > > > 6 install dates from last November. Other than Eclipse instability > > > apparently introduced by the Android extensions (Eclipse crashes both > > > with and without error popups), this combination works OK. This is > > > the > > > development environment in which the company's contest submission was > > > built. > > > > As someone else asked, which version of Java are you running? The > > > command "java -version" I'm running returns the following. > > > > java version "1.6.0_03" > > > Java(TM) SE Runtime Environment (build 1.6.0_03-b05) > > > Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_03-b05, mixed mode) > > > > And in Eclipse that is the version of Java configured as the default, > > > i.e., Windows->Preferences->Installed JREs shows a check mark next to > > > the JRE showing the path to the install directory > > > "/usr/java/jdk1.6.0_03". > > > > I suggest you create a new Android project without source code, create > > > an application by copying and pasting from one of the examples, i.e., > > > from known good source code, and seeing if the project compiles and > > > runs. If this succeeds, your Java + Eclipse + Android installation > > > succeeded. Until this very simple test works, I wouldn't try anything > > > more complex such as importing existing code or creating a project > > > from > > > existing code. > > > > Bob > > > > On Apr 29, 4:51 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> > > > wrote: > > > > > Sorry, > > > > > I Missed the subject field in last e-mail. > > > > Sending it again. > > > > > Regards, > > > > ks > > > > > 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- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

