问题
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