fix: resolve crash on Play Store version
- Closes https://github.com/mlcommons/mobile_app_open/issues/893
MLCommons CLA bot All contributors have signed the MLCommons CLA ✍️ ✅
@anhappdev do you want me to try out this version of the app from the playstore?
@anhappdev do you want me to try out this version of the app from the playstore?
Yes. Please.
@anhappdev do you want me to try out this version of the app from the playstore?
Yes. Please.
i see the play store version was updated on 18th June. Can you push the apk with these fixes as well to playstore?
i see the play store version was updated on 18th June. Can you push the apk with these fixes as well to playstore?
@mohitmundhragithub I am not sure why it shows that date. Can you check the app build number in the settings screen. The build number from this PR should be 156?
the latest version that i downloaded is 156 only.
but sadly, this also doesn't work.
@mohitmundhragithub Ok. Thanks for the feedback. Is the crash occurred on any Android devices with the QTI backend or only on the Galaxy S23?
I tried the apk on another device (Samsung galaxy tab s8+, SD8Gen1). It crashes there as well.
Sadly I am still unable to upload the device logs... but following up with IT team internally.
@anhappdev please add [email protected] for internal testing
Hi Anh,
Finally able to upload the logs. Can you please check?
It looks like the same issue we have here: https://github.com/mlcommons/mobile_app_open/pull/859#issuecomment-1969462799
For this issue, I still cannot find a solution.
actually the symptom (final log) for failure is same. But the reason would be different. Seems like when uploading to playstore, the DSP access gets denied but not otherwise.
Seems like we are missing some checks when uploading to playstore?
Let's see if we can
- aab (in the CI) -> apk
- try to get technical support from Play Store?
- @freedomtan to try on MTK devices (or Samsung devices).
Works on
- MTK devices: both newer .dla and older TFLite Neuron Delegate work
- Pixel 8 Pro: works
@AhmedTElthakeb and @Mostelk: please check if the Play Store apk works on Exynos devices.
I opened a support ticket on Google Play, but they don't provide support for this kind of issue. Here is their answer:
Thanks for reaching out to Google Play Technical Support. Although I’m happy to answer any questions about managing your apps on the Google Play Console, our team isn’t trained to provide technical support for app development questions.
@AhmedTElthakeb will try to run the in Play Store one w/ SELinux disabled (if that works, we are almost sure that there is some kind of permission setting problem).
Quality Gate passed
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
I don't know if it makes a different, but I deployed the app to the closed testing channel. Compared to the internal testing channel, a user still needs to be invited to join the testing program (so it's not public), but the app is reviewed by Google on every release, so I hope maybe the app will not be classified as "untrusted app" anymore.
@mohitmundhragithub @AhmedTElthakeb Can you please test the app (v4.1.0 (164)) again: https://play.google.com/apps/testing/org.mlcommons.android.mlperfbench
I don't know if it makes a different, but I deployed the app to the closed testing channel. Compared to the internal testing channel, a user still needs to be invited to join the testing program (so it's not public), but the app is reviewed by Google on every release, so I hope maybe the app will not be classified as "untrusted app" anymore.
@mohitmundhragithub @AhmedTElthakeb Can you please test the app (v4.1.0 (164)) again: https://play.google.com/apps/testing/org.mlcommons.android.mlperfbench
didn't work on GS23Ultra.
on rooted device, adb shell then setenfoce 0, and adb shell setenforce 0 (meaning disabling all the permission checks by the SELinux). @mohitmundhragithub and @AhmedTElthakeb
I think I found one workaround for the issue.
For QTI backend, if we push few of the dependent libs to the "files" folder, instead of packing it in the apk's "lib" folder, then the issue gets resolved for qti backend. I want to try it out for the app to be downloaded from the play store.
@anhappdev, i will push a change to this PR... can you please help to push the aab file to the playstore? i can test with that.
@mohitmundhragithub You can just push directly to this branch anh/debug-play-store-version. The CI will deploy the AAB to Play Store automatically.
It will also reopen the PR.
@mohitmundhragithub You can just push directly to this branch
anh/debug-play-store-version. The CI will deploy the AAB to Play Store automatically.
@anhappdev , the app got deployed to play store successfully, but the date in play store still shows 21st july. How long does it take to update?
@anhappdev , the app got deployed to play store successfully, but the date in play store still shows 21st july. How long does it take to update?
I don't know that. And I don't know if that date get updated. But you can check the build number displayed in the app settings screen to make sure it's the expected version.
it says version: 4.1.0 | build: 164... which seems to be same as before :(
@anhappdev , the app got deployed to play store successfully, but the date in play store still shows 21st july. How long does it take to update?
I don't know that. And I don't know if that date get updated. But you can check the build number displayed in the app settings screen to make sure it's the expected version.
@anhappdev, can you please push it manually?
@anhappdev, can you please push it manually?
The app 4.1.0 (245) is available on the internal track. Maybe you can try delete and reinstall the current version on your phone?
@anhappdev, can you please push it manually?
The app
4.1.0 (245)is available on the internal track. Maybe you can try delete and reinstall the current version on your phone?
https://play.google.com/store/apps/details?id=org.mlcommons.android.mlperfbench&pcampaignid=web_share
Is this the correct link? Somehow for my account, its not showing the correct version. I tried unisntalling / installing again on multiple devices.
@anhappdev, can you please push it manually?
The app
4.1.0 (245)is available on the internal track. Maybe you can try delete and reinstall the current version on your phone?https://play.google.com/store/apps/details?id=org.mlcommons.android.mlperfbench&pcampaignid=web_share
Is this the correct link? Somehow for my account, its not showing the correct version. I tried unisntalling / installing again on multiple devices.
may be it takes some time to reach my region (india). will wait for some more time.