--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-ndk+unsubscribe@googlegroups.com.
To post to this group, send email to andro...@googlegroups.com.
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/0cdc11fe-de8a-4667-bb96-eab2121d3ecd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
On Tue, Oct 3, 2017 at 5:16 AM, Martin <mart...@live.com> wrote:
I am running Android O on my AOSP, with Android.mk environment. I have added the C++ part and Java part correctly so that Android Native JNI should work properly. The problem is that it cannot open the generated jni lib, which is placed in /system/lib64. It is finding it but I get dlopen failed:needed or dlopened by "/system/lib/libnativeloader.so" is not accessible for the namespace: [name="classloader-namespace", ld_library_paths="", default_library_paths="", permitted_paths="/data:/mnt/expand"]I have seen this problem in this group before, but the answer was that you cannot open system libs anymore in android >23. Source: https://developer.android.com/about/versions/nougat/android-7.0-changes.html#ndkThen my question is: Where should I put this lib then, and would that solve the problem? Or are there any other solutions to this?Thanks!
--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-ndk...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to android-ndk+unsubscribe@googlegroups.com.
To post to this group, send email to andro...@googlegroups.com.
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/88edbd09-6565-4672-8955-afce94c03b7d%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/CAA2GJqXstfyArGUiSD24MF5KtZnOebA%3D%2B%3DKJm5csa3zu6ZbFdw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/88edbd09-6565-4672-8955-afce94c03b7d%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-ndk...@googlegroups.com.
To post to this group, send email to andro...@googlegroups.com.
Visit this group at https://groups.google.com/group/android-ndk.
Is there a workaround for this? I mean if you cannot load the system libs, how else would you be able to use jni ndk?
To unsubscribe from this group and stop receiving emails from it, send an email to android-ndk+unsubscribe@googlegroups.com.
To post to this group, send email to andro...@googlegroups.com.
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/eb069e69-1791-47d6-8dd7-03a501ea6c0c%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to android-ndk+unsubscribe@googlegroups.com.
To post to this group, send email to andro...@googlegroups.com.
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/2126335f-bf61-4136-995c-56baf3e8a7aa%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to android-ndk+unsubscribe@googlegroups.com.
To post to this group, send email to andro...@googlegroups.com.
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/1e77cd93-42c3-4eb8-8c17-a4b82bcae6c1%40googlegroups.com.