On Aug 6, 8:14 pm, [email protected] wrote:
> I did have a baseadapter which was an inner class, but moving it outside 
> didn't
> make any difference -- same error. In fact removing any reference to 
> baseadapter
> didn't make a difference either.
>
> I'm not sure what you mean by access it directly: the call is coming from with
> android sdk build stuff -- I don't have access to that.
>
> Mike
>
>
>
> On Thu, Aug 6, 2009 at 10:45 AM, skink<[email protected]> wrote:
>
> > On Aug 6, 7:34 pm, [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
>
> > try to reference SignedJarBuilder in your sources with full path
> > com.android.jarutils.SignedJarBuilder
>
> > if it helps you are in the same situation i was three weeks ago
>
> > i had inner class that extended BaseAdapter
>
> > when i moved that inner class outside everything went ok


ok, i didn't see it comes from android build system, i cannot help
much so...
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to