Android Novice Development Baidu Map, just started to encounter a problem, is that there is no map information, only a framework.
Surfing the internet to find out if it's a key problem, then reapply, or not.
Finally looked at their own manifest file, found their own <MataData> problems, placed in the new write application tag. Should be put in the application of the self-contained. Then, it's settled.
section of the manifest file:
<application android:allowbackup= "true" android:icon= "@drawable/ic_launcher" android:label= "@s Tring/app_name "Android:theme=" @style/apptheme "> <activity android:name=". Mainactivity "android:label=" @string/app_name "> <intent-filter> <action Android:name= "Android.intent.action.MAIN"/> <category android:name= "Android.intent.category.LAUNCHER "/> </intent-filter> </activity> <meta-data android:name=" com.baidu.lbs Api. Api_key "android:value=" Rsgguuanhapfn1mewsdg8vh2 "/> </application> <!--wrong place--><!-- <application>--><!--<meta-data>--><!--android:name= "Com.baidu.lbsapi.API_KE Y "--><!--android:value=" rsgguuanhapfn1mewsdg8vh2 "--><!-->--><!--</me ta-data>--><!--</aPplication>--
Hope to bring a solution to the same problem.
Either the problem with the key or the configuration of the manifest file.
Other things are not very clear ...
Android Baidu map Error---Phone shows only one frame, no map content.