{ "id": "163794", "key": "TIMOB-23996", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "17609", "description": "", "name": "Release 7.0.0", "archived": false, "released": true, "releaseDate": "2017-12-07" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-11-09T19:51:26.000+0000", "created": "2016-10-06T22:39:14.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "FirstUtility", "Navistar", "qe-5.5.1" ], "versions": [ { "id": "18322", "name": "Release 5.5.1", "archived": false, "released": true, "releaseDate": "2016-09-28" } ], "issuelinks": [ { "id": "55835", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "165193", "key": "TIMOB-24297", "fields": { "summary": "Android native modules build is getting failed with Android NDK r13b", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "53469", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "163810", "key": "TIDOC-2633", "fields": { "summary": "Document how to recompile Android native modules for 6.0.0", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "None", "id": "6" }, "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false } } } } ], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-11-09T19:51:54.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "h5.Steps to reproduce:\r\n1. Make sure you have android NDK r13 downloaded & set in the studio preferences.\r\n2. Create an android module.\r\n3. Package the android module from studio or CLI.\r\n\r\nh5.Actual results:\r\n1. Module packaging fails.\r\n{code}\r\nCommand\r\n /usr/local/bin/node /Users/lchoudhary/.appcelerator/install/5.5.0/package/node_modules/titanium/lib/titanium.js build run --platform android --project-dir /Users/lchoudhary/Desktop/workspaces/workspace_2016/mod551/android --build-only -l trace\r\n\r\n[INFO] javac Max Memory: 256M\r\n[INFO] javac Source: 1.6\r\n[INFO] javac Target: 1.6\r\n[INFO] dx Max Memory: 1024M\r\n[INFO] buildBinClassesDir: /Users/lchoudhary/Desktop/workspaces/workspace_2016/mod551/android/build/classes\r\n[INFO] Assets Dir: /Users/lchoudhary/Desktop/workspaces/workspace_2016/mod551/assets\r\n[INFO] Documentation Dir: /Users/lchoudhary/Desktop/workspaces/workspace_2016/mod551/documentation\r\n[INFO] Example Dir: /Users/lchoudhary/Desktop/workspaces/workspace_2016/mod551/example\r\n[INFO] Platform Dir: /Users/lchoudhary/Desktop/workspaces/workspace_2016/mod551/android/platform\r\n[INFO] Resources Dir: /Users/lchoudhary/Desktop/workspaces/workspace_2016/mod551/android/Resources\r\nGenerating java files from the .aidl files\r\n[INFO] No aidl files to compile\r\nCompiling Module Java source files\r\n[INFO] Building Java source files: /Library/Java/JavaVirtualMachines/jdk1.8.0_101.jdk/Contents/Home/bin/javac \"-J-Xmx256M\" \"-encoding\" \"utf8\" \"-classpath\" \"/Users/lchoudhary/Desktop/android-sdk-macosx/platforms/android-23/android.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/lib/closure-compiler.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/lib/titanium-debug.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/lib/titanium-profiler.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/lib/titanium-verify.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-accelerometer.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-analytics.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-android.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-app.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-appcompat.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-calendar.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-cardview.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-contacts.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-database.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-filesystem.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-geolocation.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-gesture.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-locale.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-map.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-media.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-network.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-platform.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-ui.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-utils.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-xml.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/android-support-v4.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/android-support-v7-appcompat.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/aps-analytics.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/cardview-v7-23.0.1.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/freemarker.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/jaxen-1.1.1.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/json_simple-1.1.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/kroll-apt.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/kroll-common.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/kroll-v8.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/nineoldandroids-appc-2.4.0.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/ti-commons-codec-1.3.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/titanium.jar\" \"-d\" \"/Users/lchoudhary/Desktop/workspaces/workspace_2016/mod551/android/build/classes\" \"-target\" \"1.6\" \"-g\" \"-source\" \"1.6\" \"@/Users/lchoudhary/Desktop/workspaces/workspace_2016/mod551/android/java-sources.txt\" \"-processor\" \"org.appcelerator.kroll.annotations.generator.KrollJSONGenerator\" \"-s\" \"/Users/lchoudhary/Desktop/workspaces/workspace_2016/mod551/android/build/generated/json\" \"-Akroll.jsonFile=mod551.json\" \"-Akroll.jsonPackage=org.appcelerator.titanium.bindings\" \"-Akroll.checkTiContext=true\"\r\nGenerating runtime bindings\r\n[INFO] Generate v8 bindings: /Library/Java/JavaVirtualMachines/jdk1.8.0_101.jdk/Contents/Home/bin/java \"-classpath\" \"/Users/lchoudhary/Desktop/android-sdk-macosx/platforms/android-23/android.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/lib/closure-compiler.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/lib/titanium-debug.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/lib/titanium-profiler.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/lib/titanium-verify.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-accelerometer.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-analytics.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-android.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-app.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-appcompat.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-calendar.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-cardview.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-contacts.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-database.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-filesystem.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-geolocation.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-gesture.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-locale.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-map.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-media.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-network.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-platform.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-ui.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-utils.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-xml.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/android-support-v4.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/android-support-v7-appcompat.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/aps-analytics.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/cardview-v7-23.0.1.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/freemarker.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/jaxen-1.1.1.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/json_simple-1.1.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/kroll-apt.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/kroll-common.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/kroll-v8.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/nineoldandroids-appc-2.4.0.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/ti-commons-codec-1.3.jar:/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/titanium.jar\" \"org.appcelerator.kroll.annotations.generator.KrollBindingGenerator\" \"/Users/lchoudhary/Desktop/workspaces/workspace_2016/mod551/android/build/generated/jni\" \"true\" \"com.app.mod551\" \"/Users/lchoudhary/Desktop/workspaces/workspace_2016/mod551/android/build/generated/json/org/appcelerator/titanium/bindings/mod551.json\"\r\nProducing [ModuleName]Bootstrap files using /Users/lchoudhary/Desktop/workspaces/workspace_2016/mod551/android/build/generated/json/org/appcelerator/titanium/bindings/mod551.json\r\nGenerating BootstrapJS.cpp from bootstrap.js\r\nRunning the stock Android NDK ndk-build\r\n[INFO] Starting directory: /Users/lchoudhary/Desktop\r\n[INFO] New directory: /Users/lchoudhary/Desktop/workspaces/workspace_2016/mod551/android/build/generated\r\n[ERROR] Failed to run ndk-build\r\n[ERROR] \r\n[ERROR] jni/Android.mk:35: warning: overriding commands for target `/Users/lchoudhary/Desktop/workspaces/workspace_2016/mod551/android/build/generated/KrollGeneratedBindings.cpp'\r\n[ERROR] jni/Android.mk:35: warning: ignoring old commands for target `/Users/lchoudhary/Desktop/workspaces/workspace_2016/mod551/android/build/generated/KrollGeneratedBindings.cpp'\r\n[ERROR] jni/Android.mk:35: warning: overriding commands for target `/Users/lchoudhary/Desktop/workspaces/workspace_2016/mod551/android/build/generated/KrollGeneratedBindings.cpp'\r\n[ERROR] jni/Android.mk:35: warning: ignoring old commands for target `/Users/lchoudhary/Desktop/workspaces/workspace_2016/mod551/android/build/generated/KrollGeneratedBindings.cpp'\r\n[ERROR] warning: unknown warning option '-Wno-psabi' [-Wunknown-warning-option]\r\n[ERROR] In file included from jni/com.app.mod551.ExampleProxy.cpp:12:\r\n[ERROR] /Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/native/include/AndroidUtil.h:57:49: warning: format specifies type 'int' but the argument has type 'long' [-Wformat]\r\n\r\n/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/sprintf/lib/sprintf.js:231\r\n\t\t\t\tthrow new Error('[sprintf] ' + _fmt);\r\n ^\r\nError: [sprintf] %ld,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE',#define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__), ^~~~~~~~~~~,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG',#define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__), ^~~~~~~~~~~,jni/com.app.mod551.ExampleProxy.cpp:129:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security], LOGE(TAG, error);, ^~~~~,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE',#define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__), ^~~~~~~~~~~,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG',#define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__), ^~~~~~~~~~~,jni/com.app.mod551.ExampleProxy.cpp:194:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security], LOGE(TAG, error);, ^~~~~,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE',#define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__), ^~~~~~~~~~~,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG',#define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__), ^~~~~~~~~~~,jni/com.app.mod551.ExampleProxy.cpp:246:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security], LOGE(TAG, error);, ^~~~~,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE',#define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__), ^~~~~~~~~~~,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG',#define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__), ^~~~~~~~~~~,jni/com.app.mod551.ExampleProxy.cpp:314:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security], LOGE(TAG, error);, ^~~~~,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE',#define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__), ^~~~~~~~~~~,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG',#define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__), ^~~~~~~~~~~,jni/com.app.mod551.ExampleProxy.cpp:373:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security], LOGE(TAG, error);, ^~~~~,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE',#define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__), ^~~~~~~~~~~,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG',#define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__), ^~~~~~~~~~~,7 warnings generated.,warning: unknown warning option '-Wno-psabi' [-Wunknown-warning-option],In file included from jni/com.app.mod551.Mod551Module.cpp:12:,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/native/include/AndroidUtil.h:57:49: warning: format specifies type 'int' but the argument has type 'long' [-Wformat], LOGE(tag, \"Finished %s (%d ms)\", description, AndroidUtil::getCurrentMillis() - start);, ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~, %ld,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE',#define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__), ^~~~~~~~~~~,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG',#define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__), ^~~~~~~~~~~,jni/com.app.mod551.Mod551Module.cpp:130:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security], LOGE(TAG, error);, ^~~~~,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE',#define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__), ^~~~~~~~~~~,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG',#define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__), ^~~~~~~~~~~,jni/com.app.mod551.Mod551Module.cpp:185:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security], LOGE(TAG, error);, ^~~~~,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE',#define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__), ^~~~~~~~~~~,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG',#define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__), ^~~~~~~~~~~,jni/com.app.mod551.Mod551Module.cpp:244:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security], LOGE(TAG, error);, ^~~~~,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE',#define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__), ^~~~~~~~~~~,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG',#define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__), ^~~~~~~~~~~,5 warnings generated.,warning: unknown warning option '-Wno-psabi' [-Wunknown-warning-option],In file included from jni/../Mod551Bootstrap.cpp:12:,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/native/include/AndroidUtil.h:57:49: warning: format specifies type 'int' but the argument has type 'long' [-Wformat], LOGE(tag, \"Finished %s (%d ms)\", description, AndroidUtil::getCurrentMillis() - start);, ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~, %ld,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE',#define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__), ^~~~~~~~~~~,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG',#define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__), ^~~~~~~~~~~,In file included from jni/../Mod551Bootstrap.cpp:17:,/Users/lchoudhary/Desktop/workspaces/workspace_2016/mod551/android/build/generated/KrollGeneratedBindings.gperf:14:8: error: forward declaration of struct cannot have a nested name specifier,struct titanium::bindings::BindEntry;, ^~~~~~~~~~~~~~~~~~~~,2 warnings and 1 error generated.,make: *** [/Users/lchoudhary/Desktop/workspaces/workspace_2016/mod551/android/build/generated/obj/local/armeabi/objs/com.app.mod551/__/Mod551Bootstrap.o] Error 1\"\r\n at Function.str_format.parse (/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/sprintf/lib/sprintf.js:231:11)\r\n at str_format (/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/sprintf/lib/sprintf.js:75:48)\r\n at str_format.format (/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/sprintf/lib/sprintf.js:163:22)\r\n at str_format (/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/sprintf/lib/sprintf.js:77:28)\r\n at [object Object].patchedLog [as log] (/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/cli/commands/build.js:391:76)\r\n at target.(anonymous function) (/Users/lchoudhary/.appcelerator/install/5.5.0/package/node_modules/titanium/node_modules/winston/lib/winston/common.js:54:18)\r\n at Array.forEach (native)\r\n at AndroidModuleBuilder. (/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/cli/commands/_buildModule.js:1073:31)\r\n at ChildProcess. (/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-appc/lib/subprocess.js:60:3)\r\n---------------------------------------------\r\n at Object.run (/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-appc/lib/subprocess.js:59:8)\r\n at AndroidModuleBuilder.tasks (/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/cli/commands/_buildModule.js:1060:21)\r\n at /Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-appc/node_modules/async/lib/async.js:718:13\r\n at Immediate.iterate (/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-appc/node_modules/async/lib/async.js:262:13)\r\n at processImmediate [as _immediateCallback] (timers.js:383:17)\r\n---------------------------------------------\r\n at Object.setImmediate (/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-appc/node_modules/async/lib/async.js:194:9)\r\n at /Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-appc/node_modules/async/lib/async.js:272:35\r\n at /Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-appc/node_modules/async/lib/async.js:44:16\r\n at /Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-appc/node_modules/async/lib/async.js:723:17\r\n at /Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-appc/node_modules/async/lib/async.js:167:37\r\n at AndroidModuleBuilder. (/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/cli/commands/_buildModule.js:1051:4)\r\n at /Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-appc/node_modules/async/lib/async.js:718:13\r\n at iterate (/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-appc/node_modules/async/lib/async.js:262:13)\r\n at async.forEachOfSeries.async.eachOfSeries (/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-appc/node_modules/async/lib/async.js:281:9)\r\n---------------------------------------------\r\n at Object.setImmediate (/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-appc/node_modules/async/lib/async.js:194:9)\r\n at /Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-appc/node_modules/async/lib/async.js:272:35\r\n at /Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-appc/node_modules/async/lib/async.js:44:16\r\n at /Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-appc/node_modules/async/lib/async.js:723:17\r\n at /Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-appc/node_modules/async/lib/async.js:167:37\r\n at AndroidModuleBuilder.jsToC (/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/cli/commands/_buildModule.js:1021:2)\r\n at /Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-appc/node_modules/async/lib/async.js:718:13\r\n at Immediate.iterate (/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-appc/node_modules/async/lib/async.js:262:13)\r\n---------------------------------------------\r\n at Object.setImmediate (/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-appc/node_modules/async/lib/async.js:194:9)\r\n at /Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-appc/node_modules/async/lib/async.js:272:35\r\n at /Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-appc/node_modules/async/lib/async.js:44:16\r\n at /Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-appc/node_modules/async/lib/async.js:723:17\r\n at /Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-appc/node_modules/async/lib/async.js:167:37\r\n at AndroidModuleBuilder.compileJS (/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/cli/commands/_buildModule.js:901:10)\r\n at /Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-appc/node_modules/async/lib/async.js:718:13\r\n at Immediate.iterate (/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-appc/node_modules/async/lib/async.js:262:13)\r\n---------------------------------------------\r\n at Object.setImmediate (/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-appc/node_modules/async/lib/async.js:194:9)\r\n at /Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-appc/node_modules/async/lib/async.js:272:35\r\n at /Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-appc/node_modules/async/lib/async.js:44:16\r\n at /Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-appc/node_modules/async/lib/async.js:723:17\r\n at /Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-appc/node_modules/async/lib/async.js:167:37\r\n at AndroidModuleBuilder.compileJsClosure (/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/cli/commands/_buildModule.js:821:10)\r\n at /Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-appc/node_modules/async/lib/async.js:718:13\r\n at iterate (/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-appc/node_modules/async/lib/async.js:262:13)\r\n at /Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-appc/node_modules/async/lib/async.js:274:29\r\n---------------------------------------------\r\n at Object.setImmediate (/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-appc/node_modules/async/lib/async.js:194:9)\r\n at /Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-appc/node_modules/async/lib/async.js:272:35\r\n at /Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-appc/node_modules/async/lib/async.js:44:16\r\n at /Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-appc/node_modules/async/lib/async.js:723:17\r\n at /Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-appc/node_modules/async/lib/async.js:167:37\r\n at AndroidModuleBuilder.nativeContext.moduleId (/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/cli/commands/_buildModule.js:778:4)\r\n at /Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-appc/node_modules/async/lib/async.js:718:13\r\n at Immediate.iterate (/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-appc/node_modules/async/lib/async.js:262:13)\r\n---------------------------------------------\r\n at Object.setImmediate (/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-appc/node_modules/async/lib/async.js:194:9)\r\n at /Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-appc/node_modules/async/lib/async.js:272:35\r\n at /Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-appc/node_modules/async/lib/async.js:44:16\r\n at /Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-appc/node_modules/async/lib/async.js:723:17\r\n at /Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-appc/node_modules/async/lib/async.js:167:37\r\n at AndroidModuleBuilder. (/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/cli/commands/_buildModule.js:747:4)\r\n at /Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-appc/node_modules/async/lib/async.js:718:13\r\n at iterate (/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-appc/node_modules/async/lib/async.js:262:13)\r\n at async.forEachOfSeries.async.eachOfSeries (/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-appc/node_modules/async/lib/async.js:281:9)\r\n---------------------------------------------\r\n at Object.run (/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-appc/lib/subprocess.js:59:8)\r\n at AndroidModuleBuilder. (/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/cli/commands/_buildModule.js:474:20)\r\n at /Users/lchoudhary/.appcelerator/install/5.5.0/package/node_modules/titanium/lib/hook.js:256:13\r\n at /Users/lchoudhary/.appcelerator/install/5.5.0/package/node_modules/titanium/node_modules/async/lib/async.js:697:13\r\n at /Users/lchoudhary/.appcelerator/install/5.5.0/package/node_modules/titanium/node_modules/async/lib/async.js:52:16\r\n at iterate (/Users/lchoudhary/.appcelerator/install/5.5.0/package/node_modules/titanium/node_modules/async/lib/async.js:263:24)\r\n at async.forEachOfSeries.async.eachOfSeries (/Users/lchoudhary/.appcelerator/install/5.5.0/package/node_modules/titanium/node_modules/async/lib/async.js:284:9)\r\n at _parallel (/Users/lchoudhary/.appcelerator/install/5.5.0/package/node_modules/titanium/node_modules/async/lib/async.js:688:9)\r\n at Object.async.series (/Users/lchoudhary/.appcelerator/install/5.5.0/package/node_modules/titanium/node_modules/async/lib/async.js:710:9)\r\n{code}\r\n\r\nh5.Expected results:\r\n1. Module packaging should be successfull", "attachment": [], "flagged": false, "summary": "Android: Can't package android modules with NDK r13 & r14", "creator": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Environment:\r\nAppc Studio : 4.7.1.201609100950\r\nTi SDK : 5.5.1.GA\r\nTi CLI : 5.0.9\r\nAlloy : 1.9.2\r\nMAC El Capitan : 10.11.6\r\nAppc NPM : 4.2.7\r\nAppc CLI : 5.5.0\r\nNode: 4.6.0\r\nNDK : r13", "comment": { "comments": [ { "id": "398310", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Officially we are supporting ndk 11 for Release 6.0.0 so this is ok for now.", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-10-07T00:18:26.000+0000", "updated": "2016-10-07T00:18:26.000+0000" }, { "id": "409458", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This issue exists with NDK r14 as well.\r\n\r\n{code}\r\n[INFO] : \b\b \b Running the Android NDK ndk-build\r\n[ERROR] : \b\b \bFailed to run ndk-build\r\n[ERROR] : \b\b \b\r\n[ERROR] : \b\b \bjni/Android.mk:35: warning: overriding commands for target `/Users/lchoudhary/Desktop/workspaces/workspace_2016/ndkr12_mod/android/build/generated/KrollGeneratedBindings.cpp'\r\n[ERROR] : \b\b \bjni/Android.mk:35: warning: ignoring old commands for target `/Users/lchoudhary/Desktop/workspaces/workspace_2016/ndkr12_mod/android/build/generated/KrollGeneratedBindings.cpp'\r\n[ERROR] : \b\b \bwarning: unknown warning option '-Wno-psabi' [-Wunknown-warning-option]\r\n[ERROR] : \b\b \bIn file included from jni/com.app.ndkr12mod.ExampleProxy.cpp:12:\r\n[ERROR] : \b\b \b/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.0.2.GA/android/native/include/AndroidUtil.h:57:49: warning: format specifies type 'int' but the argument has type 'long' [-Wformat]\r\n2017-03-06T23:35:42.720Z | ERROR | An uncaught exception was thrown!\r\n[sprintf] %ld,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.0.2.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE',#define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__), ^~~~~~~~~~~,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.0.2.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG',#define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__), ^~~~~~~~~~~,jni/com.app.ndkr12mod.ExampleProxy.cpp:129:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security], LOGE(TAG, error);, ^~~~~,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.0.2.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE',#define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__), ^~~~~~~~~~~,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.0.2.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG',#define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__), ^~~~~~~~~~~,jni/com.app.ndkr12mod.ExampleProxy.cpp:129:14: note: treat the string as an argument to avoid this, LOGE(TAG, error);, ^, \"%s\", ,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.0.2.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE',#define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__), ^,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.0.2.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG',#define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__), ^,jni/com.app.ndkr12mod.ExampleProxy.cpp:206:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security], LOGE(TAG, error);, ^~~~~,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.0.2.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE',#define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__), ^~~~~~~~~~~,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.0.2.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG',#define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__), ^~~~~~~~~~~,jni/com.app.ndkr12mod.ExampleProxy.cpp:206:14: note: treat the string as an argument to avoid this, LOGE(TAG, error);, ^, \"%s\", ,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.0.2.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE',#define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__), ^,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.0.2.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG',#define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__), ^,jni/com.app.ndkr12mod.ExampleProxy.cpp:268:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security], LOGE(TAG, error);, ^~~~~,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.0.2.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE',#define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__), ^~~~~~~~~~~,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.0.2.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG',#define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__), ^~~~~~~~~~~,jni/com.app.ndkr12mod.ExampleProxy.cpp:268:14: note: treat the string as an argument to avoid this, LOGE(TAG, error);, ^, \"%s\", ,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.0.2.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE',#define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__), ^,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.0.2.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG',#define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__), ^,jni/com.app.ndkr12mod.ExampleProxy.cpp:347:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security], LOGE(TAG, error);, ^~~~~,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.0.2.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE',#define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__), ^~~~~~~~~~~,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.0.2.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG',#define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__), ^~~~~~~~~~~,jni/com.app.ndkr12mod.ExampleProxy.cpp:347:14: note: treat the string as an argument to avoid this, LOGE(TAG, error);, ^, \"%s\", ,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.0.2.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE',#define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__), ^,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.0.2.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG',#define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__), ^,jni/com.app.ndkr12mod.ExampleProxy.cpp:409:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security], LOGE(TAG, error);, ^~~~~,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.0.2.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE',#define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__), ^~~~~~~~~~~,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.0.2.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG',#define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__), ^~~~~~~~~~~,jni/com.app.ndkr12mod.ExampleProxy.cpp:409:14: note: treat the string as an argument to avoid this, LOGE(TAG, error);, ^, \"%s\", ,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.0.2.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE',#define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__), ^,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.0.2.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG',#define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__), ^,7 warnings generated.,warning: unknown warning option '-Wno-psabi' [-Wunknown-warning-option],In file included from jni/com.app.ndkr12mod.Ndkr12ModModule.cpp:12:,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.0.2.GA/android/native/include/AndroidUtil.h:57:49: warning: format specifies type 'int' but the argument has type 'long' [-Wformat], LOGE(tag, \"Finished %s (%d ms)\", description, AndroidUtil::getCurrentMillis() - start);, ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~, %ld,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.0.2.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE',#define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__), ^~~~~~~~~~~,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.0.2.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG',#define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__), ^~~~~~~~~~~,jni/com.app.ndkr12mod.Ndkr12ModModule.cpp:130:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security], LOGE(TAG, error);, ^~~~~,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.0.2.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE',#define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__), ^~~~~~~~~~~,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.0.2.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG',#define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__), ^~~~~~~~~~~,jni/com.app.ndkr12mod.Ndkr12ModModule.cpp:130:14: note: treat the string as an argument to avoid this, LOGE(TAG, error);, ^, \"%s\", ,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.0.2.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE',#define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__), ^,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.0.2.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG',#define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__), ^,jni/com.app.ndkr12mod.Ndkr12ModModule.cpp:194:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security], LOGE(TAG, error);, ^~~~~,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.0.2.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE',#define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__), ^~~~~~~~~~~,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.0.2.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG',#define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__), ^~~~~~~~~~~,jni/com.app.ndkr12mod.Ndkr12ModModule.cpp:194:14: note: treat the string as an argument to avoid this, LOGE(TAG, error);, ^, \"%s\", ,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.0.2.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE',#define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__), ^,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.0.2.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG',#define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__), ^,jni/com.app.ndkr12mod.Ndkr12ModModule.cpp:256:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security], LOGE(TAG, error);, ^~~~~,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.0.2.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE',#define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__), ^~~~~~~~~~~,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.0.2.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG',#define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__), ^~~~~~~~~~~,jni/com.app.ndkr12mod.Ndkr12ModModule.cpp:256:14: note: treat the string as an argument to avoid this, LOGE(TAG, error);, ^, \"%s\", ,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.0.2.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE',#define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__), ^,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.0.2.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG',#define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__), ^,5 warnings generated.,warning: unknown warning option '-Wno-psabi' [-Wunknown-warning-option],In file included from jni/../Ndkr12ModBootstrap.cpp:12:,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.0.2.GA/android/native/include/AndroidUtil.h:57:49: warning: format specifies type 'int' but the argument has type 'long' [-Wformat], LOGE(tag, \"Finished %s (%d ms)\", description, AndroidUtil::getCurrentMillis() - start);, ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~, %ld,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.0.2.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE',#define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__), ^~~~~~~~~~~,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.0.2.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG',#define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__), ^~~~~~~~~~~,In file included from jni/../Ndkr12ModBootstrap.cpp:19:,/Users/lchoudhary/Desktop/workspaces/workspace_2016/ndkr12_mod/android/build/generated/KrollGeneratedBindings.gperf:14:8: error: forward declaration of struct cannot have a nested name specifier,struct titanium::bindings::BindEntry;, ^~~~~~~~~~~~~~~~~~~~,/Users/lchoudhary/Desktop/workspaces/workspace_2016/ndkr12_mod/android/build/generated/KrollGeneratedBindings.gperf:25:11: warning: 'register' storage class specifier is deprecated and incompatible with C++1z [-Wdeprecated-register], register const char *s = wordlist[key].name;, ^~~~~~~~~,3 warnings and 1 error generated.,make: *** [/Users/lchoudhary/Desktop/workspaces/workspace_2016/ndkr12_mod/android/build/generated/obj/local/armeabi-v7a/objs/com.app.ndkr12mod/__/Ndkr12ModBootstrap.o] Error 1\"\r\n2017-03-06T23:35:42.721Z | ERROR | [sprintf] %ld,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.0.2.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE',#define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__), ^~~~~~~~~~~,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.0.2.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG',#define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__), ^~~~~~~~~~~,jni/com.app.ndkr12mod.ExampleProxy.cpp:129:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security], LOGE(TAG, error);, ^~~~~,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.0.2.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE',#define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__), ^~~~~~~~~~~,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.0.2.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG',#define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__), ^~~~~~~~~~~,jni/com.app.ndkr12mod.ExampleProxy.cpp:129:14: note: treat the string as an argument to avoid this, LOGE(TAG, error);, ^, \"%s\", ,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.0.2.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE',#define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__), ^,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.0.2.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG',#define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__), ^,jni/com.app.ndkr12mod.ExampleProxy.cpp:206:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security], LOGE(TAG, error);, ^~~~~,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.0.2.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE',#define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__), ^~~~~~~~~~~,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.0.2.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG',#define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__), ^~~~~~~~~~~,jni/com.app.ndkr12mod.ExampleProxy.cpp:206:14: note: treat the string as an argument to avoid this, LOGE(TAG, error);, ^, \"%s\", ,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.0.2.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE',#define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__), ^,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.0.2.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG',#define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__), ^,jni/com.app.ndkr12mod.ExampleProxy.cpp:268:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security], LOGE(TAG, error);, ^~~~~,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.0.2.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE',#define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__), ^~~~~~~~~~~,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.0.2.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG',#define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__), ^~~~~~~~~~~,jni/com.app.ndkr12mod.ExampleProxy.cpp:268:14: note: treat the string as an argument to avoid this, LOGE(TAG, error);, ^, \"%s\", ,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.0.2.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE',#define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__), ^,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.0.2.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG',#define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__), ^,jni/com.app.ndkr12mod.ExampleProxy.cpp:347:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security], LOGE(TAG, error);, ^~~~~,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.0.2.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE',#define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__), ^~~~~~~~~~~,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.0.2.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG',#define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__), ^~~~~~~~~~~,jni/com.app.ndkr12mod.ExampleProxy.cpp:347:14: note: treat the string as an argument to avoid this, LOGE(TAG, error);, ^, \"%s\", ,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.0.2.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE',#define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__), ^,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.0.2.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG',#define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__), ^,jni/com.app.ndkr12mod.ExampleProxy.cpp:409:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security], LOGE(TAG, error);, ^~~~~,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.0.2.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE',#define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__), ^~~~~~~~~~~,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.0.2.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG',#define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__), ^~~~~~~~~~~,jni/com.app.ndkr12mod.ExampleProxy.cpp:409:14: note: treat the string as an argument to avoid this, LOGE(TAG, error);, ^, \"%s\", ,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.0.2.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE',#define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__), ^,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.0.2.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG',#define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__), ^,7 warnings generated.,warning: unknown warning option '-Wno-psabi' [-Wunknown-warning-option],In file included from jni/com.app.ndkr12mod.Ndkr12ModModule.cpp:12:,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.0.2.GA/android/native/include/AndroidUtil.h:57:49: warning: format specifies type 'int' but the argument has type 'long' [-Wformat], LOGE(tag, \"Finished %s (%d ms)\", description, AndroidUtil::getCurrentMillis() - start);, ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~, %ld,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.0.2.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE',#define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__), ^~~~~~~~~~~,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.0.2.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG',#define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__), ^~~~~~~~~~~,jni/com.app.ndkr12mod.Ndkr12ModModule.cpp:130:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security], LOGE(TAG, error);, ^~~~~,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.0.2.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE',#define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__), ^~~~~~~~~~~,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.0.2.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG',#define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__), ^~~~~~~~~~~,jni/com.app.ndkr12mod.Ndkr12ModModule.cpp:130:14: note: treat the string as an argument to avoid this, LOGE(TAG, error);, ^, \"%s\", ,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.0.2.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE',#define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__), ^,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.0.2.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG',#define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__), ^,jni/com.app.ndkr12mod.Ndkr12ModModule.cpp:194:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security], LOGE(TAG, error);, ^~~~~,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.0.2.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE',#define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__), ^~~~~~~~~~~,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.0.2.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG',#define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__), ^~~~~~~~~~~,jni/com.app.ndkr12mod.Ndkr12ModModule.cpp:194:14: note: treat the string as an argument to avoid this, LOGE(TAG, error);, ^, \"%s\", ,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.0.2.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE',#define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__), ^,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.0.2.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG',#define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__), ^,jni/com.app.ndkr12mod.Ndkr12ModModule.cpp:256:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security], LOGE(TAG, error);, ^~~~~,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.0.2.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE',#define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__), ^~~~~~~~~~~,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.0.2.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG',#define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__), ^~~~~~~~~~~,jni/com.app.ndkr12mod.Ndkr12ModModule.cpp:256:14: note: treat the string as an argument to avoid this, LOGE(TAG, error);, ^, \"%s\", ,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.0.2.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE',#define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__), ^,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.0.2.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG',#define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__), ^,5 warnings generated.,warning: unknown warning option '-Wno-psabi' [-Wunknown-warning-option],In file included from jni/../Ndkr12ModBootstrap.cpp:12:,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.0.2.GA/android/native/include/AndroidUtil.h:57:49: warning: format specifies type 'int' but the argument has type 'long' [-Wformat], LOGE(tag, \"Finished %s (%d ms)\", description, AndroidUtil::getCurrentMillis() - start);, ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~, %ld,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.0.2.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE',#define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__), ^~~~~~~~~~~,/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/6.0.2.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG',#define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__), ^~~~~~~~~~~,In file included from jni/../Ndkr12ModBootstrap.cpp:19:,/Users/lchoudhary/Desktop/workspaces/workspace_2016/ndkr12_mod/android/build/generated/KrollGeneratedBindings.gperf:14:8: error: forward declaration of struct cannot have a nested name specifier,struct titanium::bindings::BindEntry;, ^~~~~~~~~~~~~~~~~~~~,/Users/lchoudhary/Desktop/workspaces/workspace_2016/ndkr12_mod/android/build/generated/KrollGeneratedBindings.gperf:25:11: warning: 'register' storage class specifier is deprecated and incompatible with C++1z [-Wdeprecated-register], register const char *s = wordlist[key].name;, ^~~~~~~~~,3 warnings and 1 error generated.,make: *** [/Users/lchoudhary/Desktop/workspaces/workspace_2016/ndkr12_mod/android/build/generated/obj/local/armeabi-v7a/objs/com.app.ndkr12mod/__/Ndkr12ModBootstrap.o] Error 1\"\r\n{code}", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-03-07T00:10:26.000+0000", "updated": "2017-03-07T00:38:04.000+0000" }, { "id": "424073", "author": { "name": "plancaster", "key": "plancaster", "displayName": "Peter Lancaster", "active": true, "timeZone": "Europe/London" }, "body": "Hello - this issue is still present in NDK r15 - when is this expected to be resolved? What's the agreed workaround / fix for this while we're waiting for this to be fixed?", "updateAuthor": { "name": "plancaster", "key": "plancaster", "displayName": "Peter Lancaster", "active": true, "timeZone": "Europe/London" }, "created": "2017-07-13T15:23:05.000+0000", "updated": "2017-07-13T15:23:05.000+0000" }, { "id": "424109", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~plancaster] We are looking at this now and will let you know what is possible.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-07-13T20:59:48.000+0000", "updated": "2017-07-13T20:59:48.000+0000" }, { "id": "424120", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This is a bit of a architecture challenge. We will be discussing possible solutions next week and I should have more info.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-07-13T22:37:50.000+0000", "updated": "2017-07-13T22:37:50.000+0000" }, { "id": "424125", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "At the moment, we only support building with Android NDK r12.\r\nWe can't reliably build modules with any other versions older or newer than r12.\r\n\r\nThe technical reason why is because we're using a precompiled Google v8 JavaScript C++ .so library on Android. Since the v8 library involves using publicly exported C++ classes/methods, this means C++ name mangling is involved, which is not standardized. How C++ name mangling works will likely be different between different C++ compilers and compiler versions. Please note that node.js has this same exact limitation (it too uses v8) and is why it uses the \"npm\" package manager to ensure all native modules are compiled with the same C++ compiler version, avoiding the name mangling issue. (This is also known in C++ land as an ABI compatibility issue.)\r\n\r\nWe will likely switch to a newer Android NDK in the future, but when we do, all modules will have to compile with the same NDK version v8 was built with too for the reasons I've mentioned above.\r\n\r\nThe real issue here is that we need a much more descriptive error message when using an unsupported Android NDK version. This issue should only happen when changing the ANDROID_NDK environment variable to an unsupported version by hand.", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-07-13T23:26:33.000+0000", "updated": "2017-07-13T23:27:23.000+0000" }, { "id": "426644", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This will be fixed when updating V8 in {{7.0.0}}, our newer V8 builds are compatible with NDK 12, 13, 14 and 15.", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-08-14T21:01:22.000+0000", "updated": "2017-08-14T21:01:22.000+0000" }, { "id": "429739", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "master: https://github.com/appcelerator/titanium_mobile/pull/9561", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-10-27T16:01:43.000+0000", "updated": "2017-10-27T16:01:43.000+0000" }, { "id": "430355", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FR Passed.\r\n\r\nWith the fix modules can be created & packaged/built using android NDK 12, 13, 14, 15.\r\nClosing.\r\n\r\nStudio Ver: 4.10.0.201709271713\r\nSDK Ver: 7.0.0.v20171108185342\r\nOS Ver: 10.12.3\r\nXcode Ver: Xcode 8.3.3\r\nAppc NPM: 4.2.10\r\nAppc CLI: 6.3.0\r\nTi CLI Ver: 5.0.14\r\nAlloy Ver: 1.10.7\r\nNode Ver: 7.10.1\r\nJava Ver: 1.8.0_101\r\nNDK: 12, 13, 14, 15", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-11-09T19:51:17.000+0000", "updated": "2017-11-09T19:51:17.000+0000" } ], "maxResults": 10, "total": 10, "startAt": 0 } } }