Installation failed due to an invalid URI

前端 未结 3 817
情深已故
情深已故 2021-01-21 10:09
[2013-07-21 11:14:01 - AndroidTrial] Installation failed due to invalid URI!
[2013-07-21 11:14:01 - AndroidTrial] Please check logcat output for more details.
[2013-07-2         


        
3条回答
  •  醉梦人生
    2021-01-21 10:38

    This error can point to so many different things, and there is many different fixes. To sum those I've gathered:

    1. Problems with Eclipse: Clean project, rebuild project, restart eclipse.
    2. Invalid characters: Remove any special characters in Eclipse project name. Use only [a-z] and [0-9] not even [ ] (whitespace)
    3. Error in included jar: Try without jar and see if it runs, if does fix somehow.
    4. Errors in manifest package setup: Right click in eclipse on project -> Android tools -> Rename application package (rename to something similar, you can always rename back).
    5. Problems with device: Remove app from device and try re install.
    6. Rom issue: If you use custom ROM try to reflash to a new ROM.
    7. Debugging not enabled: On phone go to Settings -> Applications -> Allow unknown sources/enable debugging (this path can vary for different devices)

提交回复
热议问题