Resolve compilation issues on Apple Silicon
Description
Specify build tools available for aarch64 to use during gradle build.
Motivation and Context
Older build tools do not work with Apple Silicon resulting in "Cause: error=86, Bad CPU type in executable".
How Has This Been Tested?
- Within Android Studio, navigate to "Tools->SDK Manager"
- Select "SDK Tools" (middle tab) and check "Show Package Details"
- Uninstall all build tools except an older version, such as 27.0.1
- Reload the Gradle project. Observe Gradle will automatically download 33.0.1
- Go back into the menu and uninstall 27.0.1
- Reload the Gradle project again
- Confirm only version 33.0.1 is present on the system
Types of changes
-
Bug fix (non-breaking change which fixes an issue)
Checklist
-
I have read the CONTRIBUTING section of the README document.
Edited by Robert Stone