views:

214

answers:

2

Hi ,

iam facing problem in creating the .apk file using the ant script . The generated .apk named as _unaligned.apk instead of .apk and on installing the _unaligned.apk file to the device i get force-close showing the java.lang.VerifyError exaception , but the same apk generated using IDE works fine . i am struck on this for a long time , is it possible for you to share the build.xml file that generates the .apk file .

thank you and regards

Sheik Ahmed.j

A: 

You'll need to use zipalign & sign your apk with some key; as long as you're testing the app you can simply use the debug key with ant debug

At least that's what I understand from this page which you may want to read carefully.

Joubarc
A: 

But as the OP said, do you have a sample code?

jonney