[TIMOB-24724] Android: Module Build error with - exec returned: 2
GitHub Issue | n/a |
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2018-02-18T21:46:01.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | n/a |
Reporter | Abidhusain Chidi |
Assignee | Unknown |
Created | 2017-05-23T11:59:45.000+0000 |
Updated | 2018-08-06T17:37:07.000+0000 |
Description
Steps to Reproduce
Create new Module project for Android
Right click on build.xml file
Run as Ant
Actual Result
BUILD FAILURE
/Users/ifox/Library/Application Support/Titanium/mobilesdk/osx/6.0.4.GA/module/android/build.xml:347: The following error occurred while executing this line:
/Users/ifox/Library/Application Support/Titanium/mobilesdk/osx/6.0.4.GA/module/android/build.xml:302: exec returned: 2
Expected Result
BUILD SUCCESS
Attachments
Getting the same error here. Just had to reinstall all my environment and simply can't build a module anymore. This is my *build.properties*:
By going to the line 302 (as specified in the error) of the *build.xml* file located inside the Titanium SDK folder, you'll see that the error is being produced because of some NDK error. I don't know what else to try here... My environment is exactly the same as before having to reinstall all of it. Any help is appreciated.
Hello, Please help me out here. Facing same issue as @Rodolfo Perottoni described in his comment.
I have updated SDK and CLI Version and Build it. But same issues I have found in it. Below is error log what I am facing in my Module. I have created test module with latest SDK Version 6.1.0.G.A. Buildfile: /Users/ifox/Documents/Appcelerator_Studio_Workspace/ratingbar-latest-ifox/android/build.xml python.set.exec: python.check: [echo] Testing for Python [exec] Python 2.7.10 init: [mkdir] Created dir: /Users/ifox/Documents/Appcelerator_Studio_Workspace/ratingbar-latest-ifox/android/build/classes [mkdir] Created dir: /Users/ifox/Documents/Appcelerator_Studio_Workspace/ratingbar-latest-ifox/android/build/generated process.aidl: [echo] Generating java files from the .aidl files [echo] /Users/ifox/Documents/DATA/SDK/ANDROID/ANDROID_SDK/build-tools/25.0.2/aidl process.annotations: [mkdir] Created dir: /Users/ifox/Documents/Appcelerator_Studio_Workspace/ratingbar-latest-ifox/android/build/generated/json [javac] Compiling 2 source files to /Users/ifox/Documents/Appcelerator_Studio_Workspace/ratingbar-latest-ifox/android/build/classes [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6 [javac] Note: [KrollBindingGen] Running Kroll binding generator. [javac] Note: [KrollBindingGen] No binding data found, creating new data file: org.appcelerator.titanium.bindings/ratingbar-latest-ifox.json [javac] Note: [KrollBindingGen] Found binding for proxy Example [javac] Note: [KrollBindingGen] Found binding for module RatingbarLatestIfox [javac] Note: [KrollBindingGen] Generating JSON: file:/Users/ifox/Documents/Appcelerator_Studio_Workspace/ratingbar-latest-ifox/android/build/generated/json/org/appcelerator/titanium/bindings/ratingbar-latest-ifox.json generate.v8.bindings: [java] Generating /Users/ifox/Documents/Appcelerator_Studio_Workspace/ratingbar-latest-ifox/android/build/generated/jni/ti.ratingbar.ExampleProxy.h [java] Generating /Users/ifox/Documents/Appcelerator_Studio_Workspace/ratingbar-latest-ifox/android/build/generated/jni/ti.ratingbar.ExampleProxy.cpp [java] Generating /Users/ifox/Documents/Appcelerator_Studio_Workspace/ratingbar-latest-ifox/android/build/generated/jni/ti.ratingbar.RatingbarLatestIfoxModule.h [java] Generating /Users/ifox/Documents/Appcelerator_Studio_Workspace/ratingbar-latest-ifox/android/build/generated/jni/ti.ratingbar.RatingbarLatestIfoxModule.cpp generate.bindings: pre.compile: js.compile: ndk.build: [copy] Copying 1 file to /Users/ifox/Documents/Appcelerator_Studio_Workspace/ratingbar-latest-ifox/android/build/generated [copy] Copying 1 file to /Users/ifox/Documents/Appcelerator_Studio_Workspace/ratingbar-latest-ifox/android/build/generated/jni [copy] Copying 11 files to /var/folders/pg/7ysf77zd7wn15rvzjt3hdn500000gn/T/ifox/ratingbar-latest-ifox-generated [exec] Android NDK: WARNING:jni/Android.mk:ti.ratingbar: non-system libraries in linker flags: -lkroll-v8 jni/Android.mk:35: warning: overriding commands for target
/private/var/folders/pg/7ysf77zd7wn15rvzjt3hdn500000gn/T/ifox/ratingbar-latest-ifox-generated/KrollGeneratedBindings.cpp' [exec] jni/Android.mk:35: warning: ignoring old commands for target
/private/var/folders/pg/7ysf77zd7wn15rvzjt3hdn500000gn/T/ifox/ratingbar-latest-ifox-generated/KrollGeneratedBindings.cpp' [exec] jni/Android.mk:38: warning: overriding commands for target/private/var/folders/pg/7ysf77zd7wn15rvzjt3hdn500000gn/T/ifox/ratingbar-latest-ifox-generated/BootstrapJS.cpp' [exec] jni/Android.mk:38: warning: ignoring old commands for target
/private/var/folders/pg/7ysf77zd7wn15rvzjt3hdn500000gn/T/ifox/ratingbar-latest-ifox-generated/BootstrapJS.cpp' [exec] Android NDK: This is likely to result in incorrect builds. Try using LOCAL_STATIC_LIBRARIES [exec] Android NDK: or LOCAL_SHARED_LIBRARIES instead to list the library dependencies of the [exec] Android NDK: current module [exec] warning: unknown warning option '-Wno-psabi' [-Wunknown-warning-option] [exec] Android NDK: WARNING:jni/Android.mk:ti.ratingbar: non-system libraries in linker flags: -lkroll-v8 [exec] Android NDK: This is likely to result in incorrect builds. Try using LOCAL_STATIC_LIBRARIES [exec] Android NDK: or LOCAL_SHARED_LIBRARIES instead to list the library dependencies of the [exec] Android NDK: current module [exec] [armeabi-v7a] Compile++ thumb: ti.ratingbar <= ti.ratingbar.ExampleProxy.cpp [exec] In file included from jni/ti.ratingbar.ExampleProxy.cpp:12: [exec] /Users/ifox/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/native/include/AndroidUtil.h:57:49: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] [exec] LOGE(tag, "Finished %s (%d ms)", description, AndroidUtil::getCurrentMillis() - start); [exec] ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [exec] %ld [exec] /Users/ifox/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE' [exec] #define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__) [exec] ^~~~~~~~~~~ [exec] /Users/ifox/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG' [exec] #define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__) [exec] ^~~~~~~~~~~ [exec] jni/ti.ratingbar.ExampleProxy.cpp:128:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] [exec] LOGE(TAG, error); [exec] ^~~~~ [exec] /Users/ifox/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE' [exec] #define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__) [exec] ^~~~~~~~~~~ [exec] /Users/ifox/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG' [exec] #define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__) [exec] ^~~~~~~~~~~ [exec] jni/ti.ratingbar.ExampleProxy.cpp:128:14: note: treat the string as an argument to avoid this [exec] LOGE(TAG, error); [exec] ^ [exec] "%s", [exec] /Users/ifox/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE' [exec] #define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__) [exec] ^ [exec] /Users/ifox/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG' [exec] #define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__) [exec] ^ [exec] jni/ti.ratingbar.ExampleProxy.cpp:205:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] [exec] LOGE(TAG, error); [exec] ^~~~~ [exec] /Users/ifox/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE' [exec] #define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__) [exec] ^~~~~~~~~~~ [exec] /Users/ifox/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG' [exec] #define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__) [exec] ^~~~~~~~~~~ [exec] jni/ti.ratingbar.ExampleProxy.cpp:205:14: note: treat the string as an argument to avoid this [exec] LOGE(TAG, error); [exec] ^ [exec] "%s", [exec] /Users/ifox/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE' [exec] #define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__) [exec] ^ [exec] /Users/ifox/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG' [exec] #define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__) [exec] ^ [exec] jni/ti.ratingbar.ExampleProxy.cpp:267:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] [exec] LOGE(TAG, error); [exec] ^~~~~ [exec] /Users/ifox/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE' [exec] #define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__) [exec] ^~~~~~~~~~~ [exec] /Users/ifox/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG' [exec] #define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__) [exec] ^~~~~~~~~~~ [exec] jni/ti.ratingbar.ExampleProxy.cpp:267:14: note: treat the string as an argument to avoid this [exec] LOGE(TAG, error); [exec] ^ [exec] "%s", [exec] /Users/ifox/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE' [exec] #define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__) [exec] ^ [exec] /Users/ifox/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG' [exec] #define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__) [exec] ^ [exec] jni/ti.ratingbar.ExampleProxy.cpp:346:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] [exec] LOGE(TAG, error); [exec] ^~~~~ [exec] /Users/ifox/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE' [exec] #define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__) [exec] ^~~~~~~~~~~ [exec] /Users/ifox/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG' [exec] #define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__) [exec] ^~~~~~~~~~~ [exec] jni/ti.ratingbar.ExampleProxy.cpp:346:14: note: treat the string as an argument to avoid this [exec] LOGE(TAG, error); [exec] ^ [exec] "%s", [exec] /Users/ifox/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE' [exec] #define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__) [exec] ^ [exec] /Users/ifox/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG' [exec] #define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__) [exec] ^ [exec] jni/ti.ratingbar.ExampleProxy.cpp:408:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] [exec] LOGE(TAG, error); [exec] ^~~~~ [exec] /Users/ifox/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE' [exec] #define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__) [exec] ^~~~~~~~~~~ [exec] /Users/ifox/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG' [exec] #define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__) [exec] ^~~~~~~~~~~ [exec] jni/ti.ratingbar.ExampleProxy.cpp:408:14: note: treat the string as an argument to avoid this [exec] LOGE(TAG, error); [exec] ^ [exec] "%s", [exec] /Users/ifox/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE' [exec] #define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__) [exec] ^ [exec] /Users/ifox/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG' [exec] #define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__) [exec] ^ [exec] [armeabi-v7a] Compile++ thumb: ti.ratingbar <= ti.ratingbar.RatingbarLatestIfoxModule.cpp [exec] 7 warnings generated. [exec] warning: unknown warning option '-Wno-psabi' [-Wunknown-warning-option] [exec] In file included from jni/ti.ratingbar.RatingbarLatestIfoxModule.cpp:12: [exec] /Users/ifox/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/native/include/AndroidUtil.h:57:49: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] [exec] LOGE(tag, "Finished %s (%d ms)", description, AndroidUtil::getCurrentMillis() - start); [exec] ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [exec] %ld [exec] /Users/ifox/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE' [exec] #define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__) [exec] ^~~~~~~~~~~ [exec] /Users/ifox/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG' [exec] #define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__) [exec] ^~~~~~~~~~~ [exec] jni/ti.ratingbar.RatingbarLatestIfoxModule.cpp:129:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] [exec] LOGE(TAG, error); [exec] ^~~~~ [exec] /Users/ifox/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE' [exec] #define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__) [exec] ^~~~~~~~~~~ [exec] /Users/ifox/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG' [exec] #define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__) [exec] ^~~~~~~~~~~ [exec] jni/ti.ratingbar.RatingbarLatestIfoxModule.cpp:129:14: note: treat the string as an argument to avoid this [exec] LOGE(TAG, error); [exec] ^ [exec] "%s", [exec] /Users/ifox/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE' [exec] #define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__) [exec] ^ [exec] /Users/ifox/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG' [exec] #define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__) [exec] ^ [exec] jni/ti.ratingbar.RatingbarLatestIfoxModule.cpp:193:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] [exec] LOGE(TAG, error); [exec] ^~~~~ [exec] /Users/ifox/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE' [exec] #define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__) [exec] ^~~~~~~~~~~ [exec] /Users/ifox/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG' [exec] #define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__) [exec] ^~~~~~~~~~~ [exec] jni/ti.ratingbar.RatingbarLatestIfoxModule.cpp:193:14: note: treat the string as an argument to avoid this [exec] LOGE(TAG, error); [exec] ^ [exec] "%s", [exec] /Users/ifox/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE' [exec] #define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__) [exec] ^ [exec] /Users/ifox/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG' [exec] #define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__) [exec] ^ [exec] jni/ti.ratingbar.RatingbarLatestIfoxModule.cpp:255:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] [exec] LOGE(TAG, error); [exec] ^~~~~ [exec] /Users/ifox/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE' [exec] #define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__) [exec] ^~~~~~~~~~~ [exec] /Users/ifox/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG' [exec] #define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__) [exec] ^~~~~~~~~~~ [exec] jni/ti.ratingbar.RatingbarLatestIfoxModule.cpp:255:14: note: treat the string as an argument to avoid this [exec] LOGE(TAG, error); [exec] ^ [exec] "%s", [exec] /Users/ifox/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE' [exec] #define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__) [exec] ^ [exec] /Users/ifox/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG' [exec] #define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__) [exec] ^ [exec] 5 warnings generated. [exec] [armeabi-v7a] Compile++ thumb: ti.ratingbar <= RatingbarLatestIfoxBootstrap.cpp [exec] warning: unknown warning option '-Wno-psabi' [-Wunknown-warning-option] [exec] In file included from jni/../RatingbarLatestIfoxBootstrap.cpp:12: [exec] /Users/ifox/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/native/include/AndroidUtil.h:57:49: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] [exec] LOGE(tag, "Finished %s (%d ms)", description, AndroidUtil::getCurrentMillis() - start); [exec] ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [exec] %ld [exec] /Users/ifox/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE' [exec] #define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__) [exec] ^~~~~~~~~~~ [exec] /Users/ifox/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG' [exec] #define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__) [exec] ^~~~~~~~~~~ [exec] In file included from jni/../RatingbarLatestIfoxBootstrap.cpp:19: [exec] /private/var/folders/pg/7ysf77zd7wn15rvzjt3hdn500000gn/T/ifox/ratingbar-latest-ifox-generated/KrollGeneratedBindings.gperf:14:8: error: forward declaration of struct cannot have a nested name specifier [exec] struct titanium::bindings::BindEntry; [exec] ^~~~~~~~~~~~~~~~~~~~ [exec] /private/var/folders/pg/7ysf77zd7wn15rvzjt3hdn500000gn/T/ifox/ratingbar-latest-ifox-generated/KrollGeneratedBindings.gperf:25:11: warning: 'register' storage class specifier is deprecated and incompatible with C++1z [-Wdeprecated-register] [exec] register const char *s = wordlist[key].name; [exec] ^~~~~~~~~ [exec] 3 warnings and 1 error generated. [exec] make: *** [/var/folders/pg/7ysf77zd7wn15rvzjt3hdn500000gn/T//ifox/ratingbar-latest-ifox-generated/obj/local/armeabi-v7a/objs/ti.ratingbar/__/RatingbarLatestIfoxBootstrap.o] Error 1 BUILD FAILED /Users/ifox/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/module/android/build.xml:347: The following error occurred while executing this line: /Users/ifox/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/module/android/build.xml:302: exec returned: 2 Total time: 5 secondsHaving same issue here as well, any updates on this?
[~Abidindia009] You shouldn't need to use the
build.properties
file orant
. Try running:appc run -p android --build-only
Resolving ticket as this is not an issue anymore. Modern dev projects (6.x and later) can use
appc run -p android --build-only
to handle all module related build tasks.Closing as invalid. If incorrect, please reopen.