How to get Android Market licensing sample to work?
I downloaded the sdk and added the library to my workspace, then t开发者_JS百科he sample for market licensing. The sample app seems to force close somewhere after/during the instantiation of LicenseChecker. I tried running on the emulator with Google API 8 and on a droid x with froyo and it force closes. The stack shows PerformLaunchActivity as the top item. Both emulator and phone had a registered gmail account.
Any ideas how to get this to work?
Ok, simple answer was look in the code and replace the public key as it says.
精彩评论