-
-
Notifications
You must be signed in to change notification settings - Fork 21.5k
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
Gradle warning during export to Android (Gradle version too old for compileSdk 33) #87072
Comments
In practice this warning seems to be harmless, but I agree we need to figure out how to remove it as it's confusing to users. We can either:
We'll probably need to start thinking about when we should target compileSdk 34, and this will also imply updating the Android Gradle plugin. CC @m4gr3d |
@akien-mga |
@akien-mga |
Godot doesn't use an outdated version of Gradle, just a slightly older one than the one recommended for compileSdk 33 (we still use the one recommended for compileSdk 32). You can ignore this warning. |
@akien-mga I've tried with one more project, this time bigger one. But gradle output didn't even shown. I mean, the window "Building Android Project (gradle)" didn't shown. Is this a bug? How could I enable these logs? |
I have tested with compileSdk=34 in 3.5.3 and it works. Changed in the import settings, not touched the Also testing Plugin built with Gradle 8.5 with AGP 8.2.0 and Java (17). It has been working till date without issues. And it works with 3.5.3. Not tested in 4.1.1 and 4.2.1 yet. Migrating from Gradle 7.4.2 to 8.5 for plugin had some hiccups but doable. There will be changes to scripts as some features are deprecated and some removed (deprecated earlier). |
"Changed in the import settings" ? Do you mean in "Android export" ? |
Tested versions
v3.5.3.stable.official [6c81413]
System information
Windows 10 Godot
Issue description
I got next warning during export to Android with Godot 3.5.3:
"WARNING: We recommend using a newer Android Gradle plugin to use compileSdk = 33
This Android Gradle plugin (7.2.1) was tested up to compileSdk = 32
..."
Steps to reproduce
Start emulator
Start Godot 3.5.3.stable
import app from "Minimal reproduction project"
click on "Debug" in left top corner and select "Deploy with Remote debug"
Project -> install Build template
Editor -> Export -> Android -> set SDK path and Keystore, enable "Use custom Build", export Format AAB
Export Project... -> Export with debug is enabled -> Save
Minimal reproduction project (MRP)
https://github.com/godotengine/godot-demo-projects/tree/3.5/3d/platformer
The text was updated successfully, but these errors were encountered: