Android INSTALL_FAILED_INVALID_URI

android, apk

Solution

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.

Problem

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! ``` 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. Any ideas? Thanks! LogCat output: ``` 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 ```

Original source