When adding a MapFragment I receive the following error on compile:
I have added the following to the Manifest:
Which is the Maps API Key.
This is the full error:
B4X:
android.content.res.Resources$NotFoundException: Unable to find resource ID #0x2711
I have added the following to the Manifest:
B4X:
<
AddApplicationText(
<uses-library
android:name="org.apache.http.legacy"
android:required="false" />
<meta-data
android:name="com.google.android.geo.API_KEY"
android:value="AIzaSyDXiXJpRSEIeAo41lWWyRLtEhHNa6hDDsw"/>
)
/>
This is the full error:
B4X:
android.content.res.Resources$NotFoundException: Unable to find resource ID #0x2711
at android.content.res.Resources.getResourceName(Resources.java:3681)
at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:975)
at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1163)
at android.app.BackStackRecord.run(BackStackRecord.java:793)
at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1552)
at android.app.FragmentManagerImpl$1.run(FragmentManager.java:487)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:158)
at android.app.ActivityThread.main(ActivityThread.java:7225)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
Last edited: