简体   繁体   中英

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-

原木猫

And below is my manifest where the class is defined.

表现

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(eg 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

演示如何清理蚀项目的图像

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM