Need more help? Go to Stack Overflow.
Cause analysis:
Map Kit needs to read appid and other attributes from the AppGallery Connect configuration file. In some conditions, Map Kit cannot read appid.
Solution:
You can manually add appid to AndroidManifest.xml.
<application android:allowBackup="true" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:roundIcon="@mipmap/ic_launcher_round" android:supportsRtl="true" android:theme="@style/AppTheme">
<uses-library android:name="org.apache.http.legacy" android:required="false" />
<meta-data android:name="com.huawei.hms.client.appid" android:value="appid=<your_app_id>" />
</application>