title: A problem occurred configuring project ':game'. > java.lang.NullPointerException (no error message)
body: <p>I'm building apk from an android project exported from Cocos Creator V2.4.3 but getting the below error with Gradle</p>
  <pre><code>A problem occurred configuring project ':game'.
  &gt; java.lang.NullPointerException (no error message)
  </code></pre>
  <p>I've deleted all android SDK, NDK and re-installed Android Studio, then re-update SDK, NDK, Build Tool.
  But the error still occurs.</p>
  <p>Some configurations:</p>
  <p>Android SDK = 23, 26, 28, 30</p>
  <p>SDK Build Tool = 30.0.3</p>
  <p>NDK = 19.2.5345600</p>
  <p>Gradle version: 4.10.3</p>
  <p>Gradle plugin version: 3.2.0</p>
  <p>JDK: jdk1.8.0_281</p>
  <hr />
  <p>The build.gradle looks like this</p>
  <pre><code>// Top-level build file where you can add configuration options common to all sub-projects/modules.
  
  buildscript {
  
      repositories {
          google()
          jcenter()
      }
      dependencies {
          classpath 'com.android.tools.build:gradle:3.2.0'
  
  
          // NOTE: Do not place your application dependencies here; they belong
          // in the individual module build.gradle files
      }
  }
  
  allprojects {
      repositories {
          google()
          jcenter()
          flatDir {
                  dirs 'libs'
          }
      }
  }
  
  task clean(type: Delete) {
      delete rootProject.buildDir
  }
  </code></pre>
  <p>Anyone has any idea about what should be done to fix this?</p>