The author nearly 2 days in the Android studio to play a Baidu map, encountered a common "230 error APP SCODE check failed", let me introduce the specific solution.
1. Deploy the code of Baidu map on Andriodstudio. Unzip the downloaded SDK and switch to Project view. Copy the following 3 files into the Libs file.
2. Add:Compile files ('libs/baidulbs_android.jar ') under the Grdle file.
3. Go to the Baidu Developer page to apply for AK. (See the official documentation for details).
4. The author applies for AK SHA1 code as follows:
5. However, when the program runs the app, the Logcat output information is as follows:
When I applied for AK, SHA1 was completely different. All maps show only squares, no map loads. and prompts "230 error APP SCODE checksum failed". Go to the API console to modify the SHA1 and logcat corresponding to the map load successfully.
Demo's address: Baidumaptest.
Baidu Map API Tip "230 error APP SCODE check failed"