Phonegap
应用未安装在真实设备 LG500
上。
错误是:安装错误:INSTALL_FAILED_INSUFFICIENT_STORAGE
有什么建议吗?
最佳答案
You need to do two things after which this error will be resolved.
1. In your AndroidManifest.xml file add android:installLocation="preferExternal" within your manifest tag.
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.packagename.appname"
android:versionCode="1"
android:versionName="1.0"
android:installLocation="preferExternal">
2. More importantly, clear the cache data in your device. Goto settings -> storage -> click on cached data. This will clear the cache and free the space.
3. Reconnect your device, clean your project and again run it on the device. The project will now run on your device.
关于android - 安装错误 : INSTALL_FAILED_INSUFFICIENT_STORAGE Android phonegap,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12275385/