couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Srinivasan Kumarasamy <kksr...@gmail.com>
Subject CouchDB on Android 2,2 Emulator, installed successfully, but facing an issue.
Date Thu, 21 Oct 2010 18:10:23 GMT
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:36)
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.java: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:36)
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.java: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