アンドロイドプロジェクトをビルドできません。このエラーは常にINSTALL PARSE FAILED MANIFEST MALFORMED
ですが、数日前にLinuxでビルドして実行できました。それ以来、コードの変更はありませんでしたが、今はWindowsでこれをやっています。 私は問題がパッケージ名であり、大文字を含むべきではないという、同様の質問を読んでいます。しかし、そうではありません。ここでAndroidプロジェクトのビルド中にエラーが発生しました
マニフェストタグが.xmlの
の下部に閉じていない場合は私に飛び出す私のAndroidManifest.xml:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.pxlth.connector">
<uses-permission android:name="android.permission.BATTERY_STATS" />
<uses-permission android:name="android.permission.BLUETOOTH" />
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<application
android:allowBackup="true"
android:icon="@drawable/rounded_corners"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity
android:name=".SplashActivity"
android:theme="@style/SplashTheme">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".MainActivity"
android:label="@string/app_name"
android:screenOrientation="portrait"
android:theme="@style/AppTheme.NoActionBar" />
<activity
android:name=".StationSettings"
android:label="@string/action_settings"
android:parentActivityName=".MainActivity"
android:screenOrientation="portrait"
android:theme="@style/AppTheme.NoActionBar" />
<activity
android:name=".BluetoothEnable"
android:theme="@style/NoActionBarDialog" />
<service
android:name=".BackgroundService"
android:label="@string/app_name"
android:process=":background" />
<receiver
android:name=".AutoStartReceiver"
android:permission="android.permission.RECEIVE_BOOT_COMPLETED">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</receiver>
</application>
</manifest>
を使用すると、XMLバリデータでコードを実行しようとしたことがありますか?私はちょうどした、そしてそれは間違っていると言う、まさにあなたのエラーが示唆しているものです。 –
XMLバリデーターを実行してエラーが表示されません – Tony