Repository navigation
[.NET 6] Deploy fails on x86_64 API 31 emulator #6353
Copy link
Copy link
Closed
Labels
Area: App+Library BuildIssues when building Library projects or Application projects.Issues when building Library projects or Application projects.
Milestone
Description
Activity
- addedArea: App+Library BuildIssues when building Library projects or Application projects.Issues when building Library projects or Application projects.needs-triageIssues that need to be assigned.Issues that need to be assigned.
on Sep 30, 2021 - removedneeds-triageIssues that need to be assigned.Issues that need to be assigned.
on Sep 30, 2021 So the issue seems to be the API 31 emulator dropped x86?
> adb shell getprop | grep cpu [ro.product.cpu.abi]: [x86_64] [ro.product.cpu.abilist]: [x86_64,arm64-v8a] [ro.product.cpu.abilist32]: [] [ro.product.cpu.abilist64]: [x86_64,arm64-v8a] [ro.system.product.cpu.abilist]: [x86_64,arm64-v8a] [ro.system.product.cpu.abilist32]: [] [ro.system.product.cpu.abilist64]: [x86_64,arm64-v8a] [ro.vendor.product.cpu.abilist]: [x86_64,arm64-v8a] [ro.vendor.product.cpu.abilist32]: [] [ro.vendor.product.cpu.abilist64]: [x86_64,arm64-v8a]But the API 30 emulator shows:
> adb shell getprop | grep cpu [ro.product.cpu.abi]: [x86_64] [ro.product.cpu.abilist]: [x86_64,x86,arm64-v8a,armeabi-v7a,armeabi] [ro.product.cpu.abilist32]: [x86,armeabi-v7a,armeabi] [ro.product.cpu.abilist64]: [x86_64,arm64-v8a]So even classic Xamarin.Android projects fail on my API 31 emulator if I use
<AndroidSupportedAbis>x86</AndroidSupportedAbis>.Yeah this is mentioned in https://developer.android.com/about/versions/12/get?hl=en-US#on_emulator
Note that 32-bit Android emulator system images are not supported in Android 12.
- added 3 commits that reference this issue
on Oct 18, 2021 - added a commit that references this issue
on Oct 19, 2021 - ghost locked as resolved and limited conversation to collaborators
on Jun 2, 2022
Metadata
Metadata
Assignees
Labels
Area: App+Library BuildIssues when building Library projects or Application projects.Issues when building Library projects or Application projects.
Steps to Reproduce
dotnet new androiddotnet build -t:InstallFails with:
Same thing works with:
It also works fine in legacy Xamarin.Android
Version Information
Latest .NET 6 rc 2 bits.