Fix 'Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0'

preview_player
Показать описание
Explained how to set --warning-mode all to log the warnings, find the root cause for this warning and fix the warning "Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0" in Android Studio.

#DeprecatedGradleFeatures
#Gradle
#AndroidStudio

#
Рекомендации по теме
Комментарии
Автор

Very good your initiative but in my case I just needed to restart my computer and it solved the problem

ManassesJorge
Автор

Not fixed for me. Get same error in UE 5.3 :
FAILURE: Build failed with an exception.
UATHelper: Packaging (Android (ETC2)): * What went wrong:
UATHelper: Packaging (Android (ETC2)): Execution failed for task
UATHelper: Packaging (Android (ETC2)): > A failure occurred while executing
UATHelper: Packaging (Android (ETC2)): > Required array size too large
UATHelper: Packaging (Android (ETC2)): * Try:
UATHelper: Packaging (Android (ETC2)): > Run with --stacktrace option to get the stack trace.
UATHelper: Packaging (Android (ETC2)): > Run with --info or --debug option to get more log output.
UATHelper: Packaging (Android (ETC2)): > Run with --scan to get full insights.
UATHelper: Packaging (Android (ETC2)): Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
UATHelper: Packaging (Android (ETC2)): You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
UATHelper: Packaging (Android (ETC2)): 67 actionable tasks: 66 executed, 1 up-to-date
UATHelper: Packaging (Android (ETC2)): BUILD FAILED in 1m 7s
UATHelper: Packaging (Android (ETC2)): cmd.exe failed with args /c "D:\unrealprojects\idfp\idfp 5.0 5.2 :app:assembleRelease
UATHelper: Packaging (Android (ETC2)): (see for full exception trace)
UATHelper: Packaging (Android (ETC2)): AutomationTool executed for 0h 3m 56s
UATHelper: Packaging (Android (ETC2)): AutomationTool exiting with ExitCode=1 (Error_Unknown)
UATHelper: Packaging (Android (ETC2)): BUILD FAILED
PackagingResults: Error: Unknown Error

dtutorialsandquestions
Автор

removing module ? how that is going to be the answer and solution for this ?

vimalvimal
Автор

Hello. When I type "./gradlew build --warning-mode all" I get the error '.' is not recognized as an internal or external command,

celeb-news
Автор

Please clearly step by step explain...

pnpcreator
Автор

Sir it's not working
Plz help me

vaishnavi
Автор

Thank U You help me a lot in 4/19/2022

Hello_world
Автор

Not working for me can you please help

darshanjadhav
Автор

Sir plz help me
I'm trying since 7 days but nothing happened.
Plz plz sir help

vaishnavi