我运行我的应用程序后发生这种情况: pkg:/data/local/tmp/com.example.calculator.app 失败 [INSTALL_PARSE_FAILED_MANIFEST_MALFORMED]
我可能删除或更改了某些内容,但我不知道是什么...
我的 list :
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.calculator.app" >
<application
android:icon="@drawable/studenticon128"
android:label="@string/app_name"
android:theme="@style/SelectedStyle" >
<activity
android:theme="@style/SelectedStyle"
android:name="com.example.calculator.app.MainScreen"
android:label="@string/app_name" >
>
<meta-data android:name="android.support.UI_OPTIONS"
/>
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:uiOptions="splitActionBarWhenNarrow"
android:name="com.example.calculator.app.Analysis"
android:label="@string/app_name"
android:parentActivityName="com.example.calculator.app.MainScreen">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.example.calculator.app.MainScreen"
/>
<meta-data android:name="android.support.UI_OPTIONS"
android:value="splitActionBarWhenNarrow"/>
<intent-filter>
<action android:name="android.intent.action.ANALYSIS" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
</application>
</manifest>
有人有什么想法吗?
最佳答案
<meta-data android:name="android.support.UI_OPTIONS" />
meta-data
需要 android:value
或 android:resource
属性。
关于android - 为什么会发生 INSTALL_PARSE_FAILED_MANIFEST_MALFORMED ?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26787955/