Hello,please help.I have new a bug.I've upgraded t...
# android
j
Hello,please help.I have new a bug.I've upgraded the AS to 3.2.Kotlin 1.2.71. API 28.How can I fix it? Thanks Gradle DSL method not found: 'compileSdkVersion()' Possible causes:<ul><li>The project 'Old_error_cardview' may be using a version of the Android Gradle plug-in that does not contain the method (e.g. 'testCompile' was added in 1.1.0). Upgrade plugin to version 3.2.0 and sync project</li><li>The project 'Old_error_cardview' may be using a version of Gradle that does not contain the method. Open Gradle wrapper file</li><li>The build file may be missing a Gradle plugin. Apply Gradle plugin</li>
l
j
👍
I have new bug 😞 Thanks Could not find method productFlavors() for arguments [build_7vk1a90hbccdh3f295ghwmeym$_run_closure2$_closure4@1afcf289] on object of type org.gradle.api.internal.plugins.DefaultExtraPropertiesExtension. https://hastebin.com/dakidaqoqa.bash
g
But this DSL is part of
android {}
dsl
j
What do you mean by DSL? I'm just a beginner. Thanks
g
Move productFlavors inside of
android
block
I actually don’t understand why do you use
ext
j
ok,Thanks