[guardian-dev] I can't develop with sqlcipher - Android

Pablo Nahuel Ufor Laplaza nahuelul at gmail.com
Wed Jul 6 13:12:13 EDT 2011


Here is the all exception from the logcat....

07-06 17:06:11.114: ERROR/AndroidRuntime(308): FATAL EXCEPTION: main
07-06 17:06:11.114: ERROR/AndroidRuntime(308):
java.lang.ExceptionInInitializerError
07-06 17:06:11.114: ERROR/AndroidRuntime(308):     at
info.guardianproject.database.sqlcipher.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:107)
07-06 17:06:11.114: ERROR/AndroidRuntime(308):     at
com.leapfactor.UsuariosDBAdapter.open(UsuariosDBAdapter.java:61)
07-06 17:06:11.114: ERROR/AndroidRuntime(308):     at
com.leapfactor.PruebaActivity.onClick(PruebaActivity.java:50)
07-06 17:06:11.114: ERROR/AndroidRuntime(308):     at
android.view.View.performClick(View.java:2408)
07-06 17:06:11.114: ERROR/AndroidRuntime(308):     at
android.view.View$PerformClick.run(View.java:8816)
07-06 17:06:11.114: ERROR/AndroidRuntime(308):     at
android.os.Handler.handleCallback(Handler.java:587)
07-06 17:06:11.114: ERROR/AndroidRuntime(308):     at
android.os.Handler.dispatchMessage(Handler.java:92)
07-06 17:06:11.114: ERROR/AndroidRuntime(308):     at
android.os.Looper.loop(Looper.java:123)
07-06 17:06:11.114: ERROR/AndroidRuntime(308):     at
android.app.ActivityThread.main(ActivityThread.java:4627)
07-06 17:06:11.114: ERROR/AndroidRuntime(308):     at
java.lang.reflect.Method.invokeNative(Native Method)
07-06 17:06:11.114: ERROR/AndroidRuntime(308):     at
java.lang.reflect.Method.invoke(Method.java:521)
07-06 17:06:11.114: ERROR/AndroidRuntime(308):     at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
07-06 17:06:11.114: ERROR/AndroidRuntime(308):     at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
07-06 17:06:11.114: ERROR/AndroidRuntime(308):     at
dalvik.system.NativeStart.main(Native Method)
07-06 17:06:11.114: ERROR/AndroidRuntime(308): Caused by:
java.lang.UnsatisfiedLinkError: Library sqlcipher_android not found
07-06 17:06:11.114: ERROR/AndroidRuntime(308):     at
java.lang.Runtime.loadLibrary(Runtime.java:461)
07-06 17:06:11.114: ERROR/AndroidRuntime(308):     at
java.lang.System.loadLibrary(System.java:557)
07-06 17:06:11.114: ERROR/AndroidRuntime(308):     at
info.guardianproject.database.sqlcipher.SQLiteDatabase.<clinit>(SQLiteDatabase.java:78)
07-06 17:06:11.114: ERROR/AndroidRuntime(308):     ... 14 more

I don't know who are the steps for develop the android app, I only reference
the .jar files and put the folders like your example project, but dosn't
work.
Thank a lot!!

2011/7/6 Hans-Christoph Steiner <hans at at.or.at>

>
> Hey Pablo,
>
> Please post the full text of the exception here, and please keep this
> discussion on the guardian-dev list.  You can get the text of the
> exception by highlighting the lines in the logcat view and copy and
> pasting them into the email.
>
> .hc
>
> On Wed, 06 Jul 2011 12:39 -0300, "Pablo Nahuel Ufor Laplaza"
> <nahuelul at gmail.com> wrote:
> > Yes I see that, but i don't have that library. You develop an android
> > aplication.. I just reference the .jar libraries and put the rest of the
> > folders in my project... another exception is that can't found the dbopen
> > method... wath I'm doing wrong.. ?
> >
> > Thanks!!!
> >
> > 2011/7/6 Hans-Christoph Steiner <hans at at.or.at>
> >
> > >
> > > Hey Pablo,
> > >
> > > Looks like you are missing the sqlcipher_android.so in your project,
> see
> > > the second part of the exception: "Library sqlcipher_android not found"
> > >
> > >
> > > .hc
> > >
> > > On Wed, 06 Jul 2011 11:10 -0300, "Pablo Nahuel Ufor Laplaza"
> > > <nahuelul at gmail.com> wrote:
> > > > Hi guys, first of all, sorry for my english, I attached a screenshot
> with
> > > > the Android logcat, and the exceptio. In the left side you can see
> the
> > > > structure of the files (I try to copy from yours projects).
> > > > If you can help me with the steps from zero, that I need to do for
> > > > develop
> > > > an app for Android I was very very grateful.
> > > >
> > > > --
> > > > *Pablo Nahuel Ufor Laplaza*
> > > > *            Analista en Sistemas.*
> > > >
> > > > Twitter: @neldroid <http://twitter.com/#%21/neldroid>
> > > > LinkedIn: Perfil
> > > > Público<
> http://www.linkedin.com/pub/pablo-nahuel-ufor-laplaza/24/3b2/883
> > > >
> > > > Skipe: neldroidar
> > > >
> > > > _______________________________________________
> > > > Guardian-dev mailing list
> > > >
> > > > Post: Guardian-dev at lists.mayfirst.org
> > > > List info: https://lists.mayfirst.org/mailman/listinfo/guardian-dev
> > > >
> > > > To Unsubscribe
> > > >         Send email to:  Guardian-dev-unsubscribe at lists.mayfirst.org
> > > >         Or visit:
> > > >
> > >
> https://lists.mayfirst.org/mailman/options/guardian-dev/hans%40at.or.at
> > > >
> > > > You are subscribed as: hans at at.or.at
> > > >
> > > > Email had 1 attachment:
> > > > + Pantallazo.png
> > > >   282k (image/png)
> > >
> >
> >
> >
> > --
> > *Pablo Nahuel Ufor Laplaza*
> > *            Analista en Sistemas.*
> >
> > Twitter: @neldroid <http://twitter.com/#%21/neldroid>
> > LinkedIn: Perfil
> > Público<http://www.linkedin.com/pub/pablo-nahuel-ufor-laplaza/24/3b2/883
> >
> > Skipe: neldroidar
> >
>



-- 
*Pablo Nahuel Ufor Laplaza*
*            Analista en Sistemas.*

Twitter: @neldroid <http://twitter.com/#%21/neldroid>
LinkedIn: Perfil
Público<http://www.linkedin.com/pub/pablo-nahuel-ufor-laplaza/24/3b2/883>
Skipe: neldroidar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mayfirst.org/pipermail/guardian-dev/attachments/20110706/1f71b08b/attachment.htm>


More information about the Guardian-dev mailing list