谷歌地图在Chrome ARC [英] Google Maps in Chrome ARC

查看:251
本文介绍了谷歌地图在Chrome ARC的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

最近我看到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"]}

据href="https://developer.chrome.com/apps/arc_playservices" rel="nofollow">这里文档

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.

推荐答案

在抄袭网上商店你的公钥,重要的是要选择完全正确的事情。下面的突出部分是公共密钥,确保不选择 ----- BEGIN / END公钥----- 注释,并删除任何行符/空格(如你所说,你已经有了)。

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).

这篇关于谷歌地图在Chrome ARC的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆