android - 检测到应用原生库的问题

标签 android sqlite xamarin.android

当我将目标 sdk 版本升级到 25 时,在使用该应用程序时会显示以下弹出窗口

enter image description here

在这个问题上我找不到任何合适的解决方案。任何帮助,将不胜感激。

最佳答案

如果你引用Xamarin Android 7.0 ,您可以找到以下语句:

Note: Due to a change by Google, Android N will now only permit linking to NDK-provided native libraries. libsqlite.so is not an NDK-provided native library. Consequently, existing apps using e.g. Mono.Data.Sqlite.dll will crash when running on Android N. This may include other SQLite-using assemblies, not distributed with Xamarin.Android.

但是最新sqlite-net-pcl 1.3.3已经修复了 Android N 原生库问题。因此,要解决此问题,您需要将项目的 Sqlite-net-pcl 更新到最新版本。

关于android - 检测到应用原生库的问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45165191/

相关文章:

linux - 如何从命令行在sqlite3中创建数据库

python - 具有外部数据库的 Sqlite 更新 Hook

sql - 让两个 SQLite 数据库互相引用

android - 使用 xamarin.forms 通过蓝牙打印机打印数据

android - 多个APK支持

android - 确保应用程序在按下后退按钮时关闭 Android

android - 将位图设置为我的布局背景

c# - 如何在 Xamarin 中使用数据库项填充 ListView?

c# - Java 到 C# : Extends in Generic

android - 当 Service 在调用 stopSelf() 后收到启动命令时会发生什么