"Internal testing" 在 Google Play 中显示没有 "open" 按钮的应用程序!为什么?
"Internal testing" in Google Play shows app without "open" button! Why?
我已完成所有内部测试要求,因为此图片显示“可供内部测试人员使用”。但是审核还没有完成。
但是当我把它安装到我的phone上时,我无法打开它! (我的 phone 是 POCO X3 Pro)“打开”按钮不显示!
如何打开它?审核完成后是否“可供内部测试人员使用”?
P.S。值得一提的是,Android 应用程序在模拟器中完美运行,并直接在 phone.
上进行 USB 测试。
编辑:
启用“内部应用共享”后,显示的应用名称发生变化,但没有显示“打开”按钮。
EDIT2:
这是应用程序页面卸载后的样子。
您应该将您的帐户添加为 测试人员,并且您应该从 Google Play 商店启用内部测试。
从 Play 商店转到 设置 > 常规 > 启用内部应用共享
因此,事实证明问题不在 Google Play 商店或控制台中,而是在项目的 android/app/src/main/AndroidManifest.xml
文件中。
我的 AndroidManifest.xml
项目文件中有两个 <data>
elements 位于两个不同的 <activity>
和 <intent-filter>
标签中。他们都有相同的 android:scheme
名字。
...
<data android:scheme="XYZ" />
...
删除一个修复了“打开”按钮问题。
您可能会认为 adb logcat
日志中的某些内容会抱怨格式错误的 AndroidManifest.xml
文件,但我没有读到这方面的任何内容。有什么东西可以检查 AndroidManifest.xml
的完整性吗?
...
11-15 09:11:28.673 1917 2035 I PackageDexOptimizer: Running dexopt (dexoptNeeded=1) on: /data/app/~~XcPti8zaRFpP7-RtoNMfGw==/com.XYZ.android-iWLcGjyquYwgtiJrVA5xqg==/base.apk pkg=com.XYZ.android isa=arm64 dexoptFlags=boot_complete,profile_guided,public,enable_hidden_api_checks targetFilter=speed-profile oatDir=/data/app/~~XcPti8zaRFpP7-RtoNMfGw==/com.XYZ.android-iWLcGjyquYwgtiJrVA5xqg==/oat classLoaderContext=PCL[]{PCL[/system/framework/org.apache.http.legacy.jar]}
11-15 09:11:28.674 1517 2368 V installd: DexInv: --- BEGIN '/data/app/~~XcPti8zaRFpP7-RtoNMfGw==/com.XYZ.android-iWLcGjyquYwgtiJrVA5xqg==/base.apk' ---
11-15 09:11:28.686 20959 20973 W System : A resource failed to call release.
11-15 09:11:28.686 20959 20973 W System : A resource failed to call release.
11-15 09:11:28.688 27841 27841 I dex2oat32: dex2oat of ppid 1517, cpu affinity is set to 0,1,4,5,2,3,6,7, success.
11-15 09:11:28.688 27841 27841 I dex2oat32: /apex/com.android.art/bin/dex2oat32 --input-vdex-fd=-1 --output-vdex-fd=9 --call-from-installd=1 --updatable-bcp-packages-file=/system/etc/updatable-bcp-packages.txt --resolve-startup-const-strings=true --max-image-block-size=524288 --compiler-filter=speed-profile -j6 --classpath-dir=/data/app/~~XcPti8zaRFpP7-RtoNMfGw==/com.XYZ.android-iWLcGjyquYwgtiJrVA5xqg== --class-loader-context=PCL[]{PCL[/system/framework/org.apache.http.legacy.jar]} --generate-mini-debug-info --compact-dex-level=none --compilation-reason=install
11-15 09:11:28.690 27841 27841 I dex2oat32: setting boot class path to /apex/com.android.art/javalib/core-oj.jar:/apex/com.android.art/javalib/core-libart.jar:/apex/com.android.art/javalib/core-icu4j.jar:/apex/com.android.art/javalib/okhttp.jar:/apex/com.android.art/javalib/bouncycastle.jar:/apex/com.android.art/javalib/apache-xml.jar:/system/framework/framework.jar:/system/framework/miuisdk@boot.jar:/system/framework/miuisystemsdk@boot.jar:/system/framework/ext.jar:/system/framework/telephony-common.jar:/system/framework/voip-common.jar:/system/framework/ims-common.jar:/system/framework/framework-atb-backward-compatibility.jar:/system/framework/tcmiface.jar:/system/framework/telephony-ext.jar:/system/framework/qcom.fmradio.jar:/system/framework/com.nxp.nfc.nq.pn553.jar:/system/framework/QPerformance.jar:/system/framework/UxPerformance.jar:/system/framework/WfdCommon.jar
11-15 09:11:28.794 996 1121 I SDM : StrategyImpl::SetIdleTimeoutMs: Idle timeout: active = 70, inactive = 520
11-15 09:11:29.043 2793 2793 D BatteryController: onReceive: Intent = Intent { act=android.intent.action.BATTERY_CHANGED flg=0x60000010 (has extras) } action = android.intent.action.BATTERY_CHANGED
11-15 09:11:29.043 2793 2793 D KeyguardUpdateMonitor: received broadcast android.intent.action.BATTERY_CHANGED
11-15 09:11:29.043 3147 3147 D UCDetectService: action is android.intent.action.BATTERY_CHANGED
11-15 09:11:29.043 3147 3147 D UCDetectService: onEventReceive6 : USB plug = 2
11-15 09:11:29.043 3020 3020 D QtiCarrierConfigHelper: WARNING, no carrier configs on phone Id: 0
11-15 09:11:29.043 3020 3020 D VideoCall_LowBattery: disconnectVideoCalls on low battery
11-15 09:11:29.043 3020 3020 D VideoCall_LowBattery: disconnectVideoCalls
11-15 09:11:29.044 6386 6386 I BatteryInfoReceiver: ACTION_BATTERY_CHANGED
11-15 09:11:29.044 6627 6859 D PowerCheckerService: onBatteryChanged, mBatteryLevel = 16, status = 2, level = 16, plug = 2, scale = 100
11-15 09:11:29.045 3089 3089 D DeviceStatisticsService: chargerType=2 batteryLevel=16 totalBatteryCapacity=5791700
11-15 09:11:29.139 27841 27841 I dex2oat32: dex2oat took 451.644ms (1.559s cpu) (threads: 6) arena alloc=5304B (5304B) java alloc=7371KB (7548856B) native alloc=9415KB (9641456B) free=836KB (856592B)
11-15 09:11:29.146 1517 2368 V installd: DexInv: --- END '/data/app/~~XcPti8zaRFpP7-RtoNMfGw==/com.XYZ.android-iWLcGjyquYwgtiJrVA5xqg==/base.apk' (success) ---
11-15 09:11:29.146 1917 2035 W BpBinder: PerfMonitor binderTransact : time=472ms interface=android.os.IInstalld code=18
11-15 09:11:29.147 1917 2035 I InstallationStatistic: com.XYZ.android|null|4260|1085|31|2397|179|474
11-15 09:11:29.150 1517 2368 E installd: Couldn't opendir /data/app/vmdl444984305.tmp: No such file or directory
11-15 09:11:29.150 1517 2368 E installd: Failed to delete /data/app/vmdl444984305.tmp: No such file or directory
11-15 09:11:29.151 27789 27789 W BpBinder: PerfMonitor binderTransact : time=3179ms interface=android.content.pm.IPackageManager code=1598246212
11-15 09:11:29.151 27789 27792 I cmd : oneway function results will be dropped but finished with status OK and parcel size 4
...
我已完成所有内部测试要求,因为此图片显示“可供内部测试人员使用”。但是审核还没有完成。
但是当我把它安装到我的phone上时,我无法打开它! (我的 phone 是 POCO X3 Pro)“打开”按钮不显示!
如何打开它?审核完成后是否“可供内部测试人员使用”?
P.S。值得一提的是,Android 应用程序在模拟器中完美运行,并直接在 phone.
上进行 USB 测试。编辑:
启用“内部应用共享”后,显示的应用名称发生变化,但没有显示“打开”按钮。
EDIT2:
这是应用程序页面卸载后的样子。
您应该将您的帐户添加为 测试人员,并且您应该从 Google Play 商店启用内部测试。
从 Play 商店转到 设置 > 常规 > 启用内部应用共享
因此,事实证明问题不在 Google Play 商店或控制台中,而是在项目的 android/app/src/main/AndroidManifest.xml
文件中。
我的 AndroidManifest.xml
项目文件中有两个 <data>
elements 位于两个不同的 <activity>
和 <intent-filter>
标签中。他们都有相同的 android:scheme
名字。
...
<data android:scheme="XYZ" />
...
删除一个修复了“打开”按钮问题。
您可能会认为 adb logcat
日志中的某些内容会抱怨格式错误的 AndroidManifest.xml
文件,但我没有读到这方面的任何内容。有什么东西可以检查 AndroidManifest.xml
的完整性吗?
...
11-15 09:11:28.673 1917 2035 I PackageDexOptimizer: Running dexopt (dexoptNeeded=1) on: /data/app/~~XcPti8zaRFpP7-RtoNMfGw==/com.XYZ.android-iWLcGjyquYwgtiJrVA5xqg==/base.apk pkg=com.XYZ.android isa=arm64 dexoptFlags=boot_complete,profile_guided,public,enable_hidden_api_checks targetFilter=speed-profile oatDir=/data/app/~~XcPti8zaRFpP7-RtoNMfGw==/com.XYZ.android-iWLcGjyquYwgtiJrVA5xqg==/oat classLoaderContext=PCL[]{PCL[/system/framework/org.apache.http.legacy.jar]}
11-15 09:11:28.674 1517 2368 V installd: DexInv: --- BEGIN '/data/app/~~XcPti8zaRFpP7-RtoNMfGw==/com.XYZ.android-iWLcGjyquYwgtiJrVA5xqg==/base.apk' ---
11-15 09:11:28.686 20959 20973 W System : A resource failed to call release.
11-15 09:11:28.686 20959 20973 W System : A resource failed to call release.
11-15 09:11:28.688 27841 27841 I dex2oat32: dex2oat of ppid 1517, cpu affinity is set to 0,1,4,5,2,3,6,7, success.
11-15 09:11:28.688 27841 27841 I dex2oat32: /apex/com.android.art/bin/dex2oat32 --input-vdex-fd=-1 --output-vdex-fd=9 --call-from-installd=1 --updatable-bcp-packages-file=/system/etc/updatable-bcp-packages.txt --resolve-startup-const-strings=true --max-image-block-size=524288 --compiler-filter=speed-profile -j6 --classpath-dir=/data/app/~~XcPti8zaRFpP7-RtoNMfGw==/com.XYZ.android-iWLcGjyquYwgtiJrVA5xqg== --class-loader-context=PCL[]{PCL[/system/framework/org.apache.http.legacy.jar]} --generate-mini-debug-info --compact-dex-level=none --compilation-reason=install
11-15 09:11:28.690 27841 27841 I dex2oat32: setting boot class path to /apex/com.android.art/javalib/core-oj.jar:/apex/com.android.art/javalib/core-libart.jar:/apex/com.android.art/javalib/core-icu4j.jar:/apex/com.android.art/javalib/okhttp.jar:/apex/com.android.art/javalib/bouncycastle.jar:/apex/com.android.art/javalib/apache-xml.jar:/system/framework/framework.jar:/system/framework/miuisdk@boot.jar:/system/framework/miuisystemsdk@boot.jar:/system/framework/ext.jar:/system/framework/telephony-common.jar:/system/framework/voip-common.jar:/system/framework/ims-common.jar:/system/framework/framework-atb-backward-compatibility.jar:/system/framework/tcmiface.jar:/system/framework/telephony-ext.jar:/system/framework/qcom.fmradio.jar:/system/framework/com.nxp.nfc.nq.pn553.jar:/system/framework/QPerformance.jar:/system/framework/UxPerformance.jar:/system/framework/WfdCommon.jar
11-15 09:11:28.794 996 1121 I SDM : StrategyImpl::SetIdleTimeoutMs: Idle timeout: active = 70, inactive = 520
11-15 09:11:29.043 2793 2793 D BatteryController: onReceive: Intent = Intent { act=android.intent.action.BATTERY_CHANGED flg=0x60000010 (has extras) } action = android.intent.action.BATTERY_CHANGED
11-15 09:11:29.043 2793 2793 D KeyguardUpdateMonitor: received broadcast android.intent.action.BATTERY_CHANGED
11-15 09:11:29.043 3147 3147 D UCDetectService: action is android.intent.action.BATTERY_CHANGED
11-15 09:11:29.043 3147 3147 D UCDetectService: onEventReceive6 : USB plug = 2
11-15 09:11:29.043 3020 3020 D QtiCarrierConfigHelper: WARNING, no carrier configs on phone Id: 0
11-15 09:11:29.043 3020 3020 D VideoCall_LowBattery: disconnectVideoCalls on low battery
11-15 09:11:29.043 3020 3020 D VideoCall_LowBattery: disconnectVideoCalls
11-15 09:11:29.044 6386 6386 I BatteryInfoReceiver: ACTION_BATTERY_CHANGED
11-15 09:11:29.044 6627 6859 D PowerCheckerService: onBatteryChanged, mBatteryLevel = 16, status = 2, level = 16, plug = 2, scale = 100
11-15 09:11:29.045 3089 3089 D DeviceStatisticsService: chargerType=2 batteryLevel=16 totalBatteryCapacity=5791700
11-15 09:11:29.139 27841 27841 I dex2oat32: dex2oat took 451.644ms (1.559s cpu) (threads: 6) arena alloc=5304B (5304B) java alloc=7371KB (7548856B) native alloc=9415KB (9641456B) free=836KB (856592B)
11-15 09:11:29.146 1517 2368 V installd: DexInv: --- END '/data/app/~~XcPti8zaRFpP7-RtoNMfGw==/com.XYZ.android-iWLcGjyquYwgtiJrVA5xqg==/base.apk' (success) ---
11-15 09:11:29.146 1917 2035 W BpBinder: PerfMonitor binderTransact : time=472ms interface=android.os.IInstalld code=18
11-15 09:11:29.147 1917 2035 I InstallationStatistic: com.XYZ.android|null|4260|1085|31|2397|179|474
11-15 09:11:29.150 1517 2368 E installd: Couldn't opendir /data/app/vmdl444984305.tmp: No such file or directory
11-15 09:11:29.150 1517 2368 E installd: Failed to delete /data/app/vmdl444984305.tmp: No such file or directory
11-15 09:11:29.151 27789 27789 W BpBinder: PerfMonitor binderTransact : time=3179ms interface=android.content.pm.IPackageManager code=1598246212
11-15 09:11:29.151 27789 27792 I cmd : oneway function results will be dropped but finished with status OK and parcel size 4
...