I am implementing anjlab Library for in app purchasing.
I try to purchase item.some time i get error .and error code is 102.
If i again try t0 purchase , Purchasing successful with out showing google purchases dialog.
I am following.
https://github.com/anjlab/android-inapp-billing-v3
Can some one telling about Error Code 102.
what is this? and what is the reason of this ?
Thanks
Error code 102 means Invalid signature.
The error is caused because of the wrong license key.
The solution is to use the proper license key from
Play console > Your App > Development Tools > Licensing & in-app billing
Error Code 102 refers to connection refused.
Error 102 (net::ERR_CONNECTION_REFUSED): Unknown error
Please go through the following link I hope it may help. Link gives the description of network errors but related to Chrome. As your error is a standard error and might not because of your code but due to some configuration settings.
https://support.google.com/chrome/answer/117805?hl=en
I need to made some edit if above thing doesn't help much please go through this questions:
Installing from Android Market. Unknown reason-102
Related
When I'm trying to do an Android build, it's giving me this error:
Merging result: ERROR
/tmp/build6250103586261222869xxx/MyApplication/src/main/AndroidManifest.xml:57:3-64 Error:
Element uses-permission#com.android.vending.BILLING at AndroidManifest.xml:57:3-64 duplicated with element declared at AndroidManifest.xml:56:5-92
/tmp/build6250103586261222869xxx/MyApplication/src/main/AndroidManifest.xml Error:
Validation failed, exiting
This is happening after I've added In App Purchase code, after successfully adding my android.licenseKey to the build hints.
Ah, I had uses-permission android:name="com.android.vending.BILLING" in the build hints. Taking it out fixed the issue. (I believe I had put it there, so that I was able to enable in-app purchase from the google play console).
I added app link feature with autoVerify set for my app following link
On testing the app, it worked in the begining. Then after reinstalling the build, not working.
On debugging what I found is the response time for my .well-known/assetlinks.json file is > 1sec.
which gives timeout error on test-url https://digitalassetlinks.googleapis.com/v1/statements:list?source.web.site=https://example.com&relation=delegate_permission/common.handle_all_urls
{
"maxAge": "599.999999353s",
"debugString": "********************* ERRORS *********************\n* Error: deadline_exceeded: Timeout occurred while fetching Web statements from https://example.com./.well-known/assetlinks.json (which is equivalent to 'https://example.com/.well-known/assetlinks.json') using download from the web (ID 1).\n********************* INFO MESSAGES *********************\n* Info: No statements were found that match your query\n"
}
Looks like because of this timeout, verification is failing.
I would like to know whether app/system retry verification at any point later if verification failed on install (may be because of connection issue or temporary website down)?
Unfortunately Android M does not automatically reattempt verification if it fails due to timeout or connectivity issues. As you found in this guide the next attempt will occur on app update or re-install.
I am getting the following error,
Security alert Your app is using an unsafe implementation of
HostnameVerifier.
Please see this Google Help Center article for
details, including the deadline for fixing the vulnerability.
Vulnerable classes: com.paytm.pgsdk.i Affects APK version 10.
while uploading my app on google play. My app has paytm integrated with Paytm sdk.
Please help me with any solution or suggestion how to resolve this error.
Thanks.
I got a solution to remove the error "unsafe implementation of HostnameVerifier".
Simply use in https URLs in both the PaytmMerchant URLs
(inChecksumGenerationURL and inChecksumVerificationURL).
I am trying to implement ads into an android app with Millenial Media SDK Version 6. I followed the instructions for integrating with Android at http://docs.millennialmedia.com/android-ad-sdk/inline-ads.html.
But I get an error in adb logcat:
[5]: [LOAD_FAILED] No additional details available.
And the ad doesn't show up.
I found some documentation that mentions the error at http://docs.millennialmedia.com/android-ad-sdk/apidocs/classcom_1_1millennialmedia_1_1_inline_ad_1_1_inline_error_status.html, but there is no description on what this error means.
I was able to figure it out by adding a line:
MMLog.setLogLevel(Log.VERBOSE);
To my code and then using
adb logcat | grep MMSDK
The output explained the problem, and it wasn't hard to understand. Hopefully this answer helps someone else.
Trying using Google Drive Android API as described. But some strange error occurred: GooglePlayServicesUtil(3662): Internal error occurred. Please see logs for detailed information.
Previously I had create Client ID for Android application in Google Console with SHA1 of my Eclipse (Prefs → Android → Build) and my package name com.example.googlecloudbuffer.
May be shoild I use somehow a genereted CLIENT ID or something else?
The problem was in Google API Console. You must add a Email and Product name as described.