gpt4 book ai didi

android - 读取链接 ('/proc/self/fd/21' ) 失败 : Permission denied [fd=21] error in Android 6 after adding Admob module to Appcelerator app

转载 作者:太空宇宙 更新时间:2023-11-03 10:38:31 26 4
gpt4 key购买 nike

我正在 appcelerator studio 中创建应用程序。在我向其添加 admob 模块之前,它在我的 Android 6 Lenovo a7000 上正常运行。现在我收到这些错误:

[ERROR] :  linker: readlink('/proc/self/fd/21') failed: Permission denied [fd=21]
[ERROR] : linker: warning: unable to get realpath for the library "/data/app/com.techintegrity.ekko-1/lib/arm/libti.admob.so". Will use given name.
[ERROR] : TiApplication: (KrollRuntimeThread) [77,153] Sending event: exception on thread: KrollRuntimeThread msg:java.lang.UnsatisfiedLinkError: dlopen failed: /data/app/com.techintegrity.ekko-1/lib/arm/libti.admob.so: has text relocations; Titanium 5.2.0,2016/02/20 08:05,384775e
[ERROR] : TiApplication: java.lang.UnsatisfiedLinkError: dlopen failed: /data/app/com.techintegrity.ekko-1/lib/arm/libti.admob.so: has text relocations
[ERROR] : TiApplication: at java.lang.Runtime.loadLibrary(Runtime.java:372)
[ERROR] : TiApplication: at java.lang.System.loadLibrary(System.java:1076)
[ERROR] : TiApplication: at org.appcelerator.kroll.runtime.v8.V8Runtime.loadExternalModules(V8Runtime.java:132)
[ERROR] : TiApplication: at org.appcelerator.kroll.runtime.v8.V8Runtime.initRuntime(V8Runtime.java:99)
[ERROR] : TiApplication: at org.appcelerator.kroll.KrollRuntime.doInit(KrollRuntime.java:205)
[ERROR] : TiApplication: at org.appcelerator.kroll.KrollRuntime$KrollRuntimeThread.run(KrollRuntime.java:114)

我已经更新了所有东西:appcelerator studio、titanium sdk、node.js,但问题还是一样。发现很少有人有类似的错误,但对他们有用的东西似乎对我没有用。感谢您的帮助

最佳答案

将以下代码添加到您的 config.xml。

<property name="run-on-main-thread" type="bool">true</property>

这将解决问题

关于android - 读取链接 ('/proc/self/fd/21' ) 失败 : Permission denied [fd=21] error in Android 6 after adding Admob module to Appcelerator app,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38741679/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com