Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-8351] Android: Module: Cannot build module on Linux platform

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionDuplicate
Resolution Date2012-03-28T13:15:51.000+0000
Affected Version/sRelease 2.0.0
Fix Version/sn/a
ComponentsAndroid
Labelsqe-and031912
ReporterNatalie Huynh
AssigneeMarshall Culpepper
Created2012-03-28T11:06:02.000+0000
Updated2014-06-19T12:43:12.000+0000

Description

Steps to Reproduce: 1. Create an android module titanium.py create --platform=android --type=module --name=TEST --id=com.test --android=/path/to/android/sdk 2. Go into the newly created module project, and build it by typing 'ant Actual: ndk.build: [exec] Compile++ thumb : com.test <= com.test.ExampleProxy.cpp [exec] jni/Android.mk:24: warning: overriding commands for target /home/tester/.titanium/mobilesdk/linux/2.0.0.v20120328000206/TEST/build/generated/KrollGeneratedBindings.cpp' [exec] jni/Android.mk:24: warning: ignoring old commands for target /home/tester/.titanium/mobilesdk/linux/2.0.0.v20120328000206/TEST/build/generated/KrollGeneratedBindings.cpp' [exec] jni/Android.mk:27: warning: overriding commands for target /home/tester/.titanium/mobilesdk/linux/2.0.0.v20120328000206/TEST/build/generated/BootstrapJS.cpp' [exec] jni/Android.mk:27: warning: ignoring old commands for target /home/tester/.titanium/mobilesdk/linux/2.0.0.v20120328000206/TEST/build/generated/BootstrapJS.cpp' [exec] Compile++ thumb : com.test <= com.test.TestModule.cpp [exec] Compile++ thumb : com.test <= TestBootstrap.cpp [exec] jni/../TestBootstrap.cpp: In function 'v8::Handle Test_getBinding(const v8::Arguments&)': [exec] jni/../TestBootstrap.cpp:47: error: '::TestBindings' has not been declared [exec] jni/../TestBootstrap.cpp: In function 'void Test_dispose()': [exec] jni/../TestBootstrap.cpp:92: error: '::TestBindings' has not been declared [exec] jni/../TestBootstrap.cpp: In function 'void Java_com_test_TestBootstrap_nativeBootstrap(JNIEnv*, _jobject*)': [exec] jni/../TestBootstrap.cpp:115: error: '::TestBindings' has not been declared [exec] make: *** [/home/tester/.titanium/mobilesdk/linux/2.0.0.v20120328000206/TEST/build/generated/obj/local/armeabi/objs/com.test/__/TestBootstrap.o] Error 1 BUILD FAILED /home/tester/.titanium/mobilesdk/linux/2.0.0.v20120328000206/module/android/build.xml:228: exec returned: 2 Total time: 4 seconds Expected: To build the module without error

Comments

  1. Natalie Huynh 2012-03-28

    Duplicate of TIMOB-8056. When compiling a module with all lower case, the problem does not exist

JSON Source