First experience of Baidu map sdk under android studio
After obtaining sha1, go to the Baidu map sdk Resource Acquisition page;
1. Obtain the key and SDK;
1. Search Baidu map sdk;
2. Click get key;
3. Create an application;
4. Go to "related downloads" and "Development Guide" under the overview ";
Download the development kit and examples, and decompress the development kit;
2. Create a project;
1. After creating a project under Android studio (note that the package name must be consistent with the package name when the key is obtained), android switches to the project, copy the jar package in the decompressed libs folder to the app/libs folder, right-click the project/open module settins, and click "+" to select file dependencies to add dependencies;
2. Create the folder "jniLibs" under src/main, and copy all the folders in the libs folder after decompression;
3. Go to "Hello BaiduMap" under "Developer Guide" and follow the instructions;
4. Start running;
If you use genymotion to run the program, the Failure recovery (System Supporting 4.x) Compressed package will appear to support arm. The result is still not good;
However, if the built-in simulator avd is used for running, the operation will be slow;
You can only use a real machine for testing: <Strong? Http: www.bkjia.com kf ware vc "target =" _ blank "class =" keylink "> VcD4NCjxwPjxpbWcgYWx0PQ = "here write picture description" src = "http://www.bkjia.com/uploads/allimg/160331/042024F24-13.png" title = ""/>