尝试将我的应用部署到Android设备时,我收到以下错误:
Deployment failed because of an internal error: Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE]
Run Code Online (Sandbox Code Playgroud)
我知道这个问题,但没有安装该应用程序.在尝试部署期间,Visual Studio已将其删除/部分删除.
在过去,我通过从Google Play商店下载应用程序然后从设置 - >应用程序管理器中删除它来解决此问题.但是,现在我在尝试安装它时收到错误"不兼容的更新".
我尝试使用Titanium Backup删除它,但其他一些东西却没有运气.
编辑1
我意识到(来自@Motz)我没有提到明显的解决方案不起作用.即,该应用程序不会出现在设置 - >应用程序中
我正在使用Cordova构建Android应用程序.Android模拟器工作正常,但我没有使用它,因为我安装了Ripple模拟器.我继续构建我的应用程序,但某处模拟器已损坏.
当我执行以下操作时:
cordova create test
cordova platform add android
cordova build
cordova emulate
Run Code Online (Sandbox Code Playgroud)
导致以下错误:
Error: An error occurred while emulating/deploying the android project.
events.js:72
throw er; // Unhandled 'error' event
^
Error: spawn ENOENT
at errnoException (child_process.js:980:11)
at Process.ChildProcess._handle.onexit (child_process.js:771:34)
]
Run Code Online (Sandbox Code Playgroud)
我安装了Cordova 3.2和Android 4.3 API以及4.4.我试着重新安装Cordova
npm uninstall cordova
Run Code Online (Sandbox Code Playgroud)
并重新安装它,但它仍然产生相同的错误.我还重新安装了Android SDK.这是我运行run.bat时的日志--emulator:
['adb devices',null,'附加设备列表\ r \n\r \n',''] exec:android list avds ['android list avds',null,'可用的Android虚拟设备:\n名称: AVD_for_Nexus_S \n路径:C:\\用户\\ Evers \\.android \\ avd \\ AVD_for_Nexus_S.avd \n目标:Android 4.4(API lev el 19)\n ABI:armeabi-v7a \n皮肤:480x800 \n',''] exec:android list avds …