我的应用程序中有一个问题,有时它安装并运行但有时显示INSTALL_FAILED_INSUFFICIENT_STORAGE并删除我现有的apk。 我尝试通过取消选中即时运行但仍然存在同样的问题。我的设备中有足够的空间但仍然提供相同的空间。
答案 0 :(得分:0)
1.删除设备中安装的旧应用程序并尝试使用agin 2.restart android studio并尝试agin
答案 1 :(得分:0)
检查移动设置
-in开发者模式检查通过USB安装是否正确。
或者在AndroidManifest.xml文件中添加android:installLocation =" preferExternal"在您的清单标签内(外部SD卡)
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.packagename.appname"
android:versionCode="1"
android:versionName="1.0"
android:installLocation="preferExternal">