問題描述
我有一個在 Android 模擬器中運行的程序.我時不時地創建一個簽名的 .apk 并將其導出到我的 HTC Desire 進行測試.一切都很好.
I have a program working in the Android Emulator. Every now and again I have been creating a signed .apk and exporting it to my HTC Desire to test. It has all been fine.
在我最新導出的 .apk 上,當我嘗試安裝 .apk 時收到錯誤消息未安裝應用程序".它在模擬器上運行良好.
On my latest exported .apk I get the error message 'App not installed' when I try to install the .apk. It runs fine on the emulators.
由于我主要是在模擬器上進行測試,并且只是時不時地導出到真機,我不確定這是什么時候發生的.沒有安裝在實體手機上但在模擬器中運行良好的可能原因是什么?
As I have mainly been testing on the emulators and only every now and again exporting to a real phone I am not sure when this happened. What is the likely cause of it not installing on a physical phone but running fine in the emulators?
我已嘗試重啟手機 &刪除現有的 .apk,并不能修復故障.
I have tried rebooting the phone & removing the existing .apk, does not fix the fault.
推薦答案
對我來說,在 Android 9 (API 28) 上,從 Play 商店應用中禁用 Google Play Protect 可以解決問題,我是能夠擺脫 App not Installed
錯誤.
For me, On Android 9 (API 28), disabling Google Play Protect from play store app worked the trick, and i was able to get rid of the App not Installed
error.
禁用 Google Play Protect.打開Play 商店"應用程序 => 點擊在菜單按鈕上 => 選擇播放保護"選項 => 禁用選項掃描設備是否存在安全威脅".
To disable Google Play Protect. Open "Play Store" application => tap on Menu button => select "Play Protect" option => Disable the options "Scan device for security threats".
這篇關于Android上的“未安裝應用程序"錯誤的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!