我有一个在 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模板网!
使用 GPS 获取用户的当前位置Get user#39;s current location using GPS(使用 GPS 获取用户的当前位置)
requestLocationUpdate() 抛出的 IllegalArgumentExceptionIllegalArgumentException thrown by requestLocationUpdate()(requestLocationUpdate() 抛出的 IllegalArgumentException)
LocationManager 的 getLastKnownLocation 有多可靠,多久更How reliable is LocationManager#39;s getLastKnownLocation and how often is it updated?(LocationManager 的 getLastKnownLocation 有多可靠,多久更新
如何检测位置提供者?GPS 或网络提供商How to detect Location Provider ? GPS or Network Provider(如何检测位置提供者?GPS 或网络提供商)
在应用启动期间获取当前位置Get current location during app launch(在应用启动期间获取当前位置)
locationManager.getLastKnownLocation() 返回 nulllocationManager.getLastKnownLocation() return null(locationManager.getLastKnownLocation() 返回 null)