Google Play Error Contacting Licensing Server
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Error contacting licensing server up vote 3 down vote favorite im trying to publish my app for 3 hours now, but i cant get the license check to work. In my onCreate method i got this code: // Try to use more data here. ANDROID_ID is a single point of attack. String deviceId = Secure.getString(getContentResolver(), Secure.ANDROID_ID); String pckName = getPackageName(); // Library calls this when it's done. mLicenseCheckerCallback = new MyLicenseCheckerCallback(); // Construct the LicenseChecker with a policy. mChecker = new LicenseChecker(this, new ServerManagedPolicy(this, new AESObfuscator( SALT, pckName, deviceId)), BASE64_PUBLIC_KEY); mChecker.checkAccess(mLicenseCheckerCallback); And the callback looks like this private class MyLicenseCheckerCallback implements LicenseCheckerCallback { public void allow(int policyReason) { if (isFinishing()) return; // Don't update UI if Activity is finishing. // Should allow user access. Main.isLicensed = true; } public void dontAllow(int policyReason) { if (isFinishing()) return; // Don't update UI if Activity is finishing. Main.isLicensed = false; } public void applicationError(int errorCode) { if (isFinishing()) return; // Don't update UI if Activity is finishing. Main.isLicensed = false; } } Only the dontAllow method gets called. And the response code is 291. In logcat i get "Error contacting licensing
HelpDeveloper Console Contact us Licensing service troubleshootingHow do I verify that my Google Play Licensing implementation is correct? Before uploading the application to Google Play If no application with that package name and version code is on Google Play, sign into an Android device with the same account that you use to sign into your Google Play Developer Console. Use this account as the primary account on your Android device. Then, set the test response and verify that your application behaves appropriately for those responses. After uploading the application to Google Play If http://stackoverflow.com/questions/13916922/error-contacting-licensing-server you've uploaded the application with license-checking to Google Play (regardless of the current publish state of the application), sign into an Android device with the same account that you use to sign into your Google Play Developer Console, or a license test account as the primary account. Then, set the test response, and https://support.google.com/googleplay/android-developer/answer/186378?hl=en verify that your application behaves appropriately for those responses. To ensure that you have the correct license key: First, log into your Google Play Developer Console. Next, click on All Applications and find the application that you'd like to review. After that, go to the section Services and APIs You will find your license key under the section labeled Your License Key For this Application. Note that the ServerManagedPolicy caches test LICENSED responses for only one minute. Normal (non-test) LICENSED responses will be cached longer. I’m having problems implementing my license check. Where can I go for more help? Development and testing issues This includes License Verification Library (LVL) download and integration, library projects, policy questions, user experience ideas, handling of responses, obfuscator, IPC, and test environment setup. Go to one of these available resources: Android Developer Google Group Stack Overflow Reporting issues with the licensing library For License Verification Library (LVL) bug and issue
Store app not loaded. Please start Play Store app and wait until it fully loads start page. Play Store app can fail to load, for example, during its self-updating. Please wait until it fully loads, http://support.powerampapp.com/knowledgebase/articles/323551-google-play-response-error-contacting-server them start Poweramp again- internet connection is not available/unstable or Play Store app/services are blocked from internet- Poweramp is in fact not licensed/order is incomplete/refunded/cancelled. Please openYour Ordersand check your Poweramp Full Version Unlocker status is "Complete"- (Android 2.x) Background data is disabled- too much requests from apps to Play servers for license check. Please try again later (in 10 minutes)To resolve this issue:1. uninstall Poweramp Full Version google play Unlocker2. ensure you have internet connection on the device up and stable3. install Poweramp Full Version Unlocker from Google Play Store app. Reinstalls to the same account are free. Installing Unlocker from APK won't resolve the issue4.You may need start/wait a bit/exit Poweramp 2 times to reload license state.Tag: error contacting server This article was helpful (thinking…) · Flag this article as inaccurate…Flag this article as inaccurate… google play error · Admin → New and returning users may sign in Sign in prestine Your name Your email address Check! invalid email (thinking…) Reset or sign in with UserVoice password Forgot password? Create a password I agree to the terms of service Signed in as (Sign out) Close Close Sign in Sign in Sign up Cancel Poweramp Unlocker Is Poweramp purchase per device or per account? Restore Poweramp Purchase Unlocker without Google Account Changed Account Poweramp Unlockers difference (error 24) Google Play Response - NOT_LICENSED Google Play Response - ERROR_CONTACTING_SERVER APM response - No valid google accounts APM response - 500 NO_ORDER_FOR_ACT No such account is registered on this device Authorizing/Downloading/Waiting for install on Google Play APM response - Connection refused Restore Purchase from website (build-550+) YAIP request error APM response - 500 NO_MORE_ACTIVATIONS_LEFT Google Play Response (other errors) License error #16 500 invalid request code=4 Feedback and Knowledge Base Search Search (thinking…) Reset Searching… No results. Clear search results Knowledge Base Poweramp F.A.Q.18 articles Poweramp Unlocker18 articles Poweramp F.A.Q. (RUS)1 article Poweramp Unlocker / Разблокировка (RUS)10 articles All articles Poweramp Poweramp · Get Support · Terms of Service & Privacy Policy Powered By UserVoice · Product Management Platform Your