我在应用程序中添加了自适应图标,它的编译和构建都很好,但是当尝试上传到Play商店时,出现以下错误:
You uploaded an APK or Android App Bundle which specifies an actions schema document in its manifest, but the actions schema document was given at an invalid location: 'res/mipmap-anydpi-v26/ic_launcher.xml'. Actions schema documents must be located under res/xml and specified as a resource file beginning with @xml/.
以前有人看过吗?我按照所有步骤创建了自适应图标。
答案 0 :(得分:0)
原来manifest
文件有错误,我有:
<meta-data
android:name="com.google.android.actions"
android:resource="@mipmap/ic_launcher"/>
我只是将其删除,而Play商店接受了该APK。