[0]请问LayaNative安卓源码编译的时候需要的NDK版本是多少啊
我编译so库的时候出现一下错误:
Android NDK: WARNING:/Users/li/Documents/LayaNative2.0-main/Conch/build/conch/proj.android_studio/jni/Android.mk:layaair: non-system libraries in linker flags: ../../../../libs/android-armv7/librender.a ../../../../libs/android-armv7/libcommon.a ../../../../libs/android-armv7/libwebglPlus.a ../../../../../ThirdParty/curl/lib/android-armv7/libcurl.a ../../../../../ThirdParty/v8/lib/android-armv7/libv8.cr.so ../../../../../ThirdParty/v8/lib/android-armv7/libv8_libbase.cr.so ../../../../../ThirdParty/v8/lib/android-armv7/libv8_libplatform.cr.so ../../../../../ThirdParty/websockets/lib/android-armv7/libwebsockets.a ../../../../../ThirdParty/jpeg/lib/android-armv7/libjpeg.a ../../../../../ThirdParty/png/lib/android-armv7/libpng.a ../../../../../ThirdParty/freetype/lib/android-armv7/libfreetype.a ../../../../../ThirdParty/zip/lib/android-armv7/libzip.a ../../../../../ThirdParty/ogg/lib/android-armv7/libvorbisfile.a ../../../../../ThirdParty/ogg/lib/android-armv7/libvorbis.a ../../../../../ThirdParty/ogg/lib/android-armv7/libogg.a ../../../../../ThirdParty/openssl/lib/android-armv7/libssl.a ../../../../../ThirdParty/openssl/lib/android-armv7/libcrypto.a ../../../../../ThirdParty/zlib/lib/android-armv7/libz.a ../../../../../ThirdParty/bullet/lib/android-armv7/libBulletDynamics.a ../../../../../ThirdParty/bullet/lib/android-armv7/libBulletCollision.a ../../../../../ThirdParty/bullet/lib/android-armv7/libLinearMath.a /sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/libgnustl_static.a
Android NDK: This is likely to result in incorrect builds. Try using LOCAL_STATIC_LIBRARIES
Android NDK: or LOCAL_SHARED_LIBRARIES instead to list the library dependencies of the
Android NDK: current module
Android NDK: WARNING:/Users/li/Documents/LayaNative2.0-main/Conch/build/conch/proj.android_studio/jni/Android.mk:layaair: non-system libraries in linker flags: ../../../../libs/android-arm64/librender.a ../../../../libs/android-arm64/libcommon.a ../../../../libs/android-arm64/libwebglPlus.a ../../../../../ThirdParty/curl/lib/android-arm64/libcurl.a ../../../../../ThirdParty/v8/lib/android-arm64/libv8.cr.so ../../../../../ThirdParty/v8/lib/android-arm64/libv8_libbase.cr.so ../../../../../ThirdParty/v8/lib/android-arm64/libv8_libplatform.cr.so ../../../../../ThirdParty/websockets/lib/android-arm64/libwebsockets.a ../../../../../ThirdParty/jpeg/lib/android-arm64/libjpeg.a ../../../../../ThirdParty/png/lib/android-arm64/libpng.a ../../../../../ThirdParty/freetype/lib/android-arm64/libfreetype.a ../../../../../ThirdParty/zip/lib/android-arm64/libzip.a ../../../../../ThirdParty/ogg/lib/android-arm64/libvorbisfile.a ../../../../../ThirdParty/ogg/lib/android-arm64/libvorbis.a ../../../../../ThirdParty/ogg/lib/android-arm64/libogg.a ../../../../../ThirdParty/openssl/lib/android-arm64/libssl.a ../../../../../ThirdParty/openssl/lib/android-arm64/libcrypto.a ../../../../../ThirdParty/zlib/lib/android-arm64/libz.a ../../../../../ThirdParty/bullet/lib/android-arm64/libBulletDynamics.a ../../../../../ThirdParty/bullet/lib/android-arm64/libBulletCollision.a ../../../../../ThirdParty/bullet/lib/android-arm64/libLinearMath.a /sources/cxx-stl/gnu-libstdc++/4.9/libs/arm64-v8a/libgnustl_static.a
Android NDK: This is likely to result in incorrect builds. Try using LOCAL_STATIC_LIBRARIES
Android NDK: or LOCAL_SHARED_LIBRARIES instead to list the library dependencies of the
Android NDK: current module
Android NDK: WARNING:/Users/li/Documents/LayaNative2.0-main/Conch/build/conch/proj.android_studio/jni/Android.mk:layaair: non-system libraries in linker flags: ../../../../libs/android-x86/librender.a ../../../../libs/android-x86/libcommon.a ../../../../libs/android-x86/libwebglPlus.a ../../../../../ThirdParty/curl/lib/android-x86/libcurl.a ../../../../../ThirdParty/v8/lib/android-x86/libv8.cr.so ../../../../../ThirdParty/v8/lib/android-x86/libv8_libbase.cr.so ../../../../../ThirdParty/v8/lib/android-x86/libv8_libplatform.cr.so ../../../../../ThirdParty/websockets/lib/android-x86/libwebsockets.a ../../../../../ThirdParty/jpeg/lib/android-x86/libjpeg.a ../../../../../ThirdParty/png/lib/android-x86/libpng.a ../../../../../ThirdParty/freetype/lib/android-x86/libfreetype.a ../../../../../ThirdParty/zip/lib/android-x86/libzip.a ../../../../../ThirdParty/ogg/lib/android-x86/libvorbisfile.a ../../../../../ThirdParty/ogg/lib/android-x86/libvorbis.a ../../../../../ThirdParty/ogg/lib/android-x86/libogg.a ../../../../../ThirdParty/openssl/lib/android-x86/libssl.a ../../../../../ThirdParty/openssl/lib/android-x86/libcrypto.a ../../../../../ThirdParty/zlib/lib/android-x86/libz.a ../../../../../ThirdParty/bullet/lib/android-x86/libBulletDynamics.a ../../../../../ThirdParty/bullet/lib/android-x86/libBulletCollision.a ../../../../../ThirdParty/bullet/lib/android-x86/libLinearMath.a /sources/cxx-stl/gnu-libstdc++/4.9/libs/x86/libgnustl_static.a
Android NDK: This is likely to result in incorrect builds. Try using LOCAL_STATIC_LIBRARIES
Android NDK: or LOCAL_SHARED_LIBRARIES instead to list the library dependencies of the
Android NDK: current module
[armeabi-v7a] Compile++ thumb: layaair <= JCConch.cpp
[armeabi-v7a] SharedLibrary : liblayaair.so
arm-linux-androideabi-g++: error: /sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/libgnustl_static.a: No such file or directory
make: *** [/Users/li/Documents/LayaNative2.0-main/Conch/build/conch/proj.android_studio/obj/local/armeabi-v7a/liblayaair.so] Error 1
Android NDK: WARNING:/Users/li/Documents/LayaNative2.0-main/Conch/build/conch/proj.android_studio/jni/Android.mk:layaair: non-system libraries in linker flags: ../../../../libs/android-armv7/librender.a ../../../../libs/android-armv7/libcommon.a ../../../../libs/android-armv7/libwebglPlus.a ../../../../../ThirdParty/curl/lib/android-armv7/libcurl.a ../../../../../ThirdParty/v8/lib/android-armv7/libv8.cr.so ../../../../../ThirdParty/v8/lib/android-armv7/libv8_libbase.cr.so ../../../../../ThirdParty/v8/lib/android-armv7/libv8_libplatform.cr.so ../../../../../ThirdParty/websockets/lib/android-armv7/libwebsockets.a ../../../../../ThirdParty/jpeg/lib/android-armv7/libjpeg.a ../../../../../ThirdParty/png/lib/android-armv7/libpng.a ../../../../../ThirdParty/freetype/lib/android-armv7/libfreetype.a ../../../../../ThirdParty/zip/lib/android-armv7/libzip.a ../../../../../ThirdParty/ogg/lib/android-armv7/libvorbisfile.a ../../../../../ThirdParty/ogg/lib/android-armv7/libvorbis.a ../../../../../ThirdParty/ogg/lib/android-armv7/libogg.a ../../../../../ThirdParty/openssl/lib/android-armv7/libssl.a ../../../../../ThirdParty/openssl/lib/android-armv7/libcrypto.a ../../../../../ThirdParty/zlib/lib/android-armv7/libz.a ../../../../../ThirdParty/bullet/lib/android-armv7/libBulletDynamics.a ../../../../../ThirdParty/bullet/lib/android-armv7/libBulletCollision.a ../../../../../ThirdParty/bullet/lib/android-armv7/libLinearMath.a /sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/libgnustl_static.a
Android NDK: This is likely to result in incorrect builds. Try using LOCAL_STATIC_LIBRARIES
Android NDK: or LOCAL_SHARED_LIBRARIES instead to list the library dependencies of the
Android NDK: current module
Android NDK: WARNING:/Users/li/Documents/LayaNative2.0-main/Conch/build/conch/proj.android_studio/jni/Android.mk:layaair: non-system libraries in linker flags: ../../../../libs/android-arm64/librender.a ../../../../libs/android-arm64/libcommon.a ../../../../libs/android-arm64/libwebglPlus.a ../../../../../ThirdParty/curl/lib/android-arm64/libcurl.a ../../../../../ThirdParty/v8/lib/android-arm64/libv8.cr.so ../../../../../ThirdParty/v8/lib/android-arm64/libv8_libbase.cr.so ../../../../../ThirdParty/v8/lib/android-arm64/libv8_libplatform.cr.so ../../../../../ThirdParty/websockets/lib/android-arm64/libwebsockets.a ../../../../../ThirdParty/jpeg/lib/android-arm64/libjpeg.a ../../../../../ThirdParty/png/lib/android-arm64/libpng.a ../../../../../ThirdParty/freetype/lib/android-arm64/libfreetype.a ../../../../../ThirdParty/zip/lib/android-arm64/libzip.a ../../../../../ThirdParty/ogg/lib/android-arm64/libvorbisfile.a ../../../../../ThirdParty/ogg/lib/android-arm64/libvorbis.a ../../../../../ThirdParty/ogg/lib/android-arm64/libogg.a ../../../../../ThirdParty/openssl/lib/android-arm64/libssl.a ../../../../../ThirdParty/openssl/lib/android-arm64/libcrypto.a ../../../../../ThirdParty/zlib/lib/android-arm64/libz.a ../../../../../ThirdParty/bullet/lib/android-arm64/libBulletDynamics.a ../../../../../ThirdParty/bullet/lib/android-arm64/libBulletCollision.a ../../../../../ThirdParty/bullet/lib/android-arm64/libLinearMath.a /sources/cxx-stl/gnu-libstdc++/4.9/libs/arm64-v8a/libgnustl_static.a
Android NDK: This is likely to result in incorrect builds. Try using LOCAL_STATIC_LIBRARIES
Android NDK: or LOCAL_SHARED_LIBRARIES instead to list the library dependencies of the
Android NDK: current module
Android NDK: WARNING:/Users/li/Documents/LayaNative2.0-main/Conch/build/conch/proj.android_studio/jni/Android.mk:layaair: non-system libraries in linker flags: ../../../../libs/android-x86/librender.a ../../../../libs/android-x86/libcommon.a ../../../../libs/android-x86/libwebglPlus.a ../../../../../ThirdParty/curl/lib/android-x86/libcurl.a ../../../../../ThirdParty/v8/lib/android-x86/libv8.cr.so ../../../../../ThirdParty/v8/lib/android-x86/libv8_libbase.cr.so ../../../../../ThirdParty/v8/lib/android-x86/libv8_libplatform.cr.so ../../../../../ThirdParty/websockets/lib/android-x86/libwebsockets.a ../../../../../ThirdParty/jpeg/lib/android-x86/libjpeg.a ../../../../../ThirdParty/png/lib/android-x86/libpng.a ../../../../../ThirdParty/freetype/lib/android-x86/libfreetype.a ../../../../../ThirdParty/zip/lib/android-x86/libzip.a ../../../../../ThirdParty/ogg/lib/android-x86/libvorbisfile.a ../../../../../ThirdParty/ogg/lib/android-x86/libvorbis.a ../../../../../ThirdParty/ogg/lib/android-x86/libogg.a ../../../../../ThirdParty/openssl/lib/android-x86/libssl.a ../../../../../ThirdParty/openssl/lib/android-x86/libcrypto.a ../../../../../ThirdParty/zlib/lib/android-x86/libz.a ../../../../../ThirdParty/bullet/lib/android-x86/libBulletDynamics.a ../../../../../ThirdParty/bullet/lib/android-x86/libBulletCollision.a ../../../../../ThirdParty/bullet/lib/android-x86/libLinearMath.a /sources/cxx-stl/gnu-libstdc++/4.9/libs/x86/libgnustl_static.a
Android NDK: This is likely to result in incorrect builds. Try using LOCAL_STATIC_LIBRARIES
Android NDK: or LOCAL_SHARED_LIBRARIES instead to list the library dependencies of the
Android NDK: current module
[armeabi-v7a] Compile++ thumb: layaair <= JCConch.cpp
[armeabi-v7a] SharedLibrary : liblayaair.so
arm-linux-androideabi-g++: error: /sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/libgnustl_static.a: No such file or directory
make: *** [/Users/li/Documents/LayaNative2.0-main/Conch/build/conch/proj.android_studio/obj/local/armeabi-v7a/liblayaair.so] Error 1
没有找到相关结果
已邀请:
要回复问题请先登录
1 个回复
S_Shine
赞同来自: