Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/215.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android 安装错误,apk安装失败安装\u分析\u失败\u清单\u格式错误_Android_Android Manifest - Fatal编程技术网

Android 安装错误,apk安装失败安装\u分析\u失败\u清单\u格式错误

Android 安装错误,apk安装失败安装\u分析\u失败\u清单\u格式错误,android,android-manifest,Android,Android Manifest,我知道,这是一个非常常见的问题,但我尝试了足够多的时间,结果在我下载并试图安装的应用程序中出现了这个错误 <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.helloandroid.android.newsdroid"> <application android:icon

我知道,这是一个非常常见的问题,但我尝试了足够多的时间,结果在我下载并试图安装的应用程序中出现了这个错误

<?xml version="1.0" encoding="utf-8"?>
 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
 package="com.helloandroid.android.newsdroid">
 <application android:icon="@drawable/icon">
  <activity class=".FeedsList" android:label="@string/app_name">
 <intent-filter>
  <action android:value="android.intent.action.MAIN" />
  <category android:value="android.intent.category.LAUNCHER" />
    </intent-filter>
    </activity>
    <activity class=".URLEditor" android:label="@string/url_editor" />
    <activity class=".ArticlesList" android:label="@string/articles_list" />
  </application>
  </manifest> 

遵循以下格式

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.example.abc"
    android:versionCode="1"
    android:versionName="1.0" >

    <uses-sdk
        android:minSdkVersion="8"
        android:targetSdkVersion="17" />

    <application
        android:allowBackup="true"
        android:icon="@drawable/ic_launcher"
        android:label="@string/app_name"
        android:theme="@style/AppTheme" >
        <activity
            android:name="com.example.abc.ABC"
            android:label="@string/app_name" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
    </application>

</manifest>


这是无效的XML,因为您缺少
标记。这甚至不应该编译。对不起,我在粘贴它时错过了它