LicenseChecker is slow in emulator

十年热恋 提交于 2019-12-12 17:27:10

问题


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);

回答1:


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.



来源:https://stackoverflow.com/questions/4629603/licensechecker-is-slow-in-emulator

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!