Cloned Project and Tried to Compile
Closed this issue · 3 comments
I got the following errors:
Severity Code Description Project File Line Suppression State
Error Invalid value 'armeabi' in $(AndroidSupportedAbis). This ABI is no longer supported. Please update your project properties. SampleApp.Droid
I saw this solution -> https://developercommunity.visualstudio.com/content/problem/525810/error-xa0115-invalid-value-armeabi-in-androidsuppo.html
Closed VS 2019. I opened the android project .csproj file and remove the value armeabi
from the msbuild property AndroidSupportedAbis
.
The project compiled.
Tried to run on Android. Set Droid project as Startup Project
Got error
The project SampleApp.Droid needs to be deployed before it can be started. Verify the project is selected to be deployed in the Solution Configuration Manager.
Fixed this with the following:
https://stackoverflow.com/questions/42016155/visual-studio-the-project-needs-to-be-deployed-before-it-can-be-started
Tried to run and got a black screen after ten minutes
Noticed there was a need to update all nuget packages to be compatible.
One of them made me restart VS 2019.
Severity | Code | Description | Project | File | Line | Suppression State |
---|---|---|---|---|---|---|
Error | XLS0419 | Undefined CLR namespace. The 'clr-namespace' URI refers to a namespace 'System' that could not be found. | SampleApp | MapPage.xaml | 5 | |
Error | XLS0414 | The type 'sys:Int32' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built. | SampleApp | MapPage.xaml | 41 | |
Error | XLS0414 | The type 'sys:Int32' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built. | SampleApp | MapPage.xaml | 42 |
Eliminated this line in MapPage.xaml
xmlns:sys="clr-namespace:System;assembly=mscorlib"
Changed these
<sys:Int32 x:Key="Previous">-1</sys:Int32>
<sys:Int32 x:Key="Next">-1</sys:Int32>
To
<x:Int32 x:Key="Previous">-1</x:Int32>
<x:Int32 x:Key="Next">-1</x:Int32>
Finally. It compiled and ran.