Details

    • Type: Bug
    • Status: Closed
    • Resolution: Cannot Reproduce
    • Affects Version/s: Appcelerator Studio 4.5.0
    • Component/s: Titanium SDK & CLI
    • Labels:
      None
    • Environment:

      Description

      Trying to create a mobile module I am getting the following error. I have also tried this with 6.0.0.GA as well.

      Command
      /usr/local/bin/node /Users/paulbauer/.appcelerator/install/6.0.0/package/node_modules/titanium/lib/titanium.js build run --platform android --project-dir /Users/paulbauer/Documents/Appcelerator_Studio_Workspace/mymodule/android --build-only --no-colors --no-progress-bars --no-prompt --no-banner --prompt-type socket-bundle --prompt-port 64451 --config-file /var/folders/qv/jy1fbpw964z_z93qk4n241kr0000gn/T/build-1480654948131.json --log-level info --no-banner --project-dir /Users/paulbauer/Documents/Appcelerator_Studio_Workspace/mymodule/android

      [INFO] :   javac Max Memory: 256M
      [INFO] :   javac Source: 1.6
      [INFO] :   javac Target: 1.6
      [INFO] :   dx Max Memory: 1024M
      [INFO] :   buildBinClassesDir: /Users/paulbauer/Documents/Appcelerator_Studio_Workspace/mymodule/android/build/classes
      [INFO] :   Assets Dir: /Users/paulbauer/Documents/Appcelerator_Studio_Workspace/mymodule/assets
      [INFO] :   Documentation Dir: /Users/paulbauer/Documents/Appcelerator_Studio_Workspace/mymodule/documentation
      [INFO] :   Example Dir: /Users/paulbauer/Documents/Appcelerator_Studio_Workspace/mymodule/example
      [INFO] :   Platform Dir: /Users/paulbauer/Documents/Appcelerator_Studio_Workspace/mymodule/android/platform
      [INFO] :   Resources Dir: /Users/paulbauer/Documents/Appcelerator_Studio_Workspace/mymodule/android/Resources
      Generating java files from the .aidl files
      [INFO] :   No aidl files to compile
      Compiling Module Java source files
      [INFO] :   Building Java source files: /Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home/bin/javac "-J-Xmx256M" "-encoding" "utf8" "-classpath" "/Users/paulbauer/Library/Android/sdk/platforms/android-23/android.jar:/Users/paulbauer/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.v20161201064221/android/lib/closure-compiler.jar:/Users/paulbauer/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.v20161201064221/android/lib/titanium-debug.jar:/Users/paulbauer/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.v20161201064221/android/lib/titanium-profiler.jar:/Users/paulbauer/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.v20161201064221/android/lib/titanium-verify.jar:/Users/paulbauer/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.v20161201064221/android/modules/titanium-accelerometer.jar:/Users/paulbauer/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.v20161201064221/android/modules/titanium-analytics.jar:/Users/paulbauer/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.v20161201064221/android/modules/titanium-android.jar:/Users/paulbauer/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.v20161201064221/android/modules/titanium-app.jar:/Users/paulbauer/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.v20161201064221/android/modules/titanium-appcompat.jar:/Users/paulbauer/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.v20161201064221/android/modules/titanium-calendar.jar:/Users/paulbauer/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.v20161201064221/android/modules/titanium-cardview.jar:/Users/paulbauer/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.v20161201064221/android/modules/titanium-contacts.jar:/Users/paulbauer/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.v20161201064221/android/modules/titanium-database.jar:/Users/paulbauer/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.v20161201064221/android/modules/titanium-filesystem.jar:/Users/paulbauer/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.v20161201064221/android/modules/titanium-geolocation.jar:/Users/paulbauer/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.v20161201064221/android/modules/titanium-gesture.jar:/Users/paulbauer/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.v20161201064221/android/modules/titanium-locale.jar:/Users/paulbauer/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.v20161201064221/android/modules/titanium-map.jar:/Users/paulbauer/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.v20161201064221/android/modules/titanium-media.jar:/Users/paulbauer/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.v20161201064221/android/modules/titanium-network.jar:/Users/paulbauer/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.v20161201064221/android/modules/titanium-platform.jar:/Users/paulbauer/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.v20161201064221/android/modules/titanium-ui.jar:/Users/paulbauer/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.v20161201064221/android/modules/titanium-utils.jar:/Users/paulbauer/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.v20161201064221/android/modules/titanium-xml.jar:/Users/paulbauer/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.v20161201064221/android/android-support-multidex.jar:/Users/paulbauer/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.v20161201064221/android/android-support-v4.jar:/Users/paulbauer/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.v20161201064221/android/android-support-v7-appcompat.jar:/Users/paulbauer/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.v20161201064221/android/aps-analytics.jar:/Users/paulbauer/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.v20161201064221/android/cardview-v7-23.0.1.jar:/Users/paulbauer/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.v20161201064221/android/freemarker.jar:/Users/paulbauer/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.v20161201064221/android/jaxen-1.1.1.jar:/Users/paulbauer/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.v20161201064221/android/json_simple-1.1.jar:/Users/paulbauer/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.v20161201064221/android/kroll-apt.jar:/Users/paulbauer/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.v20161201064221/android/kroll-common.jar:/Users/paulbauer/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.v20161201064221/android/kroll-v8.jar:/Users/paulbauer/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.v20161201064221/android/nineoldandroids-appc-2.4.0.jar:/Users/paulbauer/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.v20161201064221/android/ti-commons-codec-1.3.jar:/Users/paulbauer/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.v20161201064221/android/titanium.jar" "-d" "/Users/paulbauer/Documents/Appcelerator_Studio_Workspace/mymodule/android/build/classes" "-target" "1.6" "-g" "-source" "1.6" "@/Users/paulbauer/Documents/Appcelerator_Studio_Workspace/mymodule/android/java-sources.txt" "-processor" "org.appcelerator.kroll.annotations.generator.KrollJSONGenerator" "-s" "/Users/paulbauer/Documents/Appcelerator_Studio_Workspace/mymodule/android/build/generated/json" "-Akroll.jsonFile=mymodule.json" "-Akroll.jsonPackage=org.appcelerator.titanium.bindings"
      Generating runtime bindings
      [INFO] :   Generate v8 bindings: /Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home/bin/java "-classpath" "/Users/paulbauer/Library/Android/sdk/platforms/android-23/android.jar:/Users/paulbauer/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.v20161201064221/android/lib/closure-compiler.jar:/Users/paulbauer/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.v20161201064221/android/lib/titanium-debug.jar:/Users/paulbauer/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.v20161201064221/android/lib/titanium-profiler.jar:/Users/paulbauer/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.v20161201064221/android/lib/titanium-verify.jar:/Users/paulbauer/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.v20161201064221/android/modules/titanium-accelerometer.jar:/Users/paulbauer/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.v20161201064221/android/modules/titanium-analytics.jar:/Users/paulbauer/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.v20161201064221/android/modules/titanium-android.jar:/Users/paulbauer/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.v20161201064221/android/modules/titanium-app.jar:/Users/paulbauer/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.v20161201064221/android/modules/titanium-appcompat.jar:/Users/paulbauer/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.v20161201064221/android/modules/titanium-calendar.jar:/Users/paulbauer/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.v20161201064221/android/modules/titanium-cardview.jar:/Users/paulbauer/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.v20161201064221/android/modules/titanium-contacts.jar:/Users/paulbauer/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.v20161201064221/android/modules/titanium-database.jar:/Users/paulbauer/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.v20161201064221/android/modules/titanium-filesystem.jar:/Users/paulbauer/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.v20161201064221/android/modules/titanium-geolocation.jar:/Users/paulbauer/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.v20161201064221/android/modules/titanium-gesture.jar:/Users/paulbauer/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.v20161201064221/android/modules/titanium-locale.jar:/Users/paulbauer/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.v20161201064221/android/modules/titanium-map.jar:/Users/paulbauer/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.v20161201064221/android/modules/titanium-media.jar:/Users/paulbauer/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.v20161201064221/android/modules/titanium-network.jar:/Users/paulbauer/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.v20161201064221/android/modules/titanium-platform.jar:/Users/paulbauer/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.v20161201064221/android/modules/titanium-ui.jar:/Users/paulbauer/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.v20161201064221/android/modules/titanium-utils.jar:/Users/paulbauer/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.v20161201064221/android/modules/titanium-xml.jar:/Users/paulbauer/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.v20161201064221/android/android-support-multidex.jar:/Users/paulbauer/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.v20161201064221/android/android-support-v4.jar:/Users/paulbauer/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.v20161201064221/android/android-support-v7-appcompat.jar:/Users/paulbauer/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.v20161201064221/android/aps-analytics.jar:/Users/paulbauer/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.v20161201064221/android/cardview-v7-23.0.1.jar:/Users/paulbauer/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.v20161201064221/android/freemarker.jar:/Users/paulbauer/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.v20161201064221/android/jaxen-1.1.1.jar:/Users/paulbauer/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.v20161201064221/android/json_simple-1.1.jar:/Users/paulbauer/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.v20161201064221/android/kroll-apt.jar:/Users/paulbauer/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.v20161201064221/android/kroll-common.jar:/Users/paulbauer/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.v20161201064221/android/kroll-v8.jar:/Users/paulbauer/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.v20161201064221/android/nineoldandroids-appc-2.4.0.jar:/Users/paulbauer/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.v20161201064221/android/ti-commons-codec-1.3.jar:/Users/paulbauer/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.v20161201064221/android/titanium.jar" "org.appcelerator.kroll.annotations.generator.KrollBindingGenerator" "/Users/paulbauer/Documents/Appcelerator_Studio_Workspace/mymodule/android/build/generated/jni" "true" "com.nielio.mymodule" "/Users/paulbauer/Documents/Appcelerator_Studio_Workspace/mymodule/android/build/generated/json/org/appcelerator/titanium/bindings/mymodule.json"
      [INFO] :   Producing [ModuleName]Bootstrap files using /Users/paulbauer/Documents/Appcelerator_Studio_Workspace/mymodule/android/build/generated/json/org/appcelerator/titanium/bindings/mymodule.json
      Generating BootstrapJS.cpp from bootstrap.js
      [INFO] :   Running the Android NDK ndk-build
      [ERROR] :  Failed to run ndk-build
      [ERROR] :  
      [ERROR] :  jni/Android.mk:35: warning: overriding commands for target `/Users/paulbauer/Documents/Appcelerator_Studio_Workspace/mymodule/android/build/generated/KrollGeneratedBindings.cpp'
      [ERROR] :  jni/Android.mk:35: warning: ignoring old commands for target `/Users/paulbauer/Documents/Appcelerator_Studio_Workspace/mymodule/android/build/generated/KrollGeneratedBindings.cpp'
      [ERROR] :  In file included from /Users/paulbauer/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.v20161201064221/android/native/include/Proxy.h:11:0,
      [ERROR] :   from jni/com.nielio.mymodule.ExampleProxy.h:12,
      [ERROR] :   from jni/com.nielio.mymodule.ExampleProxy.cpp:10:
      [ERROR] :  /Users/paulbauer/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.v20161201064221/android/native/include/v8.h:345:1: error: expected unqualified-id before 'using'
      [ERROR] :  /Users/paulbauer/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.v20161201064221/android/native/include/v8.h:481:1: error: expected unqualified-id before 'using'
      [ERROR] :  /Users/paulbauer/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.v20161201064221/android/native/include/v8.h:882:1: error: expected unqualified-id before 'using'
      [ERROR] :  /Users/paulbauer/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.v20161201064221/android/native/include/v8.h:5424:35: error: 'virtual v8::EmbedderHeapTracer::~EmbedderHeapTracer()' declared virtual cannot be defaulted in the class body
      [ERROR] :  make: *** [/Users/paulbauer/Documents/Appcelerator_Studio_Workspace/mymodule/android/build/generated/obj/local/armeabi-v7a/objs/com.nielio.mymodule/com.nielio.mymodule.ExampleProxy.o] Error 1

        Attachments

          Activity

            People

            • Assignee:
              shossain Shak Hossain
              Reporter:
              pbauer Paul Bauer
            • Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Git Source Code