mar*_*rop 5 java android android-manifest google-play
嗨,大家好,尝试将应用上传到Google Play,但仍然收到此错误
上传失败
您上传了一个APK或Android应用程序捆绑包,该捆绑包在其清单中指定了一个动作模式文档,但目前尚不允许动作模式。如果您是Beta计划的一部分,则需要将您的开发者帐户列入白名单。
有人可以解释一下我做错了什么吗。过去,我上传的应用从未遇到过此错误。
这是我的清单文件
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="my package name">
<uses-permission android:name="android.permission.INTERNET"/>
<application
android:name="my app name"
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/AppTheme">
<activity
android:name="My main activity"
android:label="@string/app_name"
android:theme="@style/AppTheme.NoActionBar" />
<activity android:name="Genres" />
<activity android:name="home" />
<activity
android:name="playerlayout"
android:configChanges="orientation|screenSize|keyboardHidden|smallestScreenSize|screenLayout"
android:hardwareAccelerated="true" />
<meta-data android:name="com.google.android.gms.cast.framework.OPTIONS_PROVIDER_CLASS_NAME"
android:value="my package name.CastOptionsProvider" />
<activity android:name="layouts" />
<activity android:name="layouts" />
<activity android:name="layouts" />
<activity android:name="layouts" />
<activity android:name="my layouts" />
<activity android:name="my layouts" />
<activity android:name="my layouts" />
<activity android:name="my layouts" />
<activity android:name="my layouts" />
<activity android:name="my layouts" />
<activity
android:name="my layouts"
android:hardwareAccelerated="false"
android:largeHeap="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name="my layouts" />
<meta-data
android:name="com.google.android.gms.ads.APPLICATION_ID"
android:value="my value" />
<meta-data
android:name="com.google.android.actions"
android:resource="@xml/app_prefs" />
<activity
android:name="my layouts"
android:theme="@style/Theme.AppCompat"
android:label="@string/action_settings" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
</intent-filter>
</activity>
</application>
</manifest>
Run Code Online (Sandbox Code Playgroud)
The error message suggests that the error comes from the use of:
<meta-data
android:name="com.google.android.actions"
android:resource="@xml/app_prefs" />
Run Code Online (Sandbox Code Playgroud)
Did you add this recently? It looks like the use of Android actions are still under a whitelist.