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

[Xamarin.Android.Build.Tasks] fixup invalid $(AndroidDexTool) #4543

Merged
merged 1 commit into from
Apr 9, 2020

Conversation

jonathanpeppers
Copy link
Member

Fixes: #4439

If you build a project with AndroidDexTool=invalid, you end up with
an APK file that is missing a classes.dex. We don't emit an error,
and you won't actually know anything is wrong until going to install
the APK.

If someone did this on accident, I think we can just default
AndroidDexTool=d8 unless it is set to dx.

I updated a test for this.

Fixes: dotnet#4439

If you build a project with `AndroidDexTool=invalid`, you end up with
an APK file that is missing a `classes.dex`. We don't emit an error,
and you won't actually know anything is wrong until going to install
the APK.

If someone did this on accident, I think we can just default
`AndroidDexTool=d8` *unless* it is set to `dx`.

I updated a test for this.
@dellis1972 dellis1972 merged commit 2d25ea6 into dotnet:master Apr 9, 2020
jonpryor pushed a commit that referenced this pull request Apr 17, 2020
Fixes: #4439

If you build a project with `AndroidDexTool=invalid`, you end up with
an APK file that is missing a `classes.dex`. We don't emit an error,
and you won't actually know anything is wrong until going to install
the APK.

If someone did this on accident, I think we can just default
`AndroidDexTool=d8` *unless* it is set to `dx`.

I updated a test for this.
@github-actions github-actions bot locked and limited conversation to collaborators Jan 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
3 participants