what JDK are you using? If you are not using sun-jdk, you should be. Xav
On Thu, Aug 6, 2009 at 10:34 AM, <[email protected]> wrote: > > HI all, > > I'm seemingly having problems creating the apk using an ant build for > 1.5. It's building so > I'm guessing the sdk pointer in local.properties is set correctly, but > it seems to not be finding > sun.security.x509.* (?). I can see that jarutils.jar is in > > ~/android-sdk-linux_x86-1.5_r2/tools/lib/jarutils.jar > > and contains: > META-INF/ > META-INF/MANIFEST.MF > java-source-list-uniq > com/ > com/android/ > com/android/jarutils/ > com/android/jarutils/DebugKeyProvider$IKeyGenOutput.class > com/android/jarutils/DebugKeyProvider$KeytoolException.class > com/android/jarutils/DebugKeyProvider.class > com/android/jarutils/SignedJarBuilder$SignatureOutputStream.class > com/android/jarutils/SignedJarBuilder$IZipEntryFilter.class > com/android/jarutils/SignedJarBuilder.class > com/android/jarutils/JavaResourceFilter.class > com/android/jarutils/KeystoreHelper$1.class > com/android/jarutils/KeystoreHelper$2.class > com/android/jarutils/KeystoreHelper.class > > > Here's the traceback spew... any help?? > > > release: > [apkbuilder] Creating .Phresheez-unsigned.apk for release... > > BUILD FAILED > java.lang.NoClassDefFoundError: com.android.jarutils.SignedJarBuilder > at java.lang.Class.initializeClass(libgcj.so.10) > at com.android.apkbuilder.ApkBuilder.createPackage(ApkBuilder.java:367) > at com.android.ant.ApkBuilderTask.createApk(ApkBuilderTask.java:286) > at com.android.ant.ApkBuilderTask.execute(ApkBuilderTask.java:201) > at org.apache.tools.ant.UnknownElement.execute(ant-1.7.1.jar.so) > at java.lang.reflect.Method.invoke(libgcj.so.10) > at org.apache.tools.ant.dispatch.DispatchUtils.execute(ant-1.7.1.jar.so) > at org.apache.tools.ant.Task.perform(ant-1.7.1.jar.so) > at org.apache.tools.ant.Target.execute(ant-1.7.1.jar.so) > at org.apache.tools.ant.Target.performTasks(ant-1.7.1.jar.so) > at org.apache.tools.ant.Project.executeSortedTargets(ant-1.7.1.jar.so) > at org.apache.tools.ant.Project.executeTarget(ant-1.7.1.jar.so) > at > org.apache.tools.ant.helper.DefaultExecutor.executeTargets(ant-1.7.1.jar.so) > at org.apache.tools.ant.Project.executeTargets(ant-1.7.1.jar.so) > at org.apache.tools.ant.Main.runBuild(ant-1.7.1.jar.so) > at org.apache.tools.ant.Main.startAnt(ant-1.7.1.jar.so) > at org.apache.tools.ant.launch.Launcher.run(ant-launcher-1.7.1.jar.so) > at org.apache.tools.ant.launch.Launcher.main(ant-launcher-1.7.1.jar.so) > Caused by: java.lang.ClassNotFoundException: sun.security.x509.AlgorithmId > at > org.apache.tools.ant.AntClassLoader.findClassInComponents(ant-1.7.1.jar.so) > at org.apache.tools.ant.AntClassLoader.findClass(ant-1.7.1.jar.so) > at org.apache.tools.ant.AntClassLoader.loadClass(ant-1.7.1.jar.so) > at java.lang.ClassLoader.loadClass(libgcj.so.10) > at java.lang.Class.initializeClass(libgcj.so.10) > ...17 more > > > > -- Xavier Ducrohet Android Developer Tools Engineer Google Inc. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

