UnsatisfiedLinkError: dlopen failed: cannot locate symbol “strtof” referenced by “libsupportjni.so”
来源:互联网 发布:淘宝助手官方 编辑:程序博客网 时间:2024/06/05 06:17
Ask Question
up vote19 down vote favorite
4
Android Studio 2.4 preview 7
I'm getting the following error immediately on launch, but only for devices running API <20.
D/dalvikvm: Trying to load lib /mnt/asec/[[packagename]]-1/lib/libsupportjni.so 0x41b13f30E/dalvikvm: dlopen("/mnt/asec/[[packagename]]-1/lib/libsupportjni.so") failed: dlopen failed: cannot locate symbol "strtof" referenced by "libsupportjni.so"...W/dalvikvm: Exception Ljava/lang/UnsatisfiedLinkError; thrown while initializing Lcom/android/tools/profiler/support/ProfilerService;D/AndroidRuntime: Shutting down VMW/dalvikvm: threadid=1: thread exiting with uncaught exception (group=0x41659ce0)E/AndroidRuntime: FATAL EXCEPTION: main Process: [[packagename]], PID: 7500 java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "strtof" referenced by "libsupportjni.so"... at java.lang.Runtime.loadLibrary(Runtime.java:364) at java.lang.System.loadLibrary(System.java:526) at com.android.tools.profiler.support.ProfilerService.<clinit>(ProfilerService.java:44) at [[packagename]].App.<init>(App.kt:25) at java.lang.Class.newInstanceImpl(Native Method) at java.lang.Class.newInstance(Class.java:1208) at android.app.Instrumentation.newApplication(Instrumentation.java:990) at android.app.Instrumentation.newApplication(Instrumentation.java:975) at android.app.LoadedApk.makeApplication(LoadedApk.java:509) at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4446) at android.app.ActivityThread.access$1500(ActivityThread.java:144) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1265) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:136) at android.app.ActivityThread.main(ActivityThread.java:5146) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:515) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:732) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:566) at dalvik.system.NativeStart.main(Native Method)
androiddebugging
add a comment
1 Answer
activeoldest votes
up vote70 down vote accepted
Go to Run -> Edit Configurations -> Profiling, and disable "Enable advanced profiling". This feature is not currently compatible with API <20, and will cause this or similar crashes. This may be fixed in the future, but as of Android Studio 2.4 preview 7, it's an open issue. Related issue
3
This works fine! – lucasb.aquinoMay 12 at 12:03
5 This also works for dlopen failed: cannot locate symbol "__aeabi_memclr4" referenced by "/data/app/**/libsupportjni.so" which i got on API 23 with Android Studio 3.0 canary 6 – AlexJul 13 at 11:30
2 @Alex I had the same issue and have reported this issue to the Android Studio team:issuetracker.google.com/issues/63756889 – Peter KeefeJul 17 at 16:05
3 It's still happening in AS 3.0 beta 2 – cesardsAug 18 at 11:24
2 I'm very frustrated at Google right now. I've been chasing this all day thinking it was a JNI issue (which I don't use). Why not put a damn warning on the option? – OdedSep 5 at 21:55
show2 more comments
阅读全文
0 0
- 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 "atof" referenced by "xxx.so"
- 解决java.lang.UnsatisfiedLinkError:dlopen failed:cannot locate symbol "tcgetattr" referenced by..
- java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "__exidx_end" referenced by
- java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "__aeabi_memclr8" referenced by
- java.lang.UnsatisfiedLinkError:dlopen failed:cannot locate symbol "tcgetattr" referenced by..
- failed: dlopen failed: cannot locate symbol "rand" referenced by
- ndk编译 错误:dlopen failed:cannot locate symbol "一个符号" referenced by "你的库.so/.a" lang.UnsatisfiedLinkErr
- java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "__aeabi_memcpy"
- 融云 dlopen failed: cannot locate symbol .... libsqlite.so 问题
- cocos2dx3.12 cannot locate symbol "atof" referenced by "libcocos2djs.so"
- Android错误:cannot locate symbol "rand" referenced by "libgameshared.so
- 关于eclipse的ndk开发failed: dlopen failed: cannot locate symbol "signal" referenced
- NDK java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "_Z12getIPAddressPcS_" refer
- dlopen failed: cannot locate symbol "__aeabi_memclr8"
- SpringSecurity 基础应用
- centos 系统禁止普通用户使用crontab命令
- 改变printf输出文字的颜色
- CHROME开发者工具的小技巧
- TortoiseSVN 安装及使用
- UnsatisfiedLinkError: dlopen failed: cannot locate symbol “strtof” referenced by “libsupportjni.so”
- 手把手教你用Python抓取热门景点热力图!(附代码)
- 不远复 秒杀系统:并发队列 接口设计 并发请求数据安全处理
- 图片加载相关问题
- Redis 讲解系列之 Redis入门
- XML选择器的使用二,补充
- 浅谈OFBiz之权限设计
- svn提交、更新与文件冲突
- Gym 101164.K