I followed this doc to upload my assetlinks.json file to server, and it can be browsed by url like https://host/.well-known/assetlinks.json. However when I tested it using this tool and got an error "No app deep linking permission found for xxx at xxx" with json response as:
{
"maxAge": "599.999999805s",
"debugString": "********************* ERRORS \n Error: unavailable: Error fetching statements from https://host./.well-known/assetlinks.json (which is equivalent to 'https://host/.well-known/assetlinks.json'): URL_ERROR/3 [14] while fetching Web statements from https://host./.well-known/assetlinks.json (which is equivalent to 'https://host/.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",
"errorCode": [
"ERROR_CODE_FETCH_ERROR"
]
}
Is there any solution for this issue? Thanks for any idea!
Related
[GetTokenResponse] No token found in response, service=oauth2:https://www.googleapis.com/auth/fitness.activity.read [CONTEXT service_id=153 ]
i am using Capacitor https://ionicframework.com/docs/native/health. plugin to access Google fit Steps data. but unable to get it. what is wrong?
I've recently ejected expo application into the bare workflow and changed the package name. Now I can't send notifications from my own backend using expo-server-sdk or expo notifications push tool. Error I get is the following:
[
{
id: 'e17a1f3a-7c5b-41fe-8446-89ba6cb22027',
status: 'error',
message: "Unable to retrieve the FCM server key for the recipient's app. Make sure you have provided a server key as directed by the Expo FCM documentation.",
details: { error: 'InvalidCredentials', fault: 'developer' }
}
]
{
'e17a1f3a-7c5b-41fe-8446-89ba6cb22027': {
status: 'error',
message: "Unable to retrieve the FCM server key for the recipient's app. Make sure you have provided a server key as directed by the Expo FCM documentation.",
details: {
fault: 'developer',
error: 'InvalidCredentials',
sentAt: 1597911004
},
__debug: {}
}
}
I've tested with android. After old server key failed I tried creating new server key and uploading it to expo server
expo push:android:upload --api-key
Which resulted in the same error. I tried deleting the api key from expo server (expo push:android:clear) first and uploading it again, same result. Then I tried to create a new firebase project and redoing the steps as described in expo documentation only to get same results. I even waited couple of days to see if problem will resolve itself while trying to come up with ideas. My knowledge and googling have failed me so any help would be greatly appreciated. If you need further information please let me know.
Thank you in advance!
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 tried to run Atlas android sample with my layer Id but I am getting following error :
E/AtlasIdentityProvider﹕ Got status 404 [HTTP/1.1 404 Not Found] when logging in. Request: https://layer-identity-provider.herokuapp.com/apps/xxx/atlas_identities login: Ee, nonce: xxx
I am sure my id is correct because it wotks with another sample without any exeption (https://github.com/layerhq/quick-start-android)
What is the problem? How Can I fix this?
Regards
I have two problems with android SDK.The first is that after installing sdk manager I can not install new plateform,tools,sysimage etc online it gives following error:
Fetching
Validate XML
XML verification failed for .
Line -१:-१, Error: org.xml.sax.SAXParseException: schema_reference.4: Failed to read schema document 'null', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <>.
Fetched Add-ons List successfully
Fetching URL:
Validate XML:
XML verification failed for .
Line -१:-१, Error: org.xml.sax.SAXParseException: schema_reference.4: Failed to read schema document 'null', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <>.
Fetching URL:
Validate XML:
Failed to fetch URL , reason: addon.xml
Done loading packages.
I tried force https.
http in place of https.
I am using DSL for internet and not using any proxy to connect to internet.
For the sake of removing this problem I also tried proxy server but all in vain.
So I installed all the updates offline APD v2 helped me with downloading.
I used both Eclipse and Netbeans for dev.Everything worked fine,until I tried to run a new project and even sample project.
On Eclipse it gave me following error:
Same problem was with netbeans:
Creating redLight-debug-unaligned.apk and signing it with a debug key...
D:\Android\android-sdk\tools\ant\build.: The following error occurred while executing this line:
D:\Android\android-sdk\tools\ant\build.: The following error occurred while executing this line:
D:\Android\android-sdk\tools\ant\build.:
com.android.sdklib.build.ApkCreationException: java.lang.ArrayIndexOutOfBoundsException: 13
I am new in android app development and trying to rebuild my Java Application for android platform,but I am stuck in first step.
Please help me here.
Solution for your first problem is simple : Line -१:-१, it shows u r language for windows os is set to hindi (IN_HI).
Goto Control panel region & language option change language to English for all formats.
Restart machine & fetch xml.
I am also facing second problem solution to that is not yet found
check this: https://groups.google.com/forum/?fromgroups#!topic/android-developers/BvO5g6RMamo
Also I have updated bug in Android issues :
http://code.google.com/p/android/issues/detail?id=28824