1, create a new project, get Android Studio SHA1 value (Android Studio terminal input Line shell command: keytool-v-list-keystore debug.keystore)
2, to Baidu Map official Application key (SHA1; package name)
3, App/libs directory into the Baidumapapi_vx_x_x.jar package and Locsdk.jar (need to right click on the jar file add library)
Under the new Jnilibsso/armeabi directory in the src/main/directory, put Libbaidumapsdk_vx_x_x_x.so and liblocsdk_vx_x_x_x.so
4, Manifest.xml plus a variety of permissions: Network and positioning and Meta-data plus the application of key
5, new baseapplication and add sdkinitializer.initialize (this) in OnCreate ();
6, Manifest.xml plus application Android:neme= ". Baseapplication "
7. Add Mapview control to the layout file
8, the Java Code Display map Mmapview.getmap ();
Android Studio builds Baidu map steps