简体   繁体   中英

Failed to load Android Project in Xamarin Forms application using VS 2017

When I was trying to debug a Xamarin Forms application on my Android phone, my laptop shut down twice. Now whenever I launch Visual Studio, the Android project will not load. VS解决方案资源管理器显示失败的Android项目加载

I tried cleaning and reloading the project, but that doesn't work. Restarting Visual Studio doesn't work either.

When I tried reloading the Android project, I got the error "The project file could not be loaded. Root element is missing."

I had the same problem. The solution I found was deleting the .Droid.csproj.user file which was corrupted.

https://dev.to/codeprototype/xamarin-form-application-failed-to-load-android-project-root-element-missing--27o0

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM