couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Srinivasan Kumarasamy <kksr...@gmail.com>
Subject Re: CouchDB on Android 2,2 Emulator, installed successfully, but facing an issue.
Date Mon, 25 Oct 2010 15:19:15 GMT
Thank you Aaron.

I will try CouchDB on Android after building building the Android CouchDB
project using ndk_build script.

I will keep updating and may also contact you directly Aaron.

Thanks,
Srini



On Mon, Oct 25, 2010 at 12:07 PM, Aaron Miller <apage43@ninjawhale.com>wrote:

> Hey. The ASE component is included in that source tree, but you'll need to
> build it using the android NDK;
> http://developer.android.com/sdk/ndk/index.html
>
> <http://developer.android.com/sdk/ndk/index.html>In the NDK tree there is
> a
> script called ndk_build which you need to call from the root directory of
> the Android CouchDB project. It will build the native component and put it
> in the right place for eclipse to pick it up and package correctly.
> Also, you might want to contact me directly if you have any other issues
> with it :]
>
> On Fri, Oct 22, 2010 at 4:28 AM, Srinivasan Kumarasamy <kksrini@gmail.com
> >wrote:
>
> > Thank you.
> >
> > I will try installing ASE.
> >
> > Thanks,
> > Srini
> >
> > On Fri, Oct 22, 2010 at 11:52 AM, Christian Scharr <
> > Christian.Scharr@hsh-berlin.com> wrote:
> >
> > > "java.lang.UnsatisfiedLinkError: Library com_google_ase_Exec not found"
> > >
> > > It seems that a library needed by CouchDB to work properly (maybe to
> load
> > > the erlang interpreter) isn't present in your emulated environment...
> > > Probably you must install the Android Scripting Environment [ASE] (
> > > http://code.google.com/p/android-scripting/) in your Emulator before
> > > working with CouchDB.
> > >
> > > Please note: I'm no CouchDB-Developer so I don't know exactly what the
> > > Android CouchDB-Application is doing here...
> > > I just can interpret the error stacktrace you provided and try to help
> > get
> > > it up and running.
> > >
> > > Mit freundlichen Grüßen,
> > > Greets,
> > >
> > > Christian Scharr
> > > Dipl. Wirtschaftsinformatiker (BA)
> > > MESO-/InHouse-Entwicklung
> > > ----------
> > > HSH Soft- und Hardware Vertriebs GmbH
> > > Rudolf-Diesel-Straße 2
> > > 16356 Ahrensfelde
> > > Tel. (Zentrale): +49 (0)30/94 004 0
> > > Tel. (Hotline): +49 (0)30/94 004 444
> > > Fax: +49 (0)30/94 004 400
> > > eMail: christian.scharr@hsh-berlin.com
> > > ---
> > > Amtsgericht Frankfurt (Oder): HRB 7352 FF
> > > Geschäftsführer: Stephan Hauber
> > >
> > >
> > > > -----Original Message-----
> > > > From: Srinivasan Kumarasamy [mailto:kksrini@gmail.com]
> > > > Sent: Thursday, October 21, 2010 8:10 PM
> > > > To: dev@couchdb.apache.org
> > > > Subject: CouchDB on Android 2,2 Emulator, installed successfully, but
> > > > facing an issue.
> > > >
> > > > Hi,
> > > >
> > > > I got the source code from Github,
> > > > http://github.com/apage43/couch-android-launcher.git
> > > >
> > > > I built the project (Eclipse project) and I was able to install
> CouchDB
> > > > successfully on Android 2.2 Emulator.
> > > >
> > > > The CouchDB icon is shown on the top bar.
> > > >
> > > > When I start CouchDB, the screen shows two buttons, "Start CouchDB"
> and
> > > > "Stop CouchDB", clicking on "Start CouchDB" button displayed the
> > > > following
> > > > error message,
> > > >
> > > >
> -----------------------------------------------------------------------
> > > >
> -----------------------------------------------------------------------
> > > > -----------
> > > > *Sorry!
> > > >
> > > > "The application CouchDB (process org.couchdb.android) has stopped
> > > > unexpectedly. Please try again"*
> > > >
> -----------------------------------------------------------------------
> > > >
> -----------------------------------------------------------------------
> > > > -----------
> > > >
> > > > I think when the CouchDB  service is about to start, it is getting
> > > > closed. I
> > > > would like to basically ensure whether CouchDB is proper running, I
> > > > greatly
> > > > appreciate your help.
> > > >
> > > > Here is the log file from LogCat (DDMS perspective),
> > > >
> > > >
> -----------------------------------------------------------------------
> > > >
> -----------------------------------------------------------------------
> > > > -----------
> > > > ....
> > > > ....
> > > > 10-21 23:08:08.342: INFO/ActivityManager(59): Starting activity:
> Intent
> > > > {
> > > > act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER]
> > > > flg=0x10200000 cmp=org.couchdb.android/.CouchDB }
> > > > 10-21 23:08:08.812: INFO/ActivityManager(59): Displayed activity
> > > > org.couchdb.android/.CouchDB: 367 ms (total 367 ms)
> > > > 10-21 23:08:09.693: WARN/dalvikvm(1290): Exception
> > > > Ljava/lang/UnsatisfiedLinkError; thrown during
> > > > Lcom/google/ase/Exec;.<clinit>
> > > > 10-21 23:08:09.693: DEBUG/AndroidRuntime(1290): Shutting down VM
> > > > 10-21 23:08:09.701: WARN/dalvikvm(1290): threadid=1: thread exiting
> > > > with
> > > > uncaught exception (group=0x4001d800)
> > > > 10-21 23:08:09.723: ERROR/AndroidRuntime(1290): FATAL EXCEPTION: main
> > > > 10-21 23:08:09.723: ERROR/AndroidRuntime(1290):
> > > > java.lang.ExceptionInInitializerError
> > > > 10-21 23:08:09.723: ERROR/AndroidRuntime(1290):     at
> > > >
> org.couchdb.android.CouchService$CouchProcess.start(CouchService.java:3
> > > > 6)
> > > > 10-21 23:08:09.723: ERROR/AndroidRuntime(1290):     at
> > > > org.couchdb.android.CouchService.onStartCommand(CouchService.java:88)
> > > > 10-21 23:08:09.723: ERROR/AndroidRuntime(1290):     at
> > > >
> android.app.ActivityThread.handleServiceArgs(ActivityThread.java:3053)
> > > > 10-21 23:08:09.723: ERROR/AndroidRuntime(1290):     at
> > > > android.app.ActivityThread.access$3600(ActivityThread.java:125)
> > > > 10-21 23:08:09.723: ERROR/AndroidRuntime(1290):     at
> > > > android.app.ActivityThread$H.handleMessage(ActivityThread.java:2096)
> > > > 10-21 23:08:09.723: ERROR/AndroidRuntime(1290):     at
> > > > android.os.Handler.dispatchMessage(Handler.java:99)
> > > > 10-21 23:08:09.723: ERROR/AndroidRuntime(1290):     at
> > > > android.os.Looper.loop(Looper.java:123)
> > > > 10-21 23:08:09.723: ERROR/AndroidRuntime(1290):     at
> > > > android.app.ActivityThread.main(ActivityThread.java:4627)
> > > > 10-21 23:08:09.723: ERROR/AndroidRuntime(1290):     at
> > > > java.lang.reflect.Method.invokeNative(Native Method)
> > > > 10-21 23:08:09.723: ERROR/AndroidRuntime(1290):     at
> > > > java.lang.reflect.Method.invoke(Method.java:521)
> > > > 10-21 23:08:09.723: ERROR/AndroidRuntime(1290):     at
> > > >
> com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.j
> > > > ava:868)
> > > > 10-21 23:08:09.723: ERROR/AndroidRuntime(1290):     at
> > > > com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
> > > > 10-21 23:08:09.723: ERROR/AndroidRuntime(1290):     at
> > > > dalvik.system.NativeStart.main(Native Method)
> > > > 10-21 23:08:09.723: ERROR/AndroidRuntime(1290): Caused by:
> > > > java.lang.UnsatisfiedLinkError: Library com_google_ase_Exec not found
> > > > 10-21 23:08:09.723: ERROR/AndroidRuntime(1290):     at
> > > > java.lang.Runtime.loadLibrary(Runtime.java:461)
> > > > 10-21 23:08:09.723: ERROR/AndroidRuntime(1290):     at
> > > > java.lang.System.loadLibrary(System.java:557)
> > > > 10-21 23:08:09.723: ERROR/AndroidRuntime(1290):     at
> > > > com.google.ase.Exec.<clinit>(Exec.java:67)
> > > > 10-21 23:08:09.723: ERROR/AndroidRuntime(1290):     ... 13 more
> > > > 10-21 23:08:09.764: WARN/ActivityManager(59):   Force finishing
> > > > activity
> > > > org.couchdb.android/.CouchDB
> > > > 10-21 23:08:10.273: WARN/ActivityManager(59): Activity pause timeout
> > > > for
> > > > HistoryRecord{44037ed0 org.couchdb.android/.CouchDB}
> > > > 10-21 23:08:20.530: WARN/ActivityManager(59): Activity destroy
> timeout
> > > > for
> > > > HistoryRecord{44037ed0 org.couchdb.android/.CouchDB}
> > > > 10-21 23:08:29.592: WARN/ActivityManager(59): Timeout executing
> > > > service:
> > > > ServiceRecord{440581b8 org.couchdb.android/.CouchService}
> > > > 10-21 23:08:29.592: INFO/ActivityManager(59): Crashing app skipping
> > > > ANR:
> > > > ProcessRecord{43fb60f8 1290:org.couchdb.android/10033} Executing
> > > > service
> > > > org.couchdb.android/.CouchService
> > > > 10-21 23:10:12.663: INFO/Process(1290): Sending signal. PID: 1290
> SIG:
> > > > 9
> > > > 10-21 23:10:12.711: INFO/ActivityManager(59): Process
> > > > org.couchdb.android
> > > > (pid 1290) has died.
> > > > 10-21 23:10:12.711: WARN/ActivityManager(59): Scheduling restart of
> > > > crashed
> > > > service org.couchdb.android/.CouchService in 246240ms
> > > > 10-21 23:10:12.721: INFO/WindowManager(59): WIN DEATH:
> Window{4401df70
> > > > org.couchdb.android/org.couchdb.android.CouchDB paused=false}
> > > > 10-21 23:10:12.733: WARN/InputManagerService(59): Got RemoteException
> > > > sending setActive(false) notification to pid 1290 uid 10033
> > > > 10-21 23:12:31.922: INFO/ActivityManager(59): Starting activity:
> Intent
> > > > {
> > > > act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER]
> > > > flg=0x10200000 cmp=org.couchdb.android/.CouchDB }
> > > > 10-21 23:12:32.102: INFO/ActivityManager(59): Start proc
> > > > org.couchdb.android
> > > > for activity org.couchdb.android/.CouchDB: pid=1455 uid=10033
> > > > gids={3003,
> > > > 1015}
> > > > 10-21 23:12:32.873: INFO/ActivityManager(59): Displayed activity
> > > > org.couchdb.android/.CouchDB: 791 ms (total 791 ms)
> > > > 10-21 23:12:38.073: DEBUG/dalvikvm(116): GC_EXPLICIT freed 1063
> objects
> > > > /
> > > > 58880 bytes in 177ms
> > > > 10-21 23:12:52.102: DEBUG/SntpClient(59): request time failed:
> > > > java.net.SocketException: Address family not supported by protocol
> > > > 10-21 23:14:18.971: WARN/dalvikvm(1455): Exception
> > > > Ljava/lang/UnsatisfiedLinkError; thrown during
> > > > Lcom/google/ase/Exec;.<clinit>
> > > > 10-21 23:14:19.002: DEBUG/AndroidRuntime(1455): Shutting down VM
> > > > 10-21 23:14:19.002: WARN/dalvikvm(1455): threadid=1: thread exiting
> > > > with
> > > > uncaught exception (group=0x4001d800)
> > > > 10-21 23:14:19.013: ERROR/AndroidRuntime(1455): FATAL EXCEPTION: main
> > > > 10-21 23:14:19.013: ERROR/AndroidRuntime(1455):
> > > > java.lang.ExceptionInInitializerError
> > > > 10-21 23:14:19.013: ERROR/AndroidRuntime(1455):     at
> > > >
> org.couchdb.android.CouchService$CouchProcess.start(CouchService.java:3
> > > > 6)
> > > > 10-21 23:14:19.013: ERROR/AndroidRuntime(1455):     at
> > > > org.couchdb.android.CouchService.onStartCommand(CouchService.java:88)
> > > > 10-21 23:14:19.013: ERROR/AndroidRuntime(1455):     at
> > > >
> android.app.ActivityThread.handleServiceArgs(ActivityThread.java:3053)
> > > > 10-21 23:14:19.013: ERROR/AndroidRuntime(1455):     at
> > > > android.app.ActivityThread.access$3600(ActivityThread.java:125)
> > > > 10-21 23:14:19.013: ERROR/AndroidRuntime(1455):     at
> > > > android.app.ActivityThread$H.handleMessage(ActivityThread.java:2096)
> > > > 10-21 23:14:19.013: ERROR/AndroidRuntime(1455):     at
> > > > android.os.Handler.dispatchMessage(Handler.java:99)
> > > > 10-21 23:14:19.013: ERROR/AndroidRuntime(1455):     at
> > > > android.os.Looper.loop(Looper.java:123)
> > > > 10-21 23:14:19.013: ERROR/AndroidRuntime(1455):     at
> > > > android.app.ActivityThread.main(ActivityThread.java:4627)
> > > > 10-21 23:14:19.013: ERROR/AndroidRuntime(1455):     at
> > > > java.lang.reflect.Method.invokeNative(Native Method)
> > > > 10-21 23:14:19.013: ERROR/AndroidRuntime(1455):     at
> > > > java.lang.reflect.Method.invoke(Method.java:521)
> > > > 10-21 23:14:19.013: ERROR/AndroidRuntime(1455):     at
> > > >
> com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.j
> > > > ava:868)
> > > > 10-21 23:14:19.013: ERROR/AndroidRuntime(1455):     at
> > > > com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
> > > > 10-21 23:14:19.013: ERROR/AndroidRuntime(1455):     at
> > > > dalvik.system.NativeStart.main(Native Method)
> > > > 10-21 23:14:19.013: ERROR/AndroidRuntime(1455): Caused by:
> > > > java.lang.UnsatisfiedLinkError: Library com_google_ase_Exec not found
> > > > 10-21 23:14:19.013: ERROR/AndroidRuntime(1455):     at
> > > > java.lang.Runtime.loadLibrary(Runtime.java:461)
> > > > 10-21 23:14:19.013: ERROR/AndroidRuntime(1455):     at
> > > > java.lang.System.loadLibrary(System.java:557)
> > > > 10-21 23:14:19.013: ERROR/AndroidRuntime(1455):     at
> > > > com.google.ase.Exec.<clinit>(Exec.java:67)
> > > > 10-21 23:14:19.013: ERROR/AndroidRuntime(1455):     ... 13 more
> > > > 10-21 23:14:19.083: WARN/ActivityManager(59):   Force finishing
> > > > activity
> > > > org.couchdb.android/.CouchDB
> > > > 10-21 23:14:19.592: WARN/ActivityManager(59): Activity pause timeout
> > > > for
> > > > HistoryRecord{4403f650 org.couchdb.android/.CouchDB}
> > > > 10-21 23:14:29.901: WARN/ActivityManager(59): Activity destroy
> timeout
> > > > for
> > > > HistoryRecord{4403f650 org.couchdb.android/.CouchDB}
> > > > 10-21 23:14:38.962: WARN/ActivityManager(59): Timeout executing
> > > > service:
> > > > ServiceRecord{440581b8 org.couchdb.android/.CouchService}
> > > > 10-21 23:14:38.962: INFO/ActivityManager(59): Crashing app skipping
> > > > ANR:
> > > > ProcessRecord{4404a048 1455:org.couchdb.android/10033} Executing
> > > > service
> > > > org.couchdb.android/.CouchService
> > > > ....
> > > > ....
> > > >
> -----------------------------------------------------------------------
> > > >
> -----------------------------------------------------------------------
> > > > ------------
> > > >
> > > > Help me to ensure the proper installation and starting the CouchDB
> > > > service.
> > > >
> > > > Thanks,
> > > > Srini
> > >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message