简体   繁体   中英

Google Maps in Chrome ARC

I recently saw that ARC is now supporting a few Google Play Services including Google Maps.

When using the ARC Welder, I specify the following metadata:

{"usePlayServices":["maps"]}

According to the documentation here , I must also include the crx_key value in the metadata. When doing so, the additional metadata appears as such:

{
 "usePlayServices":["maps"],
 "crx_key":"<KEY FROM WEBSTORE>"
}

Attempting to Launch the App causes an "Error Loading Extension" message:

错误信息

Any ideas as to why I'm receiving this error? I made sure the key has no white spaces/line returns as mentioned in the documentation.

This Additional Metadata worked for my apk that uses Google Maps API for Android and Google Location API:

{
  "usePlayServices": ["location", "maps"]
}

When copying your public key from the web store, it's important to select exactly the right thing. The highlighted portion below is the public key, make sure not to select the -----BEGIN/END PUBLIC KEY----- annotations, and to remove any line breaks / whitespace (as you said you already had).

这里的公钥是MIIB ... QAB

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM