Skip to content

Conversation

@jonpryor
Copy link
Contributor

@jonpryor jonpryor commented Jun 9, 2023

Context: android/ndk#1299
Context: https://developer.android.com/tools/releases/build-tools

Similar to the Android NDK (android/ndk#1299), aapt2 from the Android SDK build-tools package is also a native binary.

aapt2 from build-tools_r32 only contains an x64 slice:

% file aapt2
aapt2: Mach-O 64-bit executable x86_64

aapt2 in build-tools_r33 and build-tools_r34 contains both x64 and arm64 slices:

% file aapt2
aapt2: Mach-O universal binary with 2 architectures: [x86_64:Mach-O 64-bit executable x86_64] [arm64]
aapt2 (for architecture x86_64):	Mach-O 64-bit executable x86_64
aapt2 (for architecture arm64):	Mach-O 64-bit executable arm64

Update $(XABuildToolsVersion)=34, so that we redistribute this newer aapt2 binary. This will remove a place that Rosetta 2 is required to use .NET Android.

Context: android/ndk#1299
Context: https://developer.android.com/tools/releases/build-tools

Similar to the Android NDK (android/ndk#1299), `aapt2` from the
Android SDK build-tools package is also a native binary.

`aapt2` from build-tools_r32 only contains an x64 slice:

	% file aapt2
	aapt2: Mach-O 64-bit executable x86_64

`aapt2` in build-tools_r33 and build-tools_r34 contains both x64
and arm64 slices:

	% file aapt2
	aapt2: Mach-O universal binary with 2 architectures: [x86_64:Mach-O 64-bit executable x86_64] [arm64]
	aapt2 (for architecture x86_64):	Mach-O 64-bit executable x86_64
	aapt2 (for architecture arm64):	Mach-O 64-bit executable arm64

Update `$(XABuildToolsVersion)`=34, so that we redistribute this
newer `aapt2` binary.  This will remove *a* place that Rosetta 2 is
required to use .NET Android.
@jonpryor jonpryor merged commit 0698891 into dotnet:main Jun 10, 2023
grendello added a commit to grendello/xamarin-android that referenced this pull request Jun 12, 2023
* main:
  LEGO: Merge pull request 8119
  [build] Bump `$(XABuildToolsVersion)`=34 (dotnet#8118)
  [Xamarin.Android.Build.Tasks] missing resource error handling (dotnet#8066)
  [CI] Allow MSBuild test stages to run in the megapipeline (dotnet#8033)
  [ci] Fix nightly test environment provisioning (dotnet#8113)
jpobst pushed a commit that referenced this pull request Jun 29, 2023
Context: android/ndk#1299
Context: https://developer.android.com/tools/releases/build-tools

Similar to the Android NDK (android/ndk#1299), `aapt2` from the
Android SDK build-tools package is also a native binary.

`aapt2` from build-tools_r32 only contains an x64 slice:

	% file aapt2
	aapt2: Mach-O 64-bit executable x86_64

`aapt2` in build-tools_r33 and build-tools_r34 contains both x64
and arm64 slices:

	% file aapt2
	aapt2: Mach-O universal binary with 2 architectures: [x86_64:Mach-O 64-bit executable x86_64] [arm64]
	aapt2 (for architecture x86_64):	Mach-O 64-bit executable x86_64
	aapt2 (for architecture arm64):	Mach-O 64-bit executable arm64

Update `$(XABuildToolsVersion)`=34, so that we redistribute this
newer `aapt2` binary.  This will remove *a* place that Rosetta 2 is
required to use .NET Android.

(cherry picked from commit 0698891)
jonathanpeppers pushed a commit to jonathanpeppers/xamarin-android that referenced this pull request Sep 1, 2023
Context: android/ndk#1299
Context: https://developer.android.com/tools/releases/build-tools

Similar to the Android NDK (android/ndk#1299), `aapt2` from the
Android SDK build-tools package is also a native binary.

`aapt2` from build-tools_r32 only contains an x64 slice:

	% file aapt2
	aapt2: Mach-O 64-bit executable x86_64

`aapt2` in build-tools_r33 and build-tools_r34 contains both x64
and arm64 slices:

	% file aapt2
	aapt2: Mach-O universal binary with 2 architectures: [x86_64:Mach-O 64-bit executable x86_64] [arm64]
	aapt2 (for architecture x86_64):	Mach-O 64-bit executable x86_64
	aapt2 (for architecture arm64):	Mach-O 64-bit executable arm64

Update `$(XABuildToolsVersion)`=34, so that we redistribute this
newer `aapt2` binary.  This will remove *a* place that Rosetta 2 is
required to use .NET Android.
jonathanpeppers pushed a commit that referenced this pull request Sep 5, 2023
Context: android/ndk#1299
Context: https://developer.android.com/tools/releases/build-tools

Similar to the Android NDK (android/ndk#1299), `aapt2` from the
Android SDK build-tools package is also a native binary.

`aapt2` from build-tools_r32 only contains an x64 slice:

	% file aapt2
	aapt2: Mach-O 64-bit executable x86_64

`aapt2` in build-tools_r33 and build-tools_r34 contains both x64
and arm64 slices:

	% file aapt2
	aapt2: Mach-O universal binary with 2 architectures: [x86_64:Mach-O 64-bit executable x86_64] [arm64]
	aapt2 (for architecture x86_64):	Mach-O 64-bit executable x86_64
	aapt2 (for architecture arm64):	Mach-O 64-bit executable arm64

Update `$(XABuildToolsVersion)`=34, so that we redistribute this
newer `aapt2` binary.  This will remove *a* place that Rosetta 2 is
required to use .NET Android.
@github-actions github-actions bot locked and limited conversation to collaborators Jan 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant