Reputation: 1279
I have a problem that I really can't understand what causes this problem. I get this error when I try to debug a xamarin app to my physical android mobile phone. This is the blank app that you get when you first create a project. So I have not added one line of code to this application. I have tried with everything I can think of for 2 days and I just can't manage to understand the problem:
Error ADB0000: Deployment failed Xamarin.AndroidTools.AndroidDeploymentException: ArchitectureNotSupportedBySharedRuntime
My phone:
CPU Architecture: ARMv7 Processor rev3 (v7l)
Cores: 2
Instruction Sets: armeabi-v7a, armeabi
Kernel Architecture: armv7l
(I have enabled debugging mode in the Developer Options on the mobile phone)
As seen in the image. I choose: "armeabi" and "armeabi-v7a" and I have also tried one at a time with same error. That should be the same Architecture as my phone has.
I also have set the minimum API as: Android 4.4 (API Level 19 - Kit Kat)
Upvotes: 1
Views: 150
Reputation: 9234
Based on your error message, armeabi
is deprecated and your Android project should target armeabi-v7a
and arm64-v8a
at a minimum in your release builds destined for the Google Play Store.
Please edit your .csproj
and remove the armeabi
from within the AndroidSupportedAbis tags:
<AndroidSupportedAbis>armeabi-v7a;arm64-v8a</AndroidSupportedAbis>
Upvotes: 1