For version 6.8, v8_snapshot should be built by default but it isn't. I don't know why but the following configure works for me. Give it a try. Edit file: " /out.gn/android.arm.release/args.gn" ''' is_component_build = false is_debug = false symbol_level = 1 target_cpu = "arm" target_os = "android" use_goma = false v8_android_log_stdout = true v8_static_library = true v8_use_external_startup_data = false ''' Save and compile.
Good luck 在 2018年9月6日星期四 UTC+8下午1:03:13,7737...@qq.com写道: > > > I can get libv8_snapshot.a with the stable version of 6.5, but the later > stable version such as 6.8, 6.9 does not have libv8_snapshot.a library > after compiling, but I have to use libv8_snapshot.a library when embedding > android, because only this is used. The library will not report an error. > Others such as libv8_external_snapshot.a, libv8_nosnapshot.a will have > errors and cannot be resolved. I use CMakeLists.txt to embed the v8 library > into android when using libv8_nosnapshot.a Error:error: undefined reference > to 'vtable for v8::internal::SetupIsolateDelegate'. When using > libv8_external_snapshot.a, I won't be able to play the so library, why? > What should I do? > > > -- -- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to v8-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.