Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Migrate BuildConfig to Gradle Build Files

Tags:

android

gradle

When I build in Android Studio, i get this message:

The option setting 'android.defaults.buildfeatures.buildconfig=true' is deprecated.
The current default is 'false'.
It will be removed in version 9.0 of the Android Gradle plugin.
You can resolve this warning in Android Studio via `Refactor` > `Migrate BuildConfig to Gradle Build Files`

but there is no such option in the Refactor menu

how can I start the Refactor?

like image 380
rubo77 Avatar asked Nov 22 '25 02:11

rubo77


1 Answers

Maybe it will be useful to someone.

Right-click in build.gradle Refactor -> Migrate BuildConfig to Gradle Build Files

enter image description here

like image 136
Murad Muradov Avatar answered Nov 24 '25 16:11

Murad Muradov



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!