How to get SHA1 by opening terminal in previous Android studio
Get to SHA1, the following began to enter the Baidu Map SDK Resource acquisition;
First, obtain the key and the SDK;
1, search Baidu Map SDK;
2, click to get the key;
3, create the application;
4, access to the overview of the "Related download" and "Development Guide";
Download the package and sample, unzip the development kit;
Second, the project creation;
1. After creating a new project under Android Studio (note that the package name is the same as the package name that gets the key above), have Android switch to project, copy the jar package under the extracted Libs folder to App/libs, right-click the Project/open module Settins, such as click "+" Select file dependencies add dependency;
2, in Src/main under the new folder "Jnilibs", will extract the folders under the Libs folder are copied into;
3, enter the "Development Guide" under the "Hello Baidumap", according to the instructions to operate;
4, start running;
Failure [Install_failed_no_matching_abis] error occurs when running with genymotion, because Genymotion does not support arm, I follow the online method to drag into the Genymotion-arm-translation.zip (Support 4.x system) compression package to support ARM, the result is still not working;
And the use of the self-simulator AVD run, the operation is very slow;
Finally, you can only use the real machine test:
The first experience of Baidu Map SDK under Android Studio