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

Cannot build Android app for release because of compileSdk = 35 #376

Closed
maelchiotti opened this issue Dec 17, 2024 · 3 comments · Fixed by #377
Closed

Cannot build Android app for release because of compileSdk = 35 #376

maelchiotti opened this issue Dec 17, 2024 · 3 comments · Fixed by #377

Comments

@maelchiotti
Copy link
Contributor

Hi, I cannot build my app for release because flutter_mimir requires SDK 35.

According to SO, I could upgrade my gradle plugin. However Flutter uses SDK 34 by default, so is there a reason you used 35? If not I think using the default Flutter version would be better:

compileSdk = flutter.compileSdkVersion
ndkVersion = flutter.ndkVersion
@GregoryConrad
Copy link
Owner

GregoryConrad commented Dec 17, 2024

by default, so is there a reason you used 35?

No, I just introduced that because I was updating my Android build.gradle boilerplate since it was too far out of date (causing CI failures). The new boilerplate used 35.

compileSdk = flutter.compileSdkVersion
ndkVersion = flutter.ndkVersion

That looks like what I actually wanted, thanks! #377

@GregoryConrad
Copy link
Owner

Released a new version, 0.1.5, plz wait a few hours before attempting to use it (otherwise your pub cache will be messed up, since the binaries haven't been built by CI yet)

@maelchiotti
Copy link
Contributor Author

Awesome! I will confirm it's fixed when I try again.

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 a pull request may close this issue.

2 participants