简体   繁体   中英

App doesn't work after downloading from Google Play

It's a UCCW app skin... The app works when I side load it, but for some reason it doesn't work if downloaded from Google Play... I tried updating it, resigned a new apk, and uploaded it to Google Play... Still doesn't work... Had two customer complaints about it today, had one complain a few weeks back... Decided to try downloading it my self, and figure out this was the problem... I also have a couple other UCCW skins, that work after downloading, they all use the same code... I rebuilt the skins, and still doesn't work... I'm not sure what the problem is... Maybe the keystore?... But if it's the keystore, how do I use a new one, to update it in Google Play...

We had a similar issue with a game recently, and it ended up having to do with the difference in APK encyrption in the store post-Jelly Bean. Our fix ended up being how we accessed the bundle's files:

// Get the API version running on the device
int apiVersion = android.os.Build.VERSION.SDK_INT;
if (apiVersion >= 16) {
    // Jelly Bean or later
    Moai.mount("bundle", myApp.sourceDir);
} else {
    // pre-Jelly Bean
    Moai.mount("bundle", myApp.publicSourceDir);
}

Have a look at the full story here .

Check if you are using Google Play's signing service and if anything relies on your app's SHA hash. I had this issue with Amazon Voice Services. Everything worked fine until I used the Google Play version. It was because they were RE-SIGNING the app with their key instead of mine. I wrote an article about it that may help: https://auri.net/2021/07/29/fix-app-no-longer-works-after-uploaded-to-google-play/

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