Dev/Flutter
[Flutter] 빌드시 발생하는 BuildConfig 에러
healthyryu
2023. 8. 1. 10:36
에러 내용
> com.android.builder.errors.EvalIssueException: defaultConfig contains custom BuildConfig fields, but the feature is disabled.
해결책
https://stackoverflow.com/a/74634322/3897810
Fixing the "Build Type contains custom BuildConfig fields, but the feature is disabled" error w/ buildConfigField
In the new version of Android Studio (Flamingo | 2022.2.1 Canary 9) with the org.jetbrains.kotlin (1.8.0-Beta) plugin and 8.0.0-alpha09 gradle plugin, a new build suddenly gets this error: Build T...
stackoverflow.com
android {
buildFeatures {
buildConfig = true
}
}반응형