-
Notifications
You must be signed in to change notification settings - Fork 204
Android 7.0+ linking to private platform libraries #117
Comments
I have the exact same problem. Getting the logcat warnings is OK for now (until the tango libraries are made properly Android N compatible), but how can I prevent the annoying dialog box? |
It seems like the popup disappears when compiling in Release mode. |
Thank you for your feedback, can you provide more information if your are using cmake or ndk-build? And where you defined this release mode? (Android Studio, Gradle) Cause i also set the CMAKE_BUILD_TYPE on 'Release' and nothing changed. Additionally i was able to create a workaround based on a stackoverflow response. EDIT: |
I also use cmake, I set release mode through Android Studio. My
It might be the signed APK that is important here, as you say, not the compiling in Release mode. I have not made any efforts trying to support API level 24+, I am hoping a future release of |
After we got our ASUS Zenfone AR we recognized, that warnings were generated caused by the changes to the access of private ndk libraries in future android releases.
Not only our own application is triggering this warning also every example project. Beside this annoying dialog, we want that our application runs also with future android releases.
The guide provided here:
https://developer.android.com/about/versions/nougat/android-7.0-changes.html#ndk
was not very helpful.
"You should update your app to include its own copy of those libraries " - from my unexperienced perspective i don't know how to get a copy of those libraries. Additionally i should say that we use cmake as a build tool, but like said, the warning dialog appears also with the examples which are build with ndk-build tool.
Maybe anyone knows how to get this working, cause other tango applications from the store don't trigger this dialog.
The text was updated successfully, but these errors were encountered: