Play store error: can't install app try again, and it still doesn't work, see common ways to fix the problem

戏子无情 提交于 2020-05-30 08:14:08

问题


Ive released a new app on the play store yesterday and it was published. However when I try to download and install it shows this error: can't install app X try again, and it still doesn't work, see common ways to fix the problem.

I've tried to clear play store cache, data, reset the phone several times. Tried on my Xiami Redmi note 5, also tried on another redmi not 7. Same error happens.

PS: I know that the app is working because installing it through Android Studio works perfectly fine. However when uploading to Play Store and trying to download it does not work. Also I've saw that after I've generated the APK file, it does not work. Ive tried to install using the APK file and it showed: "App was not installed"


回答1:


Ive ended up solving my problem by removing this line of code on the maniffest file:

android:protectionLevel="signature"

So sad that Google dont have a report to debug this problem... I had a lot of trouble to find it.




回答2:


I encountered this same problem some weeks ago and in my case the app wasn't installing for only Android 9.0 (pie) but installed on other devices.

After lots of sleepless nights I discovered that I was replacing an existing attribute from the manifest merger using the tools:replace attribute but I was specifying an empty string value to the replaced attribute.

Which in my case was the appComponentFactory attribute.

So if you have these lines of code or anything similar in your manifest, remove them completely or specify an actual value for the attribute you're replacing.

<application . tools:replace="appComponentFactory" android:appComponentFactory=" " > . . </application>



来源:https://stackoverflow.com/questions/58541206/play-store-error-cant-install-app-try-again-and-it-still-doesnt-work-see-co

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!