I found solution. For someone else who will have the same problem. Just add this line: set GRADLE_OPTS=-Dorg.gradle.project.android.useAndroidX=true -Dorg.gradle.project.android.enableJetifier=true to gradlew.bat after set DEFAULT_JVM_OPTS=-Xmx1024m -Dfile.encoding=UTF-8