Android 在Apache Cordova应用程序中使用SQLCipher

Android 在Apache Cordova应用程序中使用SQLCipher,android,sqlite,cordova,sqlcipher,Android,Sqlite,Cordova,Sqlcipher,我决定在cordova android应用程序中使用SQLCipher,以加密我的sqlite数据库。为了使用它,我遵循以下说明: 我在这里失败了: 将导入路径从android.database.sqlite.*更新为 net.sqlcipher.database.*在引用它的任何源文件中。这个 原始的android.database.Cursor仍然可以使用,不作更改 如上所述,在我添加buildpath并替换对importpath的所有引用之后,cordova-d build失败 Error

我决定在cordova android应用程序中使用
SQLCipher
,以加密我的sqlite数据库。为了使用它,我遵循以下说明:

我在这里失败了:

将导入路径从android.database.sqlite.*更新为 net.sqlcipher.database.*在引用它的任何源文件中。这个 原始的android.database.Cursor仍然可以使用,不作更改

如上所述,在我添加buildpath并替换对importpath的所有引用之后,
cordova-d build
失败

Error: /opt/lampp/htdocs/myapp/platforms/android/cordova/build: Command failed with exit code 2
at ChildProcess.whenDone (/usr/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:135:23)
at ChildProcess.emit (events.js:98:17)
at maybeClose (child_process.js:755:16)
at Process.ChildProcess._handle.onexit (child_process.js:822:5)

我能做什么?

尝试打开Android project。当Android更新失败时,此错误信息为常规信息。你会得到原点错误。。。