Note that there are some explanatory texts on larger screens.

plurals
  1. POAndroid Signed APK showing incomplete
    text
    copied!<p>I have signed the application using Eclipse's Export Wizard. When I published this, users started complaining that the application is behaving incorrectly. (Basically, the APK did not have necessary images &amp; audio and hence showing incorrect behaviour). </p> <p>Some information on Application and Signing which I have tried. </p> <ol> <li>I have a lite version and paid version. Both are signed with same keypair. The lite version is working perfectly and full version is giving error.</li> <li>I have tried to export the signed packages again and tried to install directly in device (instead of uploading to market). Same behaviour (i.e Lite apps works correctly and full version not proper)</li> <li>Both Full Version and Lite Version uses shared Library (Code base is identical. Differences as follows.</li> <li>Full Version has 5 times the resources of lite version. The lite version apk is ~2.6MB and full version is ~10.4MB. <em>In Full Version I have 170 images (mostly png's of 5-10 KB) and ~55mp3 files. In Lite Version I have 45 images and 15 mp3s</em></li> <li>Full Version has LVL (License Verification) implemented and Lite Version doesnot. Once LVL is passed, the code simply calls the Library Class</li> <li>If I use Eclipse to build and deploy full version to phone (or emulator), it works correctly. (I guess this build and deploy will use debug key for signing)</li> <li>I have error handling within the code to show code to show a dummypic (a question mark) if resource is missing. All my images are replaced with that question mark. Just to add.. This dummypic is in the Library and all other resources(images) are in Full Version. </li> <li>I have checked the resources by renaming the signed apk file to .zip (thanks to NickT for suggesting this approach). All resource files (audio and images) are present in the zip file. </li> </ol> <p>Any help is appreciated. The application is already in market and hence would like to minimise adverse impact. </p> <p><strong>Removed LVL. Still same error</strong></p> <p>Tried commenting the LVL code and directly calling the intent. Still same error. By commenting the LVL, the code base for Lite and Full Version is identical. Only the resouce count is different. The full version has all the resources of Lite Version + ~5times the resource. </p> <p><strong>Update</strong> This is how I temporarily fixed it. I removed the library project and moved all classes and resources to the Implementation Project (Full Version). Now it is working. </p> <p>As said, this is a temp fix only. I still need to know how I can fix this with library. Else I will have to create a lot of duplication of code. </p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload