Download 下载失败,因为您可能尚未购买此app-emulator

Download 下载失败,因为您可能尚未购买此app-emulator,download,apk,licensing,apk-expansion-files,Download,Apk,Licensing,Apk Expansion Files,亲爱的, 我的apk扩展在真实设备上运行良好,但在emulator上我遇到了这个错误 Download failed because you may not have purchased this app 这是logcat: 正在检查/下载:扩展未交付 E/检查下载:尝试意图 E/Checking_下载:有意启动 E/检查\ u下载:Category isandroid.intent.Category.LAUNCHER E/检查下载:启动下载服务 检查下载:初始化活动以显示进度,结果为:2 r

亲爱的, 我的apk扩展在真实设备上运行良好,但在emulator上我遇到了这个错误

Download failed because you may not have purchased this app
这是logcat:

正在检查/下载:扩展未交付 E/检查下载:尝试意图 E/Checking_下载:有意启动 E/检查\ u下载:Category isandroid.intent.Category.LAUNCHER E/检查下载:启动下载服务 检查下载:初始化活动以显示进度,结果为:2 ro.sf.lcd_密度必须定义为构建属性

[ 04-25 00:08:50.630  8167: 8167 D/         ]
HostConnection::get()已建立新主机连接0x9f4b1d40,tid 8167 E/检查\下载:服务\恢复:

E/eglCodecCommon:glUtilsParamSize:未知参数0x00008cdf E/eglCodecCommon:glUtilsParamSize:unknow参数0x00008824 E/检查下载:服务连接到: E/检查\u下载:服务\u已连接: E/FA:丢弃数据。无法发送应用程序启动 E/FA:无法获取应用程序实例id E/FA:无法将当前屏幕发送到服务 E/FA:丢弃数据。无法将事件发送到服务 检查下载:下载状态更改:查找要下载的资源 E/检查\u下载:下载状态更改:下载失败,因为您可能尚未购买此应用

注:

谷歌play上的1-live应用程序在真实设备上运行良好

2-Emulator API版本为:google play API-25

3-Google帐户已添加到emulator。(使用我的gmail登录)

已安装4-Google play服务

提前谢谢


答案很简单,应用程序版本代码必须与上传到google play的版本相同。 i、 e(内部版本,应用程序级检查

版本代码2


然后,您必须从google play确认此版本已经上传,并且life。

Android emulator和Genymotion也会给出同样的错误
                  [ 04-25 00:08:50.828  8167: 8190 D/         ]
                  HostConnection::get() New Host Connection established 0xa1fdf2c0, tid 8190