Problems encountered in Baidu map development (continuous update)

1. Obtaining the secret key
The specific method http://developer.baidu.com/map/index.php?title=androidsdk/guide/key
Note:
1. The package name must be the same as the project package name
2. Eclipse is very easy to obtain SHA1 It's easy to get, but Android Studio is more troublesome:


first enter the .android folder in my document, then enter keytool -list -v -keystore F:\key.store to get the keystore information F:\key.store is The absolute path of the keystore.
If you have not set the keystore, enter keytool -list -v -keystore debug.store. The default password is android

2. When using the route planning provided by Baidu Maps, you need to import the class by yourself in versions 3.6.1 and above.
First decompress the openUtils in the SDK

and then import the package into the project.
Why not put it in the jar package? I think Baidu does this to make it easier for us to modify the code inside

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=327074982&siteId=291194637