解决Android Studio编译后安装apk报错:The APK file does not exist on
来源:互联网 发布:韦德去骑士数据 编辑:程序博客网 时间:2024/05/22 06:57
1、错误描述
今天用Android Studio编译应用后安装APK的时候,报错了,错误如下所示:
The APK file build\outputs\apk\OYP_2.3.4_I2Base_6476_official_debug.apk does not exist on disk.Error while Installing APK
如下图所示
2、解决方法
1、尝试了Build -> Clean Project再编译,还是无效
2、尝试重启Android Studio无效
然后我去打开build\outputs\apk\目录,发现里面编译好了APK文件,不过文件名确实:
OYP_2.3.4_I2Base_6478_official_debug.apk
如下图所示:
因此原因就是,Android Studio编译好之后的APK文件是
OYP_2.3.4_I2Base_6478_official_debug.apk
而它要安装APK文件名确实
OYP_2.3.4_I2Base_6476_official_debug.apk
因此就会报错了。Google查了一下错误,在http://stackoverflow.com网站上有一篇关于此错误的解决方法,链接如下所示:
http://stackoverflow.com/questions/34039834/the-apk-file-does-not-exist-on-disk
解决方法:
如下图所示:
第一步:点击Android Studio侧边栏的Gradle按钮,如下所示
第二步:刷新下Gradle的配置
第三步:重新编译即可,不会再报错。
0 0
- 解决Android Studio编译后安装apk报错:The APK file does not exist on
- Android Studio编译后安装apk报错:The APK file does not exist on disk
- Android Studio编译后安装apk报错:The APK file does not exist on
- Android Studio编译后安装apk报错:The APK file does not exist on disk
- 解决Android Studio编译后安装apk报错:The APK file does not exist on disk
- 解决Android Studio编译后安装apk报错:The APK file does not exist on disk
- 解决Android Studio编译后安装apk报错:The APK file does not exist on disk
- 解决Android Studio编译后安装apk报错:The APK file does not exist on disk
- 解决Android Studio编译后安装apk报错:The APK file does not exist on disk
- 我的Android进阶之旅------>解决Android Studio编译后安装apk报错:The APK file does not exist on disk
- Android Studio The APK file does not exist on disk
- Android Studio The APK file does not exist on disk
- Android Studio 报 The APK file does not exist on disk
- 解决Android studio 编译时报错debug.apk does not exist on disk. Error while Installing APK
- The APK file **** does not exist on disk
- The APK file does not exist on disk
- EmptyThrowable: The APK file does not exist on disk.
- The APK file does not exist on disk
- ThinkPHP菜鸟实现的增删改查
- 常用网站
- 9.7数据类型篇
- RandomAccessFile写入时中文乱码解决方案
- easy_install 和pip的区别
- 解决Android Studio编译后安装apk报错:The APK file does not exist on
- Redis在windows下集群搭建
- CIContext drawImage 速度很慢
- 推荐一款linux下的对比工具
- 仿QQ相册RecyclerView滑动选中进阶
- 第二周项目2-程序的多文件组织
- 【Linux】Linux命令英文全称解释
- 字节,字符流转换工具
- ajax写级联效果,动态从数据库获取数据