LicenseChecker在模拟器慢 [英] LicenseChecker is slow in emulator

查看:88
本文介绍了LicenseChecker在模拟器慢的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在模拟器打线下需要10秒钟+完成。没有任何人有这个问题?

  mChecker =新LicenseChecker(这一点,新ServerManagedPolicy(这一点,新AESObfuscator(SALT,getPackageName(),DEVICEID)),BASE64_PUBLIC_KEY);


解决方案

我结束了把初始调用设置成一个后台任务。其成品那么只要它会继续下去检查许可证。

When the emulator hits the line below it takes 10 seconds + to complete. Does anyone else have this problem?

mChecker = new LicenseChecker( this, new ServerManagedPolicy(this, new AESObfuscator(SALT, getPackageName(), deviceId)), BASE64_PUBLIC_KEY);

解决方案

I wound up putting the initial call to the setup into a background task. whenever its finished then it will go on and check the license.

这篇关于LicenseChecker在模拟器慢的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆