安装错误:安装失败\u存储不足\u Android phonegap
安装错误:安装失败\u存储不足\u Android phonegap,android,cordova,Android,Cordova,Phonegap应用程序未安装在真实设备上LG500 错误为:安装错误:安装失败\u存储不足 有什么建议吗?从您计划安装的设备中删除应用程序(如果已经安装),然后重试。这太愚蠢了,但在我的情况下,问题是: 有足够的可用磁盘空间来存储应用程序,但我的主屏幕上没有可用的“空间”来容纳图标-网格中的所有位置都已满。 我通过在主屏幕上添加一个新的“页面”来解决这个问题,这样就有了适合应用图标的空间 我花了几个小时来解决-在Android清单中使用三星Galaxy S2和Android 4.1.2,只需在
Phonegap
应用程序未安装在真实设备上LG500
错误为:安装错误:安装失败\u存储不足
有什么建议吗?从您计划安装的设备中删除应用程序(如果已经安装),然后重试。这太愚蠢了,但在我的情况下,问题是: 有足够的可用磁盘空间来存储应用程序,但我的主屏幕上没有可用的“空间”来容纳图标-网格中的所有位置都已满。 我通过在主屏幕上添加一个新的“页面”来解决这个问题,这样就有了适合应用图标的空间
我花了几个小时来解决-在Android清单中使用三星Galaxy S2和Android 4.1.2,只需在
标签中添加
,您需要做两件事,然后才能解决此错误。
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.
1.在AndroidManifest.xml文件中,在清单标记中添加android:installLocation=“preferExternal”。
2.更重要的是,清除设备中的缓存数据。转到设置->存储->单击缓存数据。这将清除缓存并释放空间。
3.重新连接设备,清理项目,然后再次在设备上运行它。项目现在将在您的设备上运行。
从临时目录中删除Cordova android软件包有助于:
adb shell rm/data/local/tmp/android debug.apk
adb shell ls/data/local/tmp/
adb shell rm/data/local/tmp/android版本未签名。apk