使用百度地图SDK出现的问题及解决方法
1. 第一个错误信息如下:
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.baidumaptest/com.example.baidumaptest.MainActivity}: java.lang.IllegalStateException: you have not supplyed the global app context info from SDKInitializer.initialize(Context) function.
解决方法是在onCreate()方法中加入语句:SDKInitializer.initialize(this.getApplication()); 这条语句要放在setContentView()方法前面,如onCreate()方法如下:
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState); SDKInitializer.initialize(this.getApplication()); //加入这条语句 Intent intent = getIntent();
if (intent.hasExtra("x") && intent.hasExtra("y")) {
Bundle b = intent.getExtras();
LatLng p = new LatLng(b.getDouble("y"), b.getDouble("x"));
mapView = new MapView(this, new BaiduMapOptions().mapStatus(new MapStatus.Builder().target(p).build()));
} else {
mapView = new MapView(this, new BaiduMapOptions());
}
setContentView(mapView);
mBaiduMap = mapView.getMap(); }
2. 出现下面的错误
java.lang.UnsatisfiedLinkError: Native method not found: com.baidu.platform.comjni.map.commonmemcache.JNICommonMemCache.Create:()J
解决方法是:在build.gradle加入
android {
......
sourceSets {
main {
jniLibs.srcDirs = ['libs']
}
}
}
其中那些.so文件都放在libs目录下:
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAW4AAAERCAIAAADUtNrMAAAAA3NCSVQICAjb4U/gAAAgAElEQVR4Xu2dfYwc5X3HBxMbSottoh1DIpIItUpv52yHJKBINLd39A9ChRKpuzpo1IhIKL1LrP5VNap0Oul00umkCtS/2gt3iEhBbRQ43apqEsxhXta7xCkhCsTx7WyqIAeTqjGzQDAJGGzs/p5529l525nZmWfevisLbp7X3/N5nvnt8zwz+32u+Pz07QI+IAACIDAegV3jZUduEAABEGAE4EowDkAABGIgAFcSA0QUAQIgAFeCMQACIBADAbiSGCCiCBAAgQ9xQ7B8z022up7d+V3r1JujDJiYXZR2VprdoXSugaNKQjwIgEBiBNKcldw+uX/m4HUhmiZOHVmcmxFD5EBSEAABPgT4zUpc20PehP7ZopYePe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XBCAK8lFN8FIEMg6AbiSrPcQ7AOBXBCAK8lFN8FIEMg6AbiSrPcQ7AOBXBDg917J8j032Yg8u/O71qk3c4EJRoIACPgTSHNWcvvk/pmD1/nbh1gQAIFcEOA3K3HFQd6E/tmilh497ZoYgSAAApkl8P8nRhhgOYkRPwAAAABJRU5ErkJggg==" alt="" />
3. 定位服务的实现
具体参考如下地址:
http://blog.csdn.net/crazy1235/article/details/43898451
参考博客:
http://blog.csdn.net/u011233181/article/details/38151451
http://blog.csdn.net/xiaojian90/article/details/49895347
使用百度地图SDK出现的问题及解决方法的更多相关文章
- 【月入41万】Mono For Android中使用百度地图SDK
借助于Mono For Android技术,.Net开发者也可以使用自己熟悉的C#语言以及.Net来开发Android应用.由于Mono For Android把Android SDK中绝大部分类库都 ...
- GJM:Unity导入百度地图SDK [转载]
感谢您的阅读.喜欢的.有用的就请大哥大嫂们高抬贵手"推荐一下"吧!你的精神支持是博主强大的写作动力以及转载收藏动力.欢迎转载! 版权声明:本文原创发表于 [请点击连接前往] ,未经 ...
- iOS百度地图SDK集成详细步骤
1.iOS百度地图下载地址 http://developer.baidu.com/map/index.php?title=iossdk/sdkiosdev-download 根据需要选择不同的版本 ...
- 百度地图SDK
百度地图官方SDK文档 http://lbsyun.baidu.com/index.php?title=androidsdk 一.申请百度地图SDK 每一个app对应一个百度地图AK,百度地图 ...
- 百度地图SDK 遇到的问题及解决方案
目前项目工作中用到了百度地图sdk,遇到了不少问题,在此记录一下,顺便吐槽下希望百度能把这地图sdk做的更好用一点. 1,开发环境, Xcode6.0 (6A313) + 百度地图 iOS SDK v ...
- Android Studio集成百度地图SDK
1.建议先阅读百度地图官方的继承指南,针对了Eclipse和Android Studio. 百度官方集成指南 2.下载百度地图SDK Android SDK v4.1.1 下载有两种: 1.一键下载( ...
- iOS开发之引用百度地图SDK(一)-----------SDK开发指南
(void)viewWillAppear:(BOOL)animated { [_mapView viewWillAppear]; _mapView.delegate = self; // 此处记得不用 ...
- 百度地图SDK下载以及创建应用(申请Key)和本地导入Demo
一.百度地图SDK下载 http://lbsyun.baidu.com/sdk/download?selected=location 选择全部,然后分别下载开发包.示例代码.类参考. 二.创建应用(申 ...
- [转贴]JAVA 百度地图SDK地图学习——实现定位功能
之前已经完成了百度地图SDK和百度定位SDK的配置. http://my.oschina.net/u/1051634/blog/180880 实现百度定位的功能,最好仔细看看官方的文档,看了好几次才有 ...
随机推荐
- Mysql5.7.10新加用户
INSERT INTO mysql.user(HOST,USER,authentication_string,ssl_cipher,x509_issuer,x509_subject,select_pr ...
- [WorldWind学习]23.TerrainAccessor
QuadTile的CreateElevatedMesh()方法中: //获取地形瓦片 TerrainTile tile = QuadTileSet.World.TerrainAccessor.GetE ...
- SaltStack系列(四)之实例编写
前面已经介绍的够多了,这里来让我们写一些完整的实例来梳理一下. 强调一下,sls文件的抒写格式都是"-"后面跟一个空格,然后后面跟参数: 然后后面再跟一个空格,然后是要填写的值.但 ...
- JavaScript的基础语法
对于Javascript的而言没有数据类型的全部都是通过var来定义创建的.比如: <!DOCTYPE html> <html> <head> <meta c ...
- cocos进阶教程(5)各种动画使用心得
Node类 不解释 ActionTimeline类是一个3.0时代的动画类, 案例一 //建立node方案一Data data = FileUtils::getInstance()->getDa ...
- vue版本,小Toast
<div id="message" :class="{'show':show_Message}"><p v-html="messag ...
- java第六天
p37 1.java ant详解 练习8 /** * Created by xkfx on 2017/2/26. */ class A { static int i = 47; } public cl ...
- Android用PhoneGap封装webapp在android代码中实现连按退出和loadingpage
用PhoneGap封装后的程序有一些瑕疵,比如启动时黑屏,菜单按钮和返回按钮不好控制等. PhoneGap也在github提交的它的源码(版本:2.8): https://github.com/apa ...
- 配置zbar识别二维码(转载)
原文地址:http://blog.csdn.net/dcrmg/article/details/52108258 二维码解码器Zbar+VS2012开发环境配置 Zbar条码解码器是一个开源的二维码 ...
- 论cudnn与cuda之间的关系,和实际例子测试。
1.其中cudnn是一个常见的神经网络层加速库文件,其能够很大程度的把加载到显卡上的网络层数据进行优化计算.cuda就像一个傻大粗的加速库,其主要是依靠的是显卡 计算速度跟一些算法的优化,而且其也是进 ...