I was dreading this...
I worked all day today to get this application to run on apple meaning getting the dev account info and getting the application to run via a connected Macintosh computer get a device registered and all the other apple hoops you have to jump through... and now my xamarin application for that worked great in Android will not compile...
I get the following errors now:
Severity Code Description Project Path File Line Source Suppression State
Error ADB0020: The package does not support the CPU architecture of this device.
at Mono.AndroidTools.Internal.AdbOutputParsing.CheckInstallSuccess(String output, String packageName) in E:\A_work\21\s\External\androidtools\Mono.AndroidTools\Internal\AdbOutputParsing.cs:line 337
at Mono.AndroidTools.AndroidDevice.<>c__DisplayClass95_0.b__0(Task1 t) in E:\A\_work\21\s\External\androidtools\Mono.AndroidTools\AndroidDevice.cs:line 753 at System.Threading.Tasks.ContinuationTaskFromResultTask
1.InnerInvoke()
at System.Threading.Tasks.Task.Execute() 0 Build
So now I cant get it to run on the Android emulator...
Let me ask you all what is the best practices here...
Should I Just creat two visual studio projects and have one setup for the apple and one set up for the Android...
I guess my only bet now is to pull and old version from source control...
THanks for any advice...sorry so many questions... but this experience with xamarin has been a horror show and I just want it to end.
Answers
Same thread: https://forums.xamarin.com/discussion/147069/i-knew-this-was-going-to-happen-i-broke-my-application-use-to-work-in-android-now-it-does-not
Yeah I think my browser crashed.. please delete the duplicate please @jezh
I found this useful. When using the x86 Android Emulators in Hyper-V
https://forums.xamarin.com/discussion/19965/deployment-failed-architecture-not-supported
Credit to @FlorianZimmermann.7188
Just in Case anyone got the same problem.
You've to open the Options of the Droid Project.
Then go to Android Options -> Advanced and mark x86 while having 'Release' selected as Configuration. (Or Debug in my case)