Details

    • Type: Bug
    • Status: Closed
    • Resolution: Invalid
    • Affects Version/s: None
    • Component/s: Appcelerator Modules
    • Labels:
    • Environment:

      Max OS X 10.7.4
      2.1.0.GA
      Android NDK r8

      Description

      Hi,

      I'm trying to build an Android module with some JNI bindings, but it doesn't build. Build fails in 'ndk.build.local', BTW, it works ok with 2.0.2.GA.
      It seems like it's trying to find Android.mk inside a 'jni' folder inside the temp folder, look the log:

      [mkdir] Created dir: /Users/yellow/src/Titanium-JNI-demo/build/generated/jni-local
      [copy] Copying 2 files to /Users/yellow/src/Titanium-JNI-demo/build/generated/jni-local
      [mkdir] Created dir: /var/folders/2w/6ng_21751l9806rg7b987rj40000gn/T/yellow/headphones-generated
      [copy] Copying 2 files to /var/folders/2w/6ng_21751l9806rg7b987rj40000gn/T/yellow/headphones-generated
      [exec] /opt/android-ndk/build/core/add-application.mk:49: /var/folders/2w/6ng_21751l9806rg7b987rj40000gn/T//yellow/headphones-generatedAndroid NDK: There is no Android.mk under /var/folders/2w/6ng_21751l9806rg7b987rj40000gn/T//yellow/headphones-generated/jni
      [exec] /Application.mk: No such file or directory
      [exec] /opt/android-ndk/build/core/add-application.mk:143: *** Android NDK: Aborting... .Android NDK: If this is intentional please define APP_BUILD_SCRIPT to point
      [exec] Android NDK: to a valid NDK build script.
      [exec] Stop.

      Use case:
      https://github.com/fstephany/Titanium-JNI-demo
      Clone the repo, modify build.properties and create a 'lib' directory.

      Hope it helps

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mrahman Mostafizur Rahman
                Reporter:
                iamyellow jordi domenech
              • Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code