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

fix(android): lower build gradle #13571

Merged
merged 1 commit into from
Sep 21, 2022
Merged

fix(android): lower build gradle #13571

merged 1 commit into from
Sep 21, 2022

Conversation

m1ga
Copy link
Contributor

@m1ga m1ga commented Sep 16, 2022

fixes #13570

Test

  • build a module for Android
  • include the module in an app

currently SDK and apps have a different build.gradle since I can't update the SDKs version. It looks like modules don't like that 😄

@@ -2184,6 +2184,7 @@ AndroidBuilder.prototype.generateRootProjectFiles = async function generateRootP
const gradleProperties = await gradlew.fetchDefaultGradleProperties();
gradleProperties.push({ key: 'android.useAndroidX', value: 'true' });
gradleProperties.push({ key: 'android.enableJetifier', value: 'true' });
gradleProperties.push({ key: 'android.suppressUnsupportedCompileSdk', value: '33' });
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line was not changed in the 11_1_X branch, is it necessary?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

only to target SDK 33. Otherwise it will show a warning all the time. 11_1_X is not targeting 33 so I didn't include it there

@hansemannn hansemannn merged commit b737e76 into master Sep 21, 2022
@hansemannn hansemannn deleted the androidBuildFix branch September 21, 2022 17:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Android: Modules build with 11.1.0.GA not working in apps
2 participants