[android-beginners] Re: Can't build HelloAndroid on debian edge !
A more heavy handed approach for those of you that don't need gcj for anything is to completely remove all packages related to gcj in two commands. Here's the poetry. Caveat emptor if you don't understand it. # aptitude search gcj | egrep ^i.+ | awk '{print $2}' | tr '\n' ' ' gcj_must_die.list # cat gcj_must_die.list | xargs aptitude remove -y # rm -rf ~/.android/* hello world should now build assuming you have the Sun java packages installed properly as per the tutorial. -lee On Oct 1, 6:50 am, Lukas Zapletal [EMAIL PROTECTED] wrote: Please make sure you do not have any alternatives on GCJ! # ls /etc/alternatives -l | grep gcj I am sure you still have keytool, jar and other JDK tools set to GCJ. Set it properly: http://lukas.zapletalovi.com/blog:jak_nainstalovat_javu_6_v_ubuntu_de... Then delete .android directory (it contains non-valid keytool file) and recreate your projects. Youre done. ps - Google developers - please add a keytool program version check or use this via Java API directly LZ frma71 napsal(a): Hello, I'm trying to follow the tutorial to create and build the HelloAndroid example, unfortunately I get Error generating final archive: null HelloAndroid Unknown in the Problems view when trying to build/run. I've tried both with eclipse- java-europa-winter-linux-gtk.tar.gz and clipse-java-ganymede-linux- gtk.tar.gz using jdk/jre: % dpkg -l |grep java6 ii sun-java6-bin 6-07-4 Sun Java(TM) Runtime Environment (JRE) 6 ii sun-java6-jdk 6-07-4 Sun Java(TM) Development Kit (JDK) 6 ii sun-java6-jre 6-07-4 Sun Java(TM) Runtime Environment (JRE) 6 ii sun-java6-plugin 6-07-4 The Java(TM) Plug-in, Java SE 6 % .. and no gcj: % dpkg -l |grep gcj % Please help/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Can't build HelloAndroid on debian edge !
Were you able to successfully install both the new sdk and plugin as per the instructions below? http://code.google.com/android/intro/installing.html To ensure that your android environment is setup correctly, can you do the following: 1) In Eclipse, select New- Android Project 2) Fill in the app name, activity name, package name, etc.. in the New project dialog 3) Right click this project and select Run as android application This should start a new emulator ( if its not already running) and display Hello World, Test on the emulator screen. Let me know if this worksIf you see the same error...send the logcat output... 2008/8/25 frma71 [EMAIL PROTECTED] Hello, I'm trying to follow the tutorial to create and build the HelloAndroid example, unfortunately I get Error generating final archive: null HelloAndroidUnknown in the Problems view when trying to build/run. I've tried both with eclipse- java-europa-winter-linux-gtk.tar.gz and clipse-java-ganymede-linux- gtk.tar.gz using jdk/jre: % dpkg -l |grep java6 ii sun-java6-bin6-07-4 Sun Java(TM) Runtime Environment (JRE) 6 ii sun-java6-jdk6-07-4 Sun Java(TM) Development Kit (JDK) 6 ii sun-java6-jre6-07-4 Sun Java(TM) Runtime Environment (JRE) 6 ii sun-java6-plugin 6-07-4 The Java(TM) Plug-in, Java SE 6 % .. and no gcj: % dpkg -l |grep gcj % Please help/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com 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 -~--~~~~--~~--~--~---