I have a Xamarin Forms project that i have included the Naxam Mapbox project into . I am able to display the map on all versions of Android before version 11. When i deploy to a device that has Android 11 i get the following error:
Java.Lang.SecurityException: 'getDataNetworkTypeForSubscriber'
I solved this problem by downgrading the android target version to 10. If your application does not use android 11 features, then not a bad temporary solution. I solved this problem by downgrading the android target version to 10. If your application does not use android 11 features, then not a bad temporary solution.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.