Java.Lang.Nullpointerexception (No Error Message)

java.lang.NullPointerException (no error message)

I've deleted .gradle folder from the project and was able to rebuild it again.

N.B: Make a backup, just in case.

A problem occurred configuring project ':game'. java.lang.NullPointerException (no error message)

The problem was with setting the NDK Path in Cocos Creator.

I've changed
C:\Users\SomeUserName\AppData\Local\Android\Sdk\ndk

into
C:\Users\SomeUserName\AppData\Local\Android\Sdk\ndk\19.2.5345600

And things worked

java.lang.NullPointerException (no error message) when try to make sign apk

inside your android { } tag just add this

    // This is important, it will run lint checks but won't abort build
android {
lintOptions {
abortOnError false
}
}

if abortOnError false will not resolve your problem, you can try this

android {
lintOptions {
checkReleaseBuilds false
}
}

it should solve your problem



Related Topics



Leave a reply



Submit