【发布时间】:2019-07-04 22:28:25
【问题描述】:
自 2019 年 1 月 15 日更新我的 Android Studio 以来,Google Play 控制台不再在 P8 Lite 华为以外的任何设备上测试我的应用程序。所有其他设备状态“此时无法测试此设备,请上传新的 APK”。
我在任何地方都找不到任何关于为什么会发生这种情况的信息。是因为 Google 不再支持在这些设备上进行测试吗?还是因为更新对我的代码进行了更改?
我已经包含了我的 gradle 代码,以防它是由于 SDK 冲突或其他原因,但坦率地说,我很难过。
android {
compileSdkVersion 28
defaultConfig {
applicationId "com.frozencodegame.evolution"
minSdkVersion 21
targetSdkVersion 28
versionCode 27
versionName "0.0027"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
aaptOptions {
cruncherEnabled = false
}
抱歉,我现在也包含了我的清单:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.frozencodegame.evolution">
<application
android:allowBackup="true"
android:fullBackupContent="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:screenOrientation="portrait"
android:supportsRtl="true"
android:theme="@style/AppTheme"
tools:ignore="GoogleAppIndexingWarning">
<activity
android:name=".pages.pageSplice"
android:theme="@style/AppTheme.transparentTheme"
android:windowSoftInputMode="adjustNothing" />
<activity
android:name=".pages.pageBreed"
android:theme="@style/AppTheme.transparentTheme"
android:windowSoftInputMode="adjustNothing" />
<activity
android:name=".MainActivity"
android:windowSoftInputMode="adjustNothing">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".pages.pageSettings"
android:theme="@style/AppTheme.transparentTheme" />
<activity
android:name=".pages.pageCreature"
android:theme="@style/AppTheme.transparentTheme"
android:windowSoftInputMode="adjustNothing" />
</application>
【问题讨论】:
-
我遇到了类似的情况,尽管对我来说情况更糟。没有任何设备能够测试 APK。我总是收到错误“此时无法测试此设备,请上传新的 APK”。你有没有设法解决这个问题@Maxmansung?
-
你有没有找到解决这个问题的方法?