问题描述
我正在尝试使用更新的插件和API运行旧的应用程序,但出现以下错误。
[2015-07-23 16:13:54 - DemoPia] Dx
trouble writing output: already prepared
[2015-07-23 16:13:58 - DemoPia] The library 'sqlite-native-driver.jar' contains native libraries that will not run on the device.
[2015-07-23 16:13:58 - DemoPia] Additionally some of those libraries will interfer with the installation of the application because of their location in lib/
[2015-07-23 16:13:58 - DemoPia] lib/ is reserved for NDK libraries.
[2015-07-23 16:13:58 - DemoPia] The following libraries were found:
[2015-07-23 16:13:58 - DemoPia] - lib/arm64-v8a/libsqlc-native-driver.so
[2015-07-23 16:13:58 - DemoPia] - lib/armeabi/libsqlc-native-driver.so
[2015-07-23 16:13:58 - DemoPia] - lib/armeabi-v7a/libsqlc-native-driver.so
[2015-07-23 16:13:58 - DemoPia] - lib/x86/libsqlc-native-driver.so
[2015-07-23 16:13:58 - DemoPia] - lib/x86_64/libsqlc-native-driver.so
我尝试点击链接,但仍然收到相同的错误。 有人可以帮我吗? 谢谢
1楼
如果仍然出现相同的错误,则库sqlite-native-driver.jar仍潜伏在您的libs目录中。 如您所链接到的所述,您必须执行以下步骤:
- 提取sqlite-native-driver.jar的内容(使用jar xf sqlite-native-driver.jar或jar xvf sqlite-native-driver.jar)
- 将从sqlite-native-driver.jar提取的lib目录的内容复制到libs目录中
- 确保从libs目录中删除sqlite-native-driver.jar,否则您将继续看到相同的错误
最后,我建议您彻底清除项目中的所有构建工件,然后在模拟器或设备上卸载应用程序。