[AC-5057] Error building Android module, upgrade for V8 support
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Needs more info |
Resolution Date | 2017-07-12T21:44:22.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Appcelerator CLI, Studio |
Labels | n/a |
Reporter | eric harms |
Assignee | Shak Hossain |
Created | 2017-06-26T20:40:02.000+0000 |
Updated | 2017-07-12T21:44:22.000+0000 |
Description
Hello,
I am trying to upgrade one of our Android modules for V8 support as documented, and its failing with errors that I do not understand.
I am trying to build the module with this SDK, using ti build -p android --build-only
https://tokbox.com/developer/sdks/android/
I was hoping that someone could help me pinpoint what is causing the failure, there seems to be some references to V8 in the error log, but Im not sure if its on the Appcelerator side or the Tokbox SDK side.
Please see below for logcat error and let me know if you have any questions.
Thanks!
{noformat}
[ERROR] Failed to run ndk-build
[ERROR]
[ERROR] jni/Android.mk:35: warning: overriding commands for target
/Users/eharms/Documents/Appcelerator_Studio_Workspace/tiopentokv6/android/build/generated/KrollGeneratedBindings.cpp'
[ERROR] jni/Android.mk:35: warning: ignoring old commands for target
/Users/eharms/Documents/Appcelerator_Studio_Workspace/tiopentokv6/android/build/generated/KrollGeneratedBindings.cpp'
[ERROR] jni/Android.mk:35: warning: overriding commands for target /Users/eharms/Documents/Appcelerator_Studio_Workspace/tiopentokv6/android/build/generated/KrollGeneratedBindings.cpp'
[ERROR] jni/Android.mk:35: warning: ignoring old commands for target
/Users/eharms/Documents/Appcelerator_Studio_Workspace/tiopentokv6/android/build/generated/KrollGeneratedBindings.cpp'
[ERROR] jni/Android.mk:35: warning: overriding commands for target /Users/eharms/Documents/Appcelerator_Studio_Workspace/tiopentokv6/android/build/generated/KrollGeneratedBindings.cpp'
[ERROR] jni/Android.mk:35: warning: ignoring old commands for target
/Users/eharms/Documents/Appcelerator_Studio_Workspace/tiopentokv6/android/build/generated/KrollGeneratedBindings.cpp'
[ERROR] In file included from jni/../OpentokBootstrap.cpp:19:0:
[ERROR] /Users/eharms/Documents/Appcelerator_Studio_Workspace/tiopentokv6/android/build/generated/KrollGeneratedBindings.gperf:19:28: warning: declaration 'struct titanium::bindings::BindEntry' does not declare anything [enabled by default]
[ERROR] struct titanium::bindings::BindEntry;
[ERROR] ^
[ERROR] In file included from jni/../OpentokBootstrap.cpp:19:0:
[ERROR] /Users/eharms/Documents/Appcelerator_Studio_Workspace/tiopentokv6/android/build/generated/KrollGeneratedBindings.gperf:19:28: warning: declaration 'struct titanium::bindings::BindEntry' does not declare anything [enabled by default]
[ERROR] struct titanium::bindings::BindEntry;
[ERROR] ^
[ERROR] In file included from jni/../OpentokBootstrap.cpp:19:0:
[ERROR] /Users/eharms/Documents/Appcelerator_Studio_Workspace/tiopentokv6/android/build/generated/KrollGeneratedBindings.gperf:19:28: warning: declaration 'struct titanium::bindings::BindEntry' does not declare anything
[ERROR] struct titanium::bindings::BindEntry;
[ERROR] ^
[ERROR] /Users/eharms/Applications/android-ndk-r10e/toolchains/aarch64-linux-android-4.9/prebuilt/darwin-x86_64/bin/../lib/gcc/aarch64-linux-android/4.9/../../../../aarch64-linux-android/bin/ld: cannot find -lkroll-v8
[ERROR] collect2: error: ld returned 1 exit status
[ERROR] make: *** [/Users/eharms/Documents/Appcelerator_Studio_Workspace/tiopentokv6/android/build/generated/obj/local/arm64-v8a/libcom.tokbox.ti.opentok.so] Error 1
{noformat}
Hi, Thanks for reaching us. Could you please share with us *manifest* file of your android module? Latest SDK support following architectures only.
Appcelerator has released the version of Titanium SDK 6. With it, we have updated the V8 engine used on Android. Regards, Aminul