Error in ndk-build

Create issue
Issue #158 closed
brbl created an issue

Following the instructions for Windows: after downloading the repo and extracting it, running ndk-build gives this error:

Android NDK: Your APP_BUILD_SCRIPT points to an unknown file: D:/Android/love2d-android/jni/
D:/Android/android-ndk-r13b/build//../build/core/ *** Android NDK: Aborting...    .  Stop.

Okay, it seems that the repo doesnt support ndk-build now in favour of gradle, however, when i run gradlew build, gives this error:

Exception in thread "main" error in opening zip file
        at Method)
        at org.gradle.wrapper.Install.unzip(
        at org.gradle.wrapper.Install.access$600(
        at org.gradle.wrapper.Install$
        at org.gradle.wrapper.Install$
        at org.gradle.wrapper.ExclusiveFileAccessManager.access(
        at org.gradle.wrapper.Install.createDist(
        at org.gradle.wrapper.WrapperExecutor.execute(
        at org.gradle.wrapper.GradleWrapperMain.main(

Comments (4)

  1. Martin Felis repo owner

    Yes ndk-build should now be run by gradle.

    Can you try building it from Android Studio 3? Also keep issue #152 in mind.

  2. Log in to comment