关于解决Installation failed due to invalid APK file! Please check logcat output for more details.Launch
来源:互联网 发布:echo 数字数组 编辑:程序博客网 时间:2024/04/30 02:07
今天遇到了这个问题,当建好一个工程之后,运行会出现错误:
Installation failed due to invalid APK file!
Please check logcat output for more details.Launch canceled!
意思是:由于无效的APK文件安装失败!这种情况无论是重启什么都不行。
解决方法有以下几种:
1.选中你的项目右击—>点击“properties(一般都是最后一个选项)”—>选择“Java Build Path”——>在右边显示选项中选择“Source”——>将显示框内以“gen”结尾的文件“remov”掉——>点击“OK”,回到项目中,将自动生成的"gen"右击选择“删除”(一般这个文件在src目录下面)——>点击Eclipse上面的“Project”选项,点击“clean”——>选择“Clean projects selected below”,勾上你出问题的项目,“OK”——>运行你的Android项目。
2.查看你gen目录下的包名,不要出现“._”这种情况,如果出现这种情况,需要重新建立Android项目,因为“gen”文件是自动生成的,不能修改。在你重建的项目的时候包名不要出现上述情况。
在此谨记!!!
0 0
- 关于解决Installation failed due to invalid APK file! Please check logcat output for more details.Launch
- Installation error: INSTALL_FAILED_INSUFFICIENT_STORAGE Please check logcat output for more details
- Installation error: INSTALL_FAILED_UPDATE_INCOMPATIBLE Please check logcat output for more details.
- Installation error: INSTALL_CANCELED_BY_USER [...]Please check logcat output for more details. [...
- Please check logcat output for more details
- 解决Installation failed due to invalid APK file!问题
- Installation failed due to invalid APK file!
- Installation failed due to invalid APK file!
- Installation failed due to invalid APK file!问题
- Installation failed due to invalid APK file!问题
- Installation failed due to invalid APK file!问题解决
- Installation failed due to invalid APK file!错误
- android Installation failed due to invalid APK file 错误
- Installation failed due to invalid APK file!解决办法
- Mount failed. Please check the log file for more details gluster
- Android Studio 安装出错 Failed to install Intel HAXM. For details, please check the installation log
- Android模拟机出现Installation failed due to invalid APK file错误
- Android模拟机出现Installation failed due to invalid APK file错误
- 互联网金融-众筹网站收集(转)
- 第 9 章 子窗口控件
- QT 中QMessageBox的用法
- oracle查询锁表解锁语句
- TextView加下划线的3种方式
- 关于解决Installation failed due to invalid APK file! Please check logcat output for more details.Launch
- 设计模式 一一一 简单工厂模式(静态工厂方法模式)
- Elasticsearch-PHP 处理JSON数组和对象
- Generating Unique Random Numbers in Java
- Log4c使用
- 设计模式 一一一 工厂方法模式
- Mac下/usr/include缺失
- pjsip之PJNATH简介(1)
- 设计模式 一一一 抽象工厂模式