繁体   English   中英

发布到应用商店后未显示图钉

[英]Pins are not showing up after publishing to app store

在测试和调试时,我使用了调试API密钥,现在我移到了发布API密钥并发布了该应用程序。

显示了地图加载和GPS位置(表明API密钥正确),但是未显示图钉(注释)。 我也收到以下错误:

08-12 15:50:42.315: E/GooglePlayServicesUtil(11478): The Google Play services resources were not found. Check your project configuration to ensure that the resources are included.

我已经检查过了,我有这个:

在此处输入图片说明

所以我认为一切都会好起来的。

也收到此错误:

08-12 15:50:42.315: E/GooglePlayServicesUtil(11478): The Google Play services resources were not found. Check your project configuration to ensure that the resources are included.
08-12 15:50:42.325: E/log_tag(11478): Error in http connection android.os.NetworkOnMainThreadException
08-12 15:50:42.325: E/log_tag(11478): Error converting result java.lang.NullPointerException: lock == null
08-12 15:50:42.325: E/log_tag(11478): Error parsing data org.json.JSONException: End of input at character 0 of 

我尝试生成新密钥并跟踪下载的JSON,而且一切似乎都不错。

您正在尝试访问主线程上的网络。 不要那样做,它会阻塞您的线程。

请参阅: 如何修复android.os.NetworkOnMainThreadException?

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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