As a workaroud I tried with apkbuilder.bat

apkbuilder <appname>.apk -v -z <library>.zip -f resources.ap_ -f
classes.dex –f AndroidManifest.xml

running:
adb install <appname>.apk

379 KB/s (0 bytes in 151938.000s)
        pkg: /data/local/tmp/<appname>.apk
Failure [INSTALL_FAILED_INVALID_APK]

can anybody see, what is wrong?
--

On Aug 20, 11:21 am, [EMAIL PROTECTED] wrote:
> The same behaivour occurs on my development environment. (Windows XP ;
> Eclipse 3.4)
> I am using a library (.dex file) packaged as .jar file in my
> application.
> ADT creates the file <appname>.apk but brings the message:
> "Could not find <appname>.apk"
>
> "adb install <appname>.apk" brings EOCD not found, not Zip.
> --
>
> On Aug 20, 7:23 am, Needle <[EMAIL PROTECTED]> wrote:
>
> > Update: This happens only when I package additional jar files with the
> > application. The .apk file created by the eclipse plugin is somehow
> > corrupted.
>
> > On Aug 19, 6:15 pm, Needle <[EMAIL PROTECTED]> wrote:
>
> > > After upgrading both the android 0.9 SDK and the ADT plugin in eclipse
> > > I am having trouble launching my application. I am using the standard
> > > eclipse run configuration that is created by ADT plugin. The error
> > > message in Android console says "Could not find <appname>.apk!" file.
>
> > > The ADT plugin is creating this file in bin folder of my project and
> > > if I try to manually install this .apk file using command "adb install
> > > <appname>.apk" it says EOCD not found, not Zip.
>
> > > I can launch the eclipse emulator from command line.

--~--~---------~--~----~------------~-------~--~----~
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]
Announcing the new Android 0.9 SDK beta!
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to