Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 71219 invoked from network); 25 Oct 2010 15:19:42 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 25 Oct 2010 15:19:42 -0000 Received: (qmail 78710 invoked by uid 500); 25 Oct 2010 15:19:42 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 78661 invoked by uid 500); 25 Oct 2010 15:19:40 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 78653 invoked by uid 99); 25 Oct 2010 15:19:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Oct 2010 15:19:40 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of kksrini@gmail.com designates 209.85.216.173 as permitted sender) Received: from [209.85.216.173] (HELO mail-qy0-f173.google.com) (209.85.216.173) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Oct 2010 15:19:36 +0000 Received: by qyl33 with SMTP id 33so1487309qyl.11 for ; Mon, 25 Oct 2010 08:19:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=orXvhmpgpbUzuoM4+/Y6wD2XedQwmcotZ1XsSRUGPQ8=; b=V4wbOgkjrNihwSMwETE1rcBMer3YwG4/2tBbJdl+su37Xn7rUD9k788h/BtgpBO0Ck NDSbktyO93eCr+mwrJ8QdXOMrGwRcDHcBUfIMsd7RLETVaI8zXJv0Fxnt9UKe+QDV4HZ 7tmKauH7f9oyhLO/pV7CmzKbZ1ETk4vrcXraE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=qEW9IWnBWQ3gosrsqK4VLVK8MGHaRF9cfHV+9xBDDbUvekYXmtRt+Sb2vmTQSL+55W ybVUIsZ6/BzQdXKECKX8AJHChecFYCZ6hv03+Asj389XzDxVTLC+eyR5vwQIPueGCQiw ms7qFZ+vx+ZaKkUaIcCrHTDFxm37cIq0LBOUg= MIME-Version: 1.0 Received: by 10.224.215.201 with SMTP id hf9mr341942qab.9.1288019955273; Mon, 25 Oct 2010 08:19:15 -0700 (PDT) Received: by 10.229.238.79 with HTTP; Mon, 25 Oct 2010 08:19:15 -0700 (PDT) In-Reply-To: References: <90CB5CA789C0FA4790AFF138ACA1BFB177E8E7@postmaster.hsh-berlin.com> Date: Mon, 25 Oct 2010 20:49:15 +0530 Message-ID: Subject: Re: CouchDB on Android 2,2 Emulator, installed successfully, but facing an issue. From: Srinivasan Kumarasamy To: dev@couchdb.apache.org Content-Type: multipart/alternative; boundary=20cf300515cae5d15104937283c0 --20cf300515cae5d15104937283c0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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 wrot= e: > Hey. The ASE component is included in that source tree, but you'll need t= o > build it using the android NDK; > 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 i= t > 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 >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 foun= d" > > > > > > 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 th= e > > > Android CouchDB-Application is doing here... > > > I just can interpret the error stacktrace you provided and try to hel= p > > get > > > it up and running. > > > > > > Mit freundlichen Gr=FC=DFen, > > > Greets, > > > > > > Christian Scharr > > > Dipl. Wirtschaftsinformatiker (BA) > > > MESO-/InHouse-Entwicklung > > > ---------- > > > HSH Soft- und Hardware Vertriebs GmbH > > > Rudolf-Diesel-Stra=DFe 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=E4ftsf=FChrer: 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, b= ut > > > > 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=3Dandroid.intent.action.MAIN cat=3D[android.intent.category.LAU= NCHER] > > > > flg=3D0x10200000 cmp=3Dorg.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;. > > > > 10-21 23:08:09.693: DEBUG/AndroidRuntime(1290): Shutting down VM > > > > 10-21 23:08:09.701: WARN/dalvikvm(1290): threadid=3D1: thread exiti= ng > > > > with > > > > uncaught exception (group=3D0x4001d800) > > > > 10-21 23:08:09.723: ERROR/AndroidRuntime(1290): FATAL EXCEPTION: ma= in > > > > 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:8= 8) > > > > 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 fou= nd > > > > 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.(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 timeou= t > > > > 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=3Dfalse} > > > > 10-21 23:10:12.733: WARN/InputManagerService(59): Got RemoteExcepti= on > > > > sending setActive(false) notification to pid 1290 uid 10033 > > > > 10-21 23:12:31.922: INFO/ActivityManager(59): Starting activity: > Intent > > > > { > > > > act=3Dandroid.intent.action.MAIN cat=3D[android.intent.category.LAU= NCHER] > > > > flg=3D0x10200000 cmp=3Dorg.couchdb.android/.CouchDB } > > > > 10-21 23:12:32.102: INFO/ActivityManager(59): Start proc > > > > org.couchdb.android > > > > for activity org.couchdb.android/.CouchDB: pid=3D1455 uid=3D10033 > > > > gids=3D{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;. > > > > 10-21 23:14:19.002: DEBUG/AndroidRuntime(1455): Shutting down VM > > > > 10-21 23:14:19.002: WARN/dalvikvm(1455): threadid=3D1: thread exiti= ng > > > > with > > > > uncaught exception (group=3D0x4001d800) > > > > 10-21 23:14:19.013: ERROR/AndroidRuntime(1455): FATAL EXCEPTION: ma= in > > > > 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:8= 8) > > > > 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 fou= nd > > > > 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.(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 timeou= t > > > > 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 > > > > > > --20cf300515cae5d15104937283c0--