[G1 Android Development] nick_karstedt:
Ok, I'm trying to build my app with admob .jar library. When I build it with the android eclipse plugin, it claims that the "install was unsuccessful" on my phone. I then tried using the following build.xml with ant. When I put the debug signed version on my phone it works fine. When I try to sign the unsigned .apk, it says:

java.util.zip.ZipException: invalid entry compressed size (expected 30432 but got 30419 bytes)
at java.util.zip.ZipOutputStream.closeEntry(Unknown Source)
at org.ragingcat.shared.util.jar.S_JarOutputStream.s_writeEntry(S_JarOutputStream.java:344)
at org.ragingcat.kst.util.jarsigner.KTLKprOpenSignAbs._s_writeJarEntry(KTLKprOpenSignAbs.java:184)
at org.ragingcat.kst.util.jarsigner.KTLKprOpenSignAbs._signJarFile(KTLKprOpenSignAbs.java:619)
at org.ragingcat.kst.util.jarsigner.KTLKprOpenSignAbs._doJob_(KTLKprOpenSignAbs.java:424)
at org.ragingcat.kst.util.jarsigner.KTLKprOpenSignKPAbs.doJob(KTLKprOpenSignKPAbs.java:312)
at org.ragingcat.kst.util.jarsigner.KTLKprOpenSignJks.doJob(KTLKprOpenSignJks.java:73)
at org.ragingcat.kst.swing.panel.PTabUICmdJsrSign.actionPerformed(PTabUICmdJsrSign.java:235)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

1 ? ERROR (instance ID: 1)
. location: org.ragingcat.share.util.jar.S_JarOutputStream.s_writeEntry(jos, jey, jfeInput, frmOwner, strTitleAppli)
. message: excIO caught

I'm running ant with:

dirs

resource-source

aidl

compile

dex

package-res-and-assets

release

Using latest version of jdk, android sdk, eclipse, and admob sdk

Is there a secret way to use the eclipse android plugin instead of ant? It just never captures the jar files when I use eclipse.

I am so confused and frustrated right now. It's probably some stupid small problem but I cant find it. HLEP!