Android JNI之——UnsatisfiedLinkError errordlopen failed: cannot locate symbol "rand"
来源:互联网 发布:c语言与数据库 编辑:程序博客网 时间:2024/05/21 09:34
转载请注明出处:http://blog.csdn.net/l1028386804/article/details/46593083
E/dalvikvm(19498): dlopen("/data/app-lib/com.mystylinglounge.salonluatest-2/libcocos2dlua.so") failed: dlopen failed: cannot locate symbol "rand" referenced by "libcocos2dlua.so"...
V/Trevor (19498): UnsatisfiedLinkError errordlopen failed: cannot locate symbol "rand" referenced by "libcocos2dlua.so"...
https://code.google.com/p/android-developer-preview/issues/detail?id=168
gz-rios-mac05:proj.android mac05$ ndk-build -v
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
This program built for x86_64-apple-darwin
原来是对机器的位搞错了,,我的android 机器是32 位,但 应该下32 位的ndk
https://developer.android.com/tools/sdk/ndk/index.html
lAndroid NDK, Revision 10(July 2014)
- Important changes:
- Added 3 new ABIs, all 64-bit: arm64-v8a, x86_64, mips64. Note that:
- GCC 4.9 is the default compiler for 64-bit ABIs. Clang is currently version 3.4.
NDK_TOOLCHAIN_VERSION=clang
may not work for arm64-v8a and mips64. - Android-L is the first level with 64-bit support. Note that this APIlevel is a temporary one, and only for L-preview. An actual API level number will replace it atL-release.
- This release includes now includes
all32
andall64
settings forAPP_ABI
.APP_ABI=all32
is equivalent toAPP_ABI=armeabi,armeabi-v7a,x86,mips
.APP_ABI=all64
is equivalent toAPP_ABI=arm64-v8a,x86_64,mips64
.APP_ABI=all
selects all ABIs.
- GCC 4.9 is the default compiler for 64-bit ABIs. Clang is currently version 3.4.
- Added 3 new ABIs, all 64-bit: arm64-v8a, x86_64, mips64. Note that:
- Android JNI之——UnsatisfiedLinkError errordlopen failed: cannot locate symbol "rand"
- UnsatisfiedLinkError errordlopen failed: cannot locate symbol "rand"
- failed: dlopen failed: cannot locate symbol "rand" referenced by
- java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "__aeabi_memcpy"
- Android错误:cannot locate symbol "rand" referenced by "libgameshared.so
- 解决java.lang.UnsatisfiedLinkError:dlopen failed:cannot locate symbol "tcgetattr" referenced by..
- java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "__exidx_end" referenced by
- NDK java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "_Z12getIPAddressPcS_" refer
- java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "__aeabi_memclr8" referenced by
- java.lang.UnsatisfiedLinkError:dlopen failed:cannot locate symbol "tcgetattr" referenced by..
- UnsatisfiedLinkError: dlopen failed: cannot locate symbol “strtof” referenced by “libsupportjni.so”
- java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "strtof" referenced by "libsupp
- java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "strtof" referenced by "libsuppo
- java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "strtof" referenced by "libsupp
- dlopen failed: cannot locate symbol "__aeabi_memclr8"
- dlopen failed: cannot locate symbol "__aeabi_memclr4
- Android问题集锦之四十三:UnsatisfiedLinkError: Cannot load library: reloc_library[1285]: 104 cannot locate
- cannot locate 'rand'...
- Opencv2.4.9源码分析——HoughLinesP
- web前端面试常见问题二 ------css布局(position)
- RandomAccessFileDemo
- C实现 LeetCode->Reverse Linked List II (双指针大法)(单链表反转)
- 文章标题
- Android JNI之——UnsatisfiedLinkError errordlopen failed: cannot locate symbol "rand"
- Web基础入门
- HDU1299&&SPOJ - KPEQU(找因子来找解的个数)
- 频率与频点
- Functional Programming Principles in Scala
- matlab基础学习
- android学习笔记三 ---- android项目文件结构介绍
- Drawable之Shape drawable
- win7回归崎岖路——UEFI+GPT装双系统arch+Windows7折腾记