Search code examples
androidgoogle-playnoclassdeffounderrorzipalign

App Crashes from playstore


I have an app..I exported the signed apk and uploaded to play store.. When I run signed apk from my computer, it runs fine, but when I download the same from play store, it crashes... I connected the log-cat, it says no classdef found for one of my classes.. But I checked my manifest many times.. I have defined the class there. What shall I do

Below is my logcat-

Log Cat

And below is my manifest where the class is defined.

Manifest


Solution

  • I've had similar problems with eclipse, and each time I publish to Play Store, before uploading the APK I verify that its built correctly

    You can do that by installing the exported APK to your device by using ADB and only after verifying the build works correctly should you upload it to Play Store

    You can install the exported apk to your device by issuing the following commands in command prompt/adb

    adb install build.apk
    

    where build.apk is the name of the built apk binary

    If you end up with build that fails to run(e.g. by similar exception you now received), try to "Clean Project" from eclipse's menu, it have helped me most of time with these kind of crashes after building

    image demonstrating how to clean eclipse project(s)