Android INSTALL_FAILED_INVALID_URI [英] Android INSTALL_FAILED_INVALID_URI
问题描述
当我尝试通过 Eclipse 将 Android 应用程序安装到设备时,我刚刚开始收到以下错误:
I just started getting the following error when I attempt to install an Android application to a device through Eclipse:
Installation failed due to invalid URI!
Please check logcat output for more details.
Launch canceled!
我还尝试在 bin
文件夹中安装 APK 和通过 adb 签名的 APK.当我这样做时,我收到一个 INSTALL_FAILED_INVALID_URI
错误.
I've also tried installing both the APK in the bin
folder and a signed APK through adb. When I do this, I get an INSTALL_FAILED_INVALID_URI
error.
我没有对我的设置进行任何更改,它曾经可以正常工作.
I haven't changed anything about my setup, and it used to work without a problem.
有什么想法吗?谢谢!
LogCat 输出:
D/AndroidRuntime(32345): CheckJNI is OFF
D/dalvikvm(32345): Unable to stat classpath element '/system/framework/com.orange.authentication.simcard.jar'
D/AndroidRuntime(32345): Calling main entry com.android.commands.pm.Pm
V/Performance(32111): >>com.android.defcontainer.DefaultContainerService@40d944a8 onCreate
V/Performance(32111): <<com.android.defcontainer.DefaultContainerService@40d944a8 onCreate, 3ms
V/Performance(32111): >>com.android.defcontainer.DefaultContainerService@40d944a8 onBind
V/Performance(32111): <<com.android.defcontainer.DefaultContainerService@40d944a8 onBind, 1ms
W/asset (32111): Asset path /data/local/tmp/CS2110Project.apk is neither a directory nor file (type=0).
W/DefContainer(32111): Failed to parse package
W/ActivityManager( 744): No content provider found for permission revoke: file:///data/local/tmp/CS2110Project.apk
D/dalvikvm( 744): GC_EXPLICIT freed 1196K, 36% free 20088K/31267K, paused 10ms+14ms
D/AndroidRuntime(32345): Shutting down VM
I/AndroidRuntime(32345): NOTE: attach of thread 'Binder Thread #3' failed
D/dalvikvm(32345): GC_CONCURRENT freed 135K, 72% free 578K/2048K, paused 1ms+1ms
D/dalvikvm(32345): Debugger has detached; object registry had 1 entries
推荐答案
原来是 ROM 问题.我重新刷到更新的 ROM,现在一切正常.实际上似乎是一个相当普遍的问题.
Turned out to be a ROM issue. I reflashed to a newer ROM and everything works just fine now. Seems to be a fairly common problem actually.
这篇关于Android INSTALL_FAILED_INVALID_URI的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!