Hi
I am getting the below error while deploying..
The package does not support the device architecture (x86). You can change the supported architectures in the Android Build section of the Project Options.
Deployment failed. Architecture not supported.
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.
Answers
Have you changed the supported architecture as the error message suggests? If so, did this solve your deployment issue?
I have tried changing the traget Android Version. But no luck.
If any thing else required please suggest
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.
Here's an updated screenshot. Choosing x86 will get your Xamarin Android Player emulators to work:
Thank you. This was useful.
Thank you this solved my issue!
Many thanks
It seems this issue keeps appearing infrequently after updating various modules. The update screenshot of @ClarkCole was helpful, though it is now a bit outdate with more checkboxes in it.
Oh my God! Thank you! It took me months to work it!
That's great, I too have the same problem.
1. Just changed Android Build -> Advanced tab -> armeabi-v7a and x86.
It working fine for me.
Very useful, thanks a lot!!!!
Also, docs are here: https://developer.xamarin.com/guides/android/application_fundamentals/cpu_architectures/
Thanks @JayakumarVnayagam, that got me going with Visual Studio's Android Emulator.
@JamesMontemagno Wow I remember reading that a year or two ago and just not getting it. Now it makes perfect sense and addresses this problem. Sweet.
Guys i'm getting the same error in windows xamarin...........but in my xamarin 5 i dont have that android X86 options and all ....help
Thanks @ClarkCole....
A salute with gratitude...
Thanks - VS2015 -> project properties for my app -> Android Options -> Config=Release -> and then ticked all options, including "X86".
And somehow, it now deploys to my Samsung Galaxy 5, no issue.......
Aahhhhh - I was deploying it to GenyMotion - which makes sense now why I needed the X86 option ticked.....
Actually when I deploy to my own Samsung device, I don't need X86......
Thank you Clarkcole. This was useful.
it doesnt work for me,i have select all the arhitectures on both debhg and release but i canf deploy to genumotion
in packaging on release everything is unchecked,i cant deploy either as debug ir release
thanks for the fix, had a heart attack after all my apps failed to deploy
@FlorianZimmermann.7188 said:
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.
Very Useful Thank you..
Muchas gracias!!
This issue is because of wrong architecture selection in Android option.
To select the corect archicture Please select the following options.
1. Right Click on Your Android Project.
2. Go to Properties
3. Select Android Option
4. Scroll down to see the Advance Option.click this Advance Option.
5. A popup will open with the supported acchicture.
6. Mostly X86 archicture will work,but you can try with other archicture also.
You Can look in the ToolBar items and Change the Realese To Debuge
thank you
Thank you.
Just change your build option from debug to release , normally happens when u want to test with emulator