Android permission有格式要求吗
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.myapplication2">
<permission android:name="test"
android:protectionLevel="signature"/>
<uses-permission android:name="test"/>
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/Theme.MyApplication2">
<activity android:name=".MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<receiver android:name=".TestReceiver" android:permission="test">
<intent-filter>
<action android:name="aaa"></action>
</intent-filter>
</receiver>
</application>
</manifest>
收不到
但是把权限改成test.test就能收到了