Edit: Maps was not the problem, it's the forms itself as well.
In our app we are using Xamarin.Forms
, and we used to use version 2.3.4.270
which was working fine. However, after updating to the current latest version 2.4.0.18342
and cleaning the solution, we just see a white screen without any exception. Note that not even a part of the actual layout is rendered at all. No code is changed.
This problem is on an Android device, iOS is working properly.
According to the release notes, there is nothing actually changed a lot in the Forms
itself:
https://developer.xamarin.com/releases/xamarin-forms/xamarin-forms-2.4/2.4.0-stable/
Did Xamarin
change something important in their switch from 2.3
to 2.4
that I am missing out here?
The white screen appears if you did not provide an API key, or if it not valid. Since your iOS project is working fine, my suggestion will be to check your declaration of API key for android.
https://developer.xamarin.com/guides/xamarin-forms/user-interface/map/#Android
问题是我们正在使用MvvmCross
,这在我们的项目中引起了一些问题,因此我们决定切换到另一个框架。
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.