“La balise <Activité > le nom de l'attribut a caractère non valide ' '. ” Manifeste Android

J'obtiens l'erreur "attribut de Balise nom a caractère non valide' '. " dans le Manifeste Android, il n'est pas, évidemment, de caractère non valide. Voici le code:

<activity
        android:name="Quiz 31"
        android:configChanges="orientation|keyboardHidden"
        android:label="Quiz 31"
        android:screenOrientation="portrait"
        android:theme="@android:style/Theme.NoTitleBar" >
        <intent-filter>
            <action android:name="com.SoulSlayerAbad.AMQ.QUIZ31" />

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

Comme vous pouvez le voir, pas de 'caractère' dans le code. Personne ne sait pourquoi ce qui se passe? Une chose à noter est que j'ai généré ce morceau de code à l'aide de quelques lignes de Java s'exécutent à l'intérieur de l'Éclipse de la console. Le code est:

        int Begin = 0, End = 0; 
    Scanner sc = new Scanner(System.in);

    String Text = " <activity "+
            "android:name=\"Quiz "+Begin+"\" "+
            "android:configChanges=\"orientation|keyboardHidden\" "+
            "android:label=\"Quiz "+Begin+"\" "+
            "android:screenOrientation=\"portrait\" "+
            "android:theme=\"@android:style/Theme.NoTitleBar\" > "+
            "<intent-filter> "+
                "<action android:name=\"com.SoulSlayerAbad.AMQ.QUIZ"+Begin+"\" /> "+

                "<category android:name=\"android.intent.category.DEFAULT\" /> "+
            "</intent-filter> "+
        "</activity> ";

    System.out.println("Begining:");
    Begin = sc.nextInt();
    System.out.println("End At:");
    End = sc.nextInt();
    while(Begin <= End){
        System.out.println(Text);
        Begin++;
    }
changement quiz 31 par quiz_31

OriginalL'auteur SoulSlayerAbad | 2014-03-11