android 安装apk出错-INSTALL_PARSE_FAILED_UNEXPECTED_EXCEPTION
2014-02-26 09:58
411 查看
今天写了一个程序安装时出错,
Installation error: INSTALL_PARSE_FAILED_UNEXPECTED_EXCEPTION
Please check logcat output for more details.
到logcat看
ActivityManager No content provider found for:
PackageParser /data/app/vmdl1441564799.tmp
提示太少,网上搜的答案不太对,有按着代码从头检查,发现
<activity
android:name="com.example.homecp.Delete"
android:label="@string/app_name" >
<intent-filter>
<action android:name="deleteAction" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="vnd.android.cursor.item.delete"/>//这一行代码错误 正确的是"vnd.android.cursor.item/delete"
</intent-filter>
</activity>
马虎的错误。
Installation error: INSTALL_PARSE_FAILED_UNEXPECTED_EXCEPTION
Please check logcat output for more details.
到logcat看
ActivityManager No content provider found for:
PackageParser /data/app/vmdl1441564799.tmp
提示太少,网上搜的答案不太对,有按着代码从头检查,发现
<activity
android:name="com.example.homecp.Delete"
android:label="@string/app_name" >
<intent-filter>
<action android:name="deleteAction" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="vnd.android.cursor.item.delete"/>//这一行代码错误 正确的是"vnd.android.cursor.item/delete"
</intent-filter>
</activity>
马虎的错误。
相关文章推荐
- Android JNI知识简介
- 解决android-support-v4.jar引用外部项目冲突问题
- android中读取SD卡上的数据
- android动画 fillBefore 和 fillAfter的用法
- Caused by: java.lang.NoSuchMethodException: <init> [class android.content.Context, interface android
- Android 字符串文件的用处
- Android自动化测试工具调研
- 成为android开发高手要掌握的技能
- android中的文件存储
- 【android4.3】记一次完整的android源码截屏事件的捕获(不同于网上的老版本)
- Android瀑布流照片墙实现,体验不规则排列的美感
- Android中可以暂停和恢复的线程
- JNI 遇到的问题
- 虚拟化技术加速Android模拟器尝试
- android实现共享数据
- 杭州_大雲架構師_培訓課程
- android如何使得电阻屏在第一次开机时自动叫起屏幕校准程序
- android资料下载地址汇总
- 【Android】Android性能测试之MAT的使用
- Android Activity task 相关属性