Error building Titanium android module -


i'm having trouble building brand new canned generated module out of titanium studio on mac os x. i'm able build fine on linux when try on mac i'm getting weird errors out of ant build:

buildfile: /users/michael/documents/titanium_studio_workspace/titanium_rtmp/build.xml  python.set.exec:  python.check:      [echo] testing python      [exec] python 2.7.2  init:  process.annotations:  generate.v8.bindings:      [java] generating /users/michael/documents/titanium_studio_workspace/titanium_rtmp/build/generated/jni/com.innoverselabs.titanium.rtmp.exampleproxy.h      [java] generating /users/michael/documents/titanium_studio_workspace/titanium_rtmp/build/generated/jni/com.innoverselabs.titanium.rtmp.exampleproxy.cpp      [java] generating /users/michael/documents/titanium_studio_workspace/titanium_rtmp/build/generated/jni/com.innoverselabs.titanium.rtmp.titaniumrtmpmodule.h      [java] generating /users/michael/documents/titanium_studio_workspace/titanium_rtmp/build/generated/jni/com.innoverselabs.titanium.rtmp.titaniumrtmpmodule.cpp  generate.bindings:  pre.compile:  js.compile:  ndk.build:      [copy] copying 11 files /var/folders/_6/6jjydzjs457fnpsc9_5cgl980000gn/t/michael/titaniumrtmp-generated      [exec] jni/android.mk:32: warning: overriding commands target `/private/var/folders/_6/6jjydzjs457fnpsc9_5cgl980000gn/t/michael/titandroid ndk: warning:jni/android.mk:com.innoverselabs.titanium.rtmp: non-system libraries in linker flags: -lkroll-v8          [exec] android ndk:     result in incorrect builds. try using local_static_libraries          [exec] android ndk:     or local_shared_laniumrtmp-generated/krollgeneratedbindings.cpp'      [exec] jni/android.mk:32: warning: ignoring old commands target `/private/var/foldeibraries instead list library dependencies of          [exec] android ndk:     current module          [exec] android ndk: warning:jni/androirs/_6/6jjydzjs457fnpsc9_5cgl980000gn/t/michael/titaniumrtmp-generated/krollgeneratedbindings.cpp'      [exec] jni/android.mk:35: warning: ovd.mk:com.innoverselabs.titanium.rtmp: non-system libraries in linker flags: -lkroll-v8          [exec] android ndk:     reerriding commands target `/private/var/folders/_6/6jjydzjs457fnpsc9_5cgl980000gn/t/michael/titaniumrtmp-generated/bootstrapjsult in incorrect builds. try using local_static_libraries          [exec] android ndk:     or local_shared_libraries instead list lis.cpp'      [exec] jni/android.mk:35: warning: ignoring old commands target `/private/var/folders/_6/6jjydzjs457fnpsc9_5cgl980000gn/t/mibrary dependencies of          [exec] android ndk:     current module          [exec] android ndk: warning:jni/android.mk:com.innoverselabs.titaniumchael/titaniumrtmp-generated/bootstrapjs.cpp'      [exec] jni/android.mk:32: warning: overriding commands target `/private/var/folders/_.rtmp: non-system libraries in linker flags: -lkroll-v8          [exec] android ndk:     result in incorrect builds. try u6/6jjydzjs457fnpsc9_5cgl980000gn/t/michael/titaniumrtmp-generated/krollgeneratedbindings.cpp'      [exec] jni/android.mk:32: warning: ignorising local_static_libraries          [exec] android ndk:     or local_shared_libraries instead list library dependencies of          [exec] ang old commands target `/private/var/folders/_6/6jjydzjs457fnpsc9_5cgl980000gn/t/michael/titaniumrtmp-generated/krollgeneratndroid ndk:     current module          [exec] compile++ thumb  : com.innoverselabs.titanium.rtmp <= com.innoverselabs.titanium.rtmp.exampleedbindings.cpp'      [exec] jni/android.mk:35: warning: overriding commands target `/private/var/folders/_6/6jjydzjs457fnpsc9_5cgl980000proxy.cpp      [exec] gn/t/michael/titaniumrtmp-generated/bootstrapjs.cpp'      [exec] jni/android.mk:35: warning: ignoring old commands target `/private/var/folders/_6/6jjydzjs457fnpsc9_5cgl980000gn/t/michael/titaniumrtmp-generated/bootstrapjs.cpp'      [exec] in file included jni/com.innoverselabs.titanium.rtmp.exampleproxy.cpp:10:0:      [exec] jni/com.innoverselabs.titanium.rtmp.exampleproxy.h:22:1: error: expected class-name before '{' token      [exec] in file included jni/com.innoverselabs.titanium.rtmp.exampleproxy.cpp:12:0:      [exec] /users/michael/library/application support/titanium/mobilesdk/osx/3.1.1.ga/android/native/include/androidutil.h: in destructor 'titanium::logtimer::~logtimer()':      [exec] /users/michael/library/application support/titanium/mobilesdk/osx/3.1.1.ga/android/native/include/androidutil.h:57:3: warning: format '%d' expects argument of type 'int', argument 5 has type 'long int' [-wformat]      [exec] jni/com.innoverselabs.titanium.rtmp.exampleproxy.cpp: in constructor 'com::innoverselabs::titanium::rtmp::titaniumrtmp::exampleproxy::exampleproxy(jobject)':      [exec] jni/com.innoverselabs.titanium.rtmp.exampleproxy.cpp:38:65: error: expected class-name before '(' token      [exec] jni/com.innoverselabs.titanium.rtmp.exampleproxy.cpp:38:65: error: expected '{' before '(' token      [exec] jni/com.innoverselabs.titanium.rtmp.exampleproxy.cpp: @ global scope:      [exec] jni/com.innoverselabs.titanium.rtmp.exampleproxy.cpp:39:1: error: expected constructor, destructor, or type conversion before '{' token      [exec] jni/com.innoverselabs.titanium.rtmp.exampleproxy.cpp: in static member function 'static void com::innoverselabs::titanium::rtmp::titaniumrtmp::exampleproxy::dispose()':      [exec] jni/com.innoverselabs.titanium.rtmp.exampleproxy.cpp:63:12: error: 'com::innoverselabs::titanium::tiviewproxy' has not been declared      [exec] jni/com.innoverselabs.titanium.rtmp.exampleproxy.cpp: in static member function 'static v8::handle<v8::functiontemplate> com::innoverselabs::titanium::rtmp::titaniumrtmp::exampleproxy::getproxytemplate()':      [exec] jni/com.innoverselabs.titanium.rtmp.exampleproxy.cpp:74:24: error: 'com::innoverselabs::titanium::jniutil' has not been declared      [exec] jni/com.innoverselabs.titanium.rtmp.exampleproxy.cpp:80:41: error: 'com::innoverselabs::titanium::proxy' has not been declared      [exec] jni/com.innoverselabs.titanium.rtmp.exampleproxy.cpp:81:13: error: 'com::innoverselabs::titanium::tiviewproxy' has not been declared      [exec] jni/com.innoverselabs.titanium.rtmp.exampleproxy.cpp:85:31: error: 'com::innoverselabs::titanium::proxy' has not been declared      [exec] jni/com.innoverselabs.titanium.rtmp.exampleproxy.cpp:86:35: error: 'com::innoverselabs::titanium::proxy' has not been declared      [exec] jni/com.innoverselabs.titanium.rtmp.exampleproxy.cpp:86:62: error: expected primary-expression before '>' token      [exec] jni/com.innoverselabs.titanium.rtmp.exampleproxy.cpp:86:63: error: expected primary-expression before ')' token      [exec] jni/com.innoverselabs.titanium.rtmp.exampleproxy.cpp:88:12: error: 'com::innoverselabs::titanium::proxyfactory' has not been declared      [exec] jni/com.innoverselabs.titanium.rtmp.exampleproxy.cpp:99:56: error: 'com::innoverselabs::titanium::proxy' has not been declared      [exec] jni/com.innoverselabs.titanium.rtmp.exampleproxy.cpp:100:13: error: 'com::innoverselabs::titanium::proxy' has not been declared      [exec] jni/com.innoverselabs.titanium.rtmp.exampleproxy.cpp: in static member function 'static v8::handle<v8::value> com::innoverselabs::titanium::rtmp::titaniumrtmp::exampleproxy::setmessage(const v8::arguments&)':      [exec] jni/com.innoverselabs.titanium.rtmp.exampleproxy.cpp:121:26: error: 'com::innoverselabs::titanium::jniscope' has not been declared      [exec] jni/com.innoverselabs.titanium.rtmp.exampleproxy.cpp:123:20: error: 'com::innoverselabs::titanium::jsexception' has not been declared      [exec] jni/com.innoverselabs.titanium.rtmp.exampleproxy.cpp:130:4: error: format not string literal , no format arguments [-werror=format-security]      [exec] jni/com.innoverselabs.titanium.rtmp.exampleproxy.cpp:131:22: error: 'com::innoverselabs::titanium::jsexception' has not been declared      [exec] jni/com.innoverselabs.titanium.rtmp.exampleproxy.cpp:135:2: error: 'proxy' not member of 'com::innoverselabs::titanium'      [exec] jni/com.innoverselabs.titanium.rtmp.exampleproxy.cpp:135:2: note: suggested alternative:      [exec] /users/michael/library/application support/titanium/mobilesdk/osx/3.1.1.ga/android/native/include/proxy.h:17:7: note:   'titanium::proxy'      [exec] jni/com.innoverselabs.titanium.rtmp.exampleproxy.cpp:135:19: error: 'proxy' not declared in scope      [exec] jni/com.innoverselabs.titanium.rtmp.exampleproxy.cpp:135:37: error: 'com::innoverselabs::titanium::proxy' has not been declared      [exec] jni/com.innoverselabs.titanium.rtmp.exampleproxy.cpp:153:14: error: 'com::innoverselabs::titanium::typeconverter' has not been declared      [exec] jni/com.innoverselabs.titanium.rtmp.exampleproxy.cpp:161:7: error: 'javaobject' has not been declared      [exec] jni/com.innoverselabs.titanium.rtmp.exampleproxy.cpp:171:13: error: 'com::innoverselabs::titanium::jsexception' has not been declared      [exec] jni/com.innoverselabs.titanium.rtmp.exampleproxy.cpp: in static member function 'static v8::handle<v8::value> com::innoverselabs::titanium::rtmp::titaniumrtmp::exampleproxy::getmessage(const v8::arguments&)':      [exec] jni/com.innoverselabs.titanium.rtmp.exampleproxy.cpp:186:26: error: 'com::innoverselabs::titanium::jniscope' has not been declared      [exec] jni/com.innoverselabs.titanium.rtmp.exampleproxy.cpp:188:20: error: 'com::innoverselabs::titanium::jsexception' has not been declared      [exec] jni/com.innoverselabs.titanium.rtmp.exampleproxy.cpp:195:4: error: format not string literal , no format arguments [-werror=format-security]      [exec] jni/com.innoverselabs.titanium.rtmp.exampleproxy.cpp:196:22: error: 'com::innoverselabs::titanium::jsexception' has not been declared      [exec] jni/com.innoverselabs.titanium.rtmp.exampleproxy.cpp:200:2: error: 'proxy' not member of 'com::innoverselabs::titanium'      [exec] jni/com.innoverselabs.titanium.rtmp.exampleproxy.cpp:200:2: note: suggested alternative:      [exec] /users/michael/library/application support/titanium/mobilesdk/osx/3.1.1.ga/android/native/include/proxy.h:17:7: note:   'titanium::proxy'      [exec] jni/com.innoverselabs.titanium.rtmp.exampleproxy.cpp:200:19: error: 'proxy' not declared in scope      [exec] jni/com.innoverselabs.titanium.rtmp.exampleproxy.cpp:200:37: error: 'com::innoverselabs::titanium::proxy' has not been declared      [exec] jni/com.innoverselabs.titanium.rtmp.exampleproxy.cpp:209:7: error: 'javaobject' has not been declared      [exec] jni/com.innoverselabs.titanium.rtmp.exampleproxy.cpp:216:41: error: 'com::innoverselabs::titanium::jsexception' has not been declared      [exec] jni/com.innoverselabs.titanium.rtmp.exampleproxy.cpp:225:37: error: 'com::innoverselabs::titanium::typeconverter' has not been declared      [exec] jni/com.innoverselabs.titanium.rtmp.exampleproxy.cpp: in static member function 'static v8::handle<v8::value> com::innoverselabs::titanium::rtmp::titaniumrtmp::exampleproxy::printmessage(const v8::arguments&)':      [exec] jni/com.innoverselabs.titanium.rtmp.exampleproxy.cpp:238:26: error: 'com::innoverselabs::titanium::jniscope' has not been declared      [exec] jni/com.innoverselabs.titanium.rtmp.exampleproxy.cpp:240:20: error: 'com::innoverselabs::titanium::jsexception' has not been declared      [exec] jni/com.innoverselabs.titanium.rtmp.exampleproxy.cpp:247:4: error: format not string literal , no format arguments [-werror=format-security]      [exec] jni/com.innoverselabs.titanium.rtmp.exampleproxy.cpp:248:22: error: 'com::innoverselabs::titanium::jsexception' has not been declared      [exec] jni/com.innoverselabs.titanium.rtmp.exampleproxy.cpp:252:2: error: 'proxy' not member of 'com::innoverselabs::titanium'      [exec] jni/com.innoverselabs.titanium.rtmp.exampleproxy.cpp:252:2: note: suggested alternative:      [exec] /users/michael/library/application support/titanium/mobilesdk/osx/3.1.1.ga/android/native/include/proxy.h:17:7: note:   'titanium::proxy'      [exec] jni/com.innoverselabs.titanium.rtmp.exampleproxy.cpp:252:19: error: 'proxy' not declared in scope      [exec] jni/com.innoverselabs.titanium.rtmp.exampleproxy.cpp:252:37: error: 'com::innoverselabs::titanium::proxy' has not been declared      [exec] jni/com.innoverselabs.titanium.rtmp.exampleproxy.cpp:270:14: error: 'com::innoverselabs::titanium::typeconverter' has not been declared      [exec] jni/com.innoverselabs.titanium.rtmp.exampleproxy.cpp:278:7: error: 'javaobject' has not been declared      [exec] jni/com.innoverselabs.titanium.rtmp.exampleproxy.cpp:288:13: error: 'com::innoverselabs::titanium::jsexception' has not been declared      [exec] jni/com.innoverselabs.titanium.rtmp.exampleproxy.cpp: in static member function 'static v8::handle<v8::value> com::innoverselabs::titanium::rtmp::titaniumrtmp::exampleproxy::getter_message(v8::local<v8::string>, const v8::accessorinfo&)':      [exec] jni/com.innoverselabs.titanium.rtmp.exampleproxy.cpp:306:26: error: 'com::innoverselabs::titanium::jniscope' has not been declared      [exec] jni/com.innoverselabs.titanium.rtmp.exampleproxy.cpp:308:20: error: 'com::innoverselabs::titanium::jsexception' has not been declared      [exec] jni/com.innoverselabs.titanium.rtmp.exampleproxy.cpp:315:4: error: format not string literal , no format arguments [-werror=format-security]      [exec] jni/com.innoverselabs.titanium.rtmp.exampleproxy.cpp:316:22: error: 'com::innoverselabs::titanium::jsexception' has not been declared      [exec] jni/com.innoverselabs.titanium.rtmp.exampleproxy.cpp:320:2: error: 'proxy' not member of 'com::innoverselabs::titanium'      [exec] jni/com.innoverselabs.titanium.rtmp.exampleproxy.cpp:320:2: note: suggested alternative:      [exec] /users/michael/library/application support/titanium/mobilesdk/osx/3.1.1.ga/android/native/include/proxy.h:17:7: note:   'titanium::proxy'      [exec] jni/com.innoverselabs.titanium.rtmp.exampleproxy.cpp:320:19: error: 'proxy' not declared in scope      [exec] jni/com.innoverselabs.titanium.rtmp.exampleproxy.cpp:320:37: error: 'com::innoverselabs::titanium::proxy' has not been declared      [exec] jni/com.innoverselabs.titanium.rtmp.exampleproxy.cpp:333:7: error: 'javaobject' has not been declared      [exec] jni/com.innoverselabs.titanium.rtmp.exampleproxy.cpp:340:41: error: 'com::innoverselabs::titanium::jsexception' has not been declared      [exec] jni/com.innoverselabs.titanium.rtmp.exampleproxy.cpp:349:37: error: 'com::innoverselabs::titanium::typeconverter' has not been declared      [exec] jni/com.innoverselabs.titanium.rtmp.exampleproxy.cpp: in static member function 'static void com::innoverselabs::titanium::rtmp::titaniumrtmp::exampleproxy::setter_message(v8::local<v8::string>, v8::local<v8::value>, const v8::accessorinfo&)':      [exec] jni/com.innoverselabs.titanium.rtmp.exampleproxy.cpp:363:26: error: 'com::innoverselabs::titanium::jniscope' has not been declared      [exec] jni/com.innoverselabs.titanium.rtmp.exampleproxy.cpp:374:4: error: format not string literal , no format arguments [-werror=format-security]      [exec] jni/com.innoverselabs.titanium.rtmp.exampleproxy.cpp:378:2: error: 'proxy' not member of 'com::innoverselabs::titanium'      [exec] jni/com.innoverselabs.titanium.rtmp.exampleproxy.cpp:378:2: note: suggested alternative:      [exec] /users/michael/library/application support/titanium/mobilesdk/osx/3.1.1.ga/android/native/include/proxy.h:17:7: note:   'titanium::proxy'      [exec] jni/com.innoverselabs.titanium.rtmp.exampleproxy.cpp:378:19: error: 'proxy' not declared in scope      [exec] jni/com.innoverselabs.titanium.rtmp.exampleproxy.cpp:378:37: error: 'com::innoverselabs::titanium::proxy' has not been declared      [exec] jni/com.innoverselabs.titanium.rtmp.exampleproxy.cpp:390:14: error: 'com::innoverselabs::titanium::typeconverter' has not been declared      [exec] jni/com.innoverselabs.titanium.rtmp.exampleproxy.cpp:398:7: error: 'javaobject' has not been declared      [exec] jni/com.innoverselabs.titanium.rtmp.exampleproxy.cpp:408:13: error: 'com::innoverselabs::titanium::jsexception' has not been declared      [exec] cc1plus: warnings being treated errors      [exec]       [exec] make: *** [/var/folders/_6/6jjydzjs457fnpsc9_5cgl980000gn/t//michael/titaniumrtmp-generated/obj/local/armeabi/objs/com.innoverselabs.titanium.rtmp/com.innoverselabs.titanium.rtmp.exampleproxy.o] error 1  build failed /users/michael/library/application support/titanium/mobilesdk/osx/3.1.1.ga/module/android/build.xml:326: following error occurred while executing line: /users/michael/library/application support/titanium/mobilesdk/osx/3.1.1.ga/module/android/build.xml:281: exec returned: 2  total time: 2 seconds 

i have set correctly (including ndk path in build.properties. i've tried re-downloading ndk , tried 32bit , 64bit mac version , consistently same error. tried moving titanium platform location without spaces , still received same error.

removing exampleproxy class thing solved me. subsequent modules made exampleproxy did work after sdk upgrade.


Comments

Popular posts from this blog

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

gcc - Calling fftR4() in c from assembly -

.htaccess - Matching full URL in RewriteCond -