Java.Lang.RuntimeException: 添加 SplashActivity 时无法实例化 activity ComponentInfo
Java.Lang.RuntimeException: Unable to instantiate activity ComponentInfo while adding SplashActivity
我在使用 Xamarin Forms 添加启动画面时遇到问题。我在 this link.
的帮助下实现了启动画面
之后应用程序崩溃了。并显示给定的错误弹出窗口。
请帮帮我
谢谢
你可以参考 Jon Douglas 的回答:Xamarin.Android app only finding launcher activity on clean compile
.
This issue has been fixed and be included in Visual Studio 15.5.5
or Visual Studio 15.6 Preview 3
.
The respective Xamarin.Android version this fix is included in are Xamarin.Android 8.1.5.0 (Stable)
and Xamarin.Android 8.2.0.6 (Preview)
解决方案 1:
将您的 Visual Studio 更新到最新版本,Visual Studio 15.5.6 现已可用。
解决方案 2:
- 删除您的解决方案 bin&obj 文件夹
- 再次重建
我在使用 Xamarin Forms 添加启动画面时遇到问题。我在 this link.
的帮助下实现了启动画面之后应用程序崩溃了。并显示给定的错误弹出窗口。
请帮帮我 谢谢
你可以参考 Jon Douglas 的回答:Xamarin.Android app only finding launcher activity on clean compile .
This issue has been fixed and be included in
Visual Studio 15.5.5
orVisual Studio 15.6 Preview 3
.The respective Xamarin.Android version this fix is included in are
Xamarin.Android 8.1.5.0 (Stable)
andXamarin.Android 8.2.0.6 (Preview)
解决方案 1:
将您的 Visual Studio 更新到最新版本,Visual Studio 15.5.6 现已可用。
解决方案 2:
- 删除您的解决方案 bin&obj 文件夹
- 再次重建