Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/xml/14.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 SOS解析XML时出错_Android_Xml_Manifest - Fatal编程技术网

Android SOS解析XML时出错

Android SOS解析XML时出错,android,xml,manifest,Android,Xml,Manifest,我试图添加一个权限,我读到我必须添加,让程序保存到一个.txt文件到外部SD卡,清单给了我一个错误,我无法解决,这让我疯狂!!我能在这方面得到一些帮助吗?多谢各位 <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.holamundo" android:version

我试图添加一个权限,我读到我必须添加,让程序保存到一个.txt文件到外部SD卡,清单给了我一个错误,我无法解决,这让我疯狂!!我能在这方面得到一些帮助吗?多谢各位

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

 <uses-sdk
    android:minSdkVersion="8"
    android:targetSdkVersion="18" />
 <permission >   </permission>
 <application
    android:allowBackup="true"
    android:icon="@drawable/ic_launcher"
    android:label="@string/app_name"
    android:theme="@style/AppTheme" >
    <activity
        android:name="com.example.holamundo.MainActivity"
        android:label="@string/app_name" >
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />

            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>
    <activity android:name=".acercade" android:label="Acerca de..."></activity>
    <activity android:name="Mesa1_1"></activity>  //the error icon is showed on this line//
</application>

    </manifest>

//错误图标显示在这一行上//

您正在寻找的权限是
写入外部存储

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
 package="com.example.holamundo"
 android:versionCode="1"
 android:versionName="1.0" >

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

    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
    ...

...

是的,但我需要先解决清单上的问题,否则我的应用程序将无法运行!!你看到什么了吗?我会非常感激的