Xamarin Android app installation failed in X86 emulators.

Srikanth_ASrikanth_A Member ✭✭
edited April 8 in Xamarin.Android

I need to check Xamarin Android app in API 19 and below. But that APIs are available only under X86 processor. And, app not installing in X86 emulators. Getting following error
Build Failed: Xamarin.Android does not support running the previous version. Please ensure your solution builds before running or debugging it.

Error ADB0010: Unexpected install output: pkg: /data/local/tmp/com.companyname-Signed.apk
Failure [INSTALL_PARSE_FAILED_MANIFEST_MALFORMED]

at Mono.AndroidTools.Internal.AdbOutputParsing.CheckInstallSuccess(String output, String packageName)
at Mono.AndroidTools.AndroidDevice.<>c__DisplayClass95_0.b__0(Task1 t) at System.Threading.Tasks.ContinuationTaskFromResultTask1.InnerInvoke()
at System.Threading.Tasks.Task.Execute() 0

Error ADB0000: Deployment failed
Mono.AndroidTools.InstallFailedException: Unexpected install output: pkg: /data/local/tmp/com.companyname-Signed.apk
Failure [INSTALL_PARSE_FAILED_MANIFEST_MALFORMED]

at Mono.AndroidTools.Internal.AdbOutputParsing.CheckInstallSuccess(String output, String packageName)
at Mono.AndroidTools.AndroidDevice.<>c__DisplayClass95_0.b__0(Task1 t) at System.Threading.Tasks.ContinuationTaskFromResultTask1.InnerInvoke()
at System.Threading.Tasks.Task.Execute() 0

Ways i followed to resolve :
1) Created new solution platform with Type X86, copied 'Any CPU' settings in that and Using X86 under solution platforms whenever i install app (As mentioned here).
2) In support architectures, i kept armeabi, armeabi-v7, X86, X86-64, arm64-v8a

Answers

Sign In or Register to comment.