The build completed with unzip installed.

Using a more recent JDK made no difference (as I would have hoped).

Al. 

---

* Written an Android App? - List it at http://andappstore.com/ *

======
Funky Android Limited is registered in England & Wales with the 
company number  6741909. The registered head office is Kemp House, 
152-160 City Road, London,  EC1V 2NX, UK. 

The views expressed in this email are those of the author and not 
necessarily those of Funky Android Limited, it's associates, or it's 
subsidiaries. 


-----Original Message-----
From: android-framework@googlegroups.com
[mailto:android-framew...@googlegroups.com] On Behalf Of ??????
Sent: 02 April 2009 16:42
To: android-framework
Subject: Re: Problem building CupCake


change to jdk 1.5

On Apr 2, 10:44 pm, "Al Sutton" <a...@funkyandroid.com> wrote:
> I've been working away on this and found the problem;
>
> The build process seems to need unzip but it's not mentioned in the 
> apt-get list in the build instructions.
>
> The specific instances are;
>
> ./development/pdk/ndk/samples/samplejni/Makefile:       unzip 
> $(INPUT_APK) -d $(APK_STAGE)
> ./external/bison/Makefile:        unzip $(distdir).zip ;;\
>
> I installed unzip and the build completed.
>
> It wasn't installed on my 8.04 LTS server install, so hopefully anyone 
> encountering a similar problem will find this post and known how to 
> fix things.
>
> Thanks to Romain and anyone else who looked into this.
>
> Al.
> ---
>
> * Written an Android App? - List it athttp://andappstore.com/*
>
> ======
> Funky Android Limited is registered in England & Wales with the 
> company number  6741909. The registered head office is Kemp House, 
> 152-160 City Road, London,  EC1V 2NX, UK.
>
> The views expressed in this email are those of the author and not 
> necessarily those of Funky Android Limited, it's associates, or it's 
> subsidiaries.
>
> -----Original Message-----
> From: android-framework@googlegroups.com
>
> [mailto:android-framew...@googlegroups.com] On Behalf Of Al Sutton
> Sent: 02 April 2009 10:52
> To: android-framework@googlegroups.com
> Subject: RE: Problem building CupCake
>
> java version "1.6.0_07"
> Java(TM) SE Runtime Environment (build 1.6.0_07-b06) Java HotSpot(TM) 
> Client VM (build 10.0-b23, mixed mode, sharing)
>
> The packages installed are;
>
> ii  sun-java6-bin                           6-07-3ubuntu2               
> Sun
> Java(TM) Runtime Environment (JRE) 6 (ar ii  sun-java6-jdk                
          
> 6-07-3ubuntu2               Sun
> Java(TM) Development Kit (JDK) 6
> ii  sun-java6-jre                           6-07-3ubuntu2               
> Sun
> Java(TM) Runtime Environment (JRE) 6 (ar
>
> ---
>
> * Written an Android App? - List it athttp://andappstore.com/*
>
> ======
> Funky Android Limited is registered in England & Wales with the 
> company number  6741909. The registered head office is Kemp House, 
> 152-160 City Road, London,  EC1V 2NX, UK.
>
> The views expressed in this email are those of the author and not 
> necessarily those of Funky Android Limited, it's associates, or it's 
> subsidiaries.
>
> -----Original Message-----
> From: android-framework@googlegroups.com
> [mailto:android-framew...@googlegroups.com] On Behalf Of Romain Guy
> Sent: 02 April 2009 10:40
> To: android-framework@googlegroups.com
> Subject: Re: Problem building CupCake
>
> What JDK are you using?
>
> On Thu, Apr 2, 2009 at 2:32 AM, Al Sutton <a...@funkyandroid.com> wrote:
>
> > I'm on Ubunyu 8.04-LTS, I've followed the instructions from the 
> > webpage, but every time I try to run make I hit;
>
> > Copying 
> > out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/
> > classes-full-debug.jar
> > Copying: 
> > out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/
> > classes.jar
> > target Dex: framework
> > target Jar: framework (out/target/common/obj/JAVA_LIBRARIES/
> > framework_intermediates/javalib.jar)
> > host layoutlib_create: out/host/common/obj/JAVA_LIBRARIES/
> > temp_layoutlib_intermediates/javalib.jar
> > Output: out/host/common/obj/JAVA_LIBRARIES/
> > temp_layoutlib_intermediates/javalib.jar
> > Input :      
> > out/target/common/obj/JAVA_LIBRARIES/core_intermediates/
> > classes.jar
> > Input :      out/target/common/obj/JAVA_LIBRARIES/
> > framework_intermediates/classes.jar
> > Exception in thread "main" java.lang.NoClassDefFoundError: org/ 
> > objectweb/asm/ClassWriter
> >        at com.android.tools.layoutlib.create.Main.main(Main.java:45)
> > Caused by: java.lang.ClassNotFoundException:
> > org.objectweb.asm.ClassWriter
> >        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
> >        at java.security.AccessController.doPrivileged(Native Method)
> >        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> >        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> >        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:
> > 276)
> >        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
> >        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:
> > 319)
> >        ... 1 more
> > make: *** [out/host/common/obj/JAVA_LIBRARIES/
> > temp_layoutlib_intermediates/javalib.jar] Error 1
>
> > Does anyone have any ideas as to how I can get passed this?
>
> > Al.
>
> --
> Romain Guy
> Android framework engineer
> romain...@android.com
>
> Note: please don't send private questions to me, as I don't have time 
> to provide private support.  All such questions should be posted on 
> public forums, where I and others can see and answer them
>
>



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"android-framework" group.
To post to this group, send email to android-framework@googlegroups.com
To unsubscribe from this group, send email to 
android-framework+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/android-framework?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to