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

Build failure in android studio on M1 chip based Mac #2335

Open
sunbiz opened this issue Oct 15, 2021 · 0 comments
Open

Build failure in android studio on M1 chip based Mac #2335

sunbiz opened this issue Oct 15, 2021 · 0 comments

Comments

@sunbiz
Copy link

sunbiz commented Oct 15, 2021

Describe the bug
Compilation failed in M1 OSX

To Reproduce
Even though the file exists in the location, it throws

FileNotFoundException cannot find 'dhis2-rule-engine/pom.xml' and the root cause of this is missing XmlSlurper class from gradle.

Along with the upgrade to gradle-6.8.3, and JDK build 8.0.302-zulu that's specific to the M1 OSX, the error can be fixed. The recommended steps to install are as follows:

Expected behavior
Should build as usual, either the gradle build complete or APK build

Desktop (please complete the following information):

  • OS: Mac OSX
  • gradle-6.5
  • JDK version 1.8.0_301 (both OpenJDK or Sun JDK)
  • Android Studio Arctic Fox.

More details: https://gitlab.com/librehealth/incubating-projects/mhbs/mHBS-tracker/-/issues/26

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant