标签:
做android开发的可能都碰到”java.lang.RuntimeException: Unable to instantiate activity ComponentInfo”过这个异常,
有时是
Conslole
会出现Installation error: INSTALL_PARSE_FAILED_MANIFEST_MALFORMED
[html] view plaincopy在CODE上查看代码片派生到我的代码片
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.location.activity"
android:versionCode="1"
android:versionName="1.0" >
<application
android:icon="@drawable/ic_launcher"
android:label="@string/app_name" >
<activity
android:name="com.location.activity.LocationActivity"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
......
java.lang.RuntimeException: Unable to instantiate activity ComponentInfo异常总结
标签:
原文地址:http://www.cnblogs.com/ganwei/p/4872320.html