android-studio - Android 应用被拒绝:您的应用不符合设备和网络滥用政策
问题描述
我收到了来自 Google Play 的应用拒绝通知。原因是 您的应用出现问题您的应用不符合设备和网络滥用政策。问题详情。我们在以下区域发现了问题: 应用内体验:请参阅附件截图 我正在使用 Youtube 播放器。但我不明白出了什么问题。我的播放器xml如下
``
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.pierfrancescosoffritti.androidyoutubeplayer.core.player.views.YouTubePlayerView
android:id="@+id/yt_player"
android:layout_width="0dp"
android:layout_height="wrap_content"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintBottom_toBottomOf="parent"
app:useWebUi="true"
app:showFullScreenButton="true">
</com.pierfrancescosoffritti.androidyoutubeplayer.core.player.views.YouTubePlayerView>
<ScrollView
android:layout_width="0dp"
android:layout_height="0dp"
app:layout_constraintTop_toBottomOf="@+id/yt_player"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintBottom_toBottomOf="parent">
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="wrap_content" >
<TextView
android:id="@+id/video_title"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
android:layout_marginTop="16dp"
android:layout_marginEnd="16dp"
android:textAppearance="@style/TextAppearance.MaterialComponents.Headline6"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
</ScrollView>
</androidx.constraintlayout.widget.ConstraintLayout>
``
解决方案
也许您的自定义标题和 youtube 标题 masup。删除您的自定义标题,然后重试。
推荐阅读
- reactjs - 使用 React 进行服务器端渲染的正确 babel 配置?
- c# - 哪个具有更好的性能,Action 或 Wiring to Event
- font-awesome - 在PhoneGap App中链接Font Awesome的正确方法
- java - spark-submit:传递 java 属性文件给出 FileNotFoundException
- node.js - Nodejs登录未定向到个人资料页面
- ios - 使用 Swift 对日文字符进行排序
- javascript - 使用 .attr() 添加数据属性时出现“TypeError: undefined is not an object”
- javascript - 与 Google reCaptcha v3 相关的问题
- listview - 带有滚动条的 Flutter Listview
- java - 如何从长度为 n 的字符串中获取长度为 k 的所有唯一排列的数量?