Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[.NET 6] bundletool fails on x86_64 API 31 emulator #6354

Closed
jonathanpeppers opened this issue Sep 30, 2021 · 0 comments · Fixed by #6358
Closed

[.NET 6] bundletool fails on x86_64 API 31 emulator #6354

jonathanpeppers opened this issue Sep 30, 2021 · 0 comments · Fixed by #6358
Assignees
Labels
Area: App+Library Build Issues when building Library projects or Application projects.
Milestone

Comments

@jonathanpeppers
Copy link
Member

Steps to Reproduce

  1. Setup x86_64 API 31 emulator
  2. dotnet new android
  3. dotnet build -c Release -t:Install

Fails with:

[BT : 1.4.0] error : Error retrieving device density. Please try again.

I suspect we need a bundletool update.

Version Information

Latest .NET 6 rc2 bits

@jonathanpeppers jonathanpeppers added the Area: App+Library Build Issues when building Library projects or Application projects. label Sep 30, 2021
@jonathanpeppers jonathanpeppers added this to the .NET 6 milestone Sep 30, 2021
jonathanpeppers added a commit to jonathanpeppers/xamarin-android that referenced this issue Oct 1, 2021
Context: https://github.com/google/bundletool/releases/tag/1.8.1
Changes: google/bundletool@1.4.0...1.8.1
Fixes: dotnet#6354

`dotnet build -c Release -t:Install` fails on an API-31 emulator with:

    [BT : 1.4.0] error : Error retrieving device density. Please try again.

Updating `bundletool` with the fix:

    Android12 emulator fails due to 'Error retrieving device density'

google/bundletool#241
jonathanpeppers added a commit that referenced this issue Oct 2, 2021
Context: https://github.com/google/bundletool/releases/tag/1.8.1
Changes: google/bundletool@1.4.0...1.8.1
Fixes: #6354

`dotnet build -c Release -t:Install` fails on an API-31 emulator with:

    [BT : 1.4.0] error : Error retrieving device density. Please try again.

Updating `bundletool` with the fix:

    Android12 emulator fails due to 'Error retrieving device density'

google/bundletool#241
jonpryor pushed a commit to jonpryor/xamarin-android that referenced this issue Oct 18, 2021
Fixes: dotnet#6354
Fixes: https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1414786

Context: https://github.com/google/bundletool/releases/tag/1.8.1
Context: google/bundletool#241

Changes: google/bundletool@1.4.0...1.8.1

`dotnet build -c Release -t:Install` fails on an API-31 emulator with:

    [BT : 1.4.0] error : Error retrieving device density. Please try again.

Updating `bundletool` with the fix:

    Android12 emulator fails due to 'Error retrieving device density'
@ghost ghost locked as resolved and limited conversation to collaborators Jun 2, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Area: App+Library Build Issues when building Library projects or Application projects.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants