Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for 
change notification.

The "Installing_on_Android" page has been changed by MattAdams.
http://wiki.apache.org/couchdb/Installing_on_Android?action=diff&rev1=17&rev2=18

--------------------------------------------------

  
  == Caveats ==
  
-  * Please note that the following instructions for Android produce a build 
that mostly works but is not entirely bug free.  Any help tracking down and 
resolving problems with couchjs would be greatly appreciated.  From what I can 
tell these probably stem from ABI incompatibility with the version of 
Spidermonkey that is used.
+  * Please note that the following instructions for Android produce a build 
that mostly works but is not entirely bug free.  Any help tracking down and 
resolving problems with this procedure and the resulting build would be greatly 
appreciated.
  
+  * This build passes all of the Futon Test Suite with the exception of the 
"stats" test which fails with {{{Assertion failed: We managed to force a 
all_dbs_active error.}}}  Please help me to figure out why this is happening.  
A log of the failed test is available at 
http://friendpaste.com/5qtv7sGK4qpMmuC8HVc9U6_393637376332/raw.
+ 
-  * As alluded to below, I was unable to get Couch to agree to link with the 
static Spidermonkey library.  This is due to the fact that C++ support in more 
recent official releases of the Google SDK/NDK is lacking.  It would be 
preferable to link statically because it would remove the need for a separate 
file ({{{libmozjs.so}}}) and thus one less thing to go wrong (there are 
workarounds for the fact that we need to worry about dynamic linking with 
regards to the default couch query server, {{{couchjs}}}).
+  * As alluded to below, I was unable to get Couch to agree to link with the 
static Spidermonkey library.  This is due to the fact that C++ support in more 
recent official releases of the Google SDK/NDK is lacking.  It would be 
preferable to link statically because it would remove the need for a separate 
file ({{{libmozjs.so}}}) and thus one less thing to go wrong (there are several 
workarounds below & in related patches for the fact that we need to worry about 
dynamic linking with regards to the default couch query server, {{{couchjs}}}).
+ 
+  * Pay close attention to the instructions.  You will need to replace 
{{{com.your.namespace}}} with something appropriate for your project through 
the instructions below and in the related patches.  Also, '''if you are not 
producing an official build of Couch, be sure to configure Couch and the 
packaging steps to install it in somewhere other than''' {{{/sdcard/couch}}} 
'''to avoid clobbering the official builds'''.
  
  == Credits ==
  
@@ -18, +22 @@

  
  I used Java 1.5.0.22 to 
[[http://source.android.com/source/download.html|build Android from source]].  
You will also [[http://developer.android.com/sdk/index.html|need an SDK]] (I 
used r08).
  
- See 
[[https://github.com/couchone/couch-android-launcher|couch-android-launcher]] 
and [[https://github.com/couchone/libcouch-android|libcouch-android]] for the 
end-user Android application that will use the package produced by this build.  
Please note that {{{com.your.namespace}}} used throughout these instructions 
will need to be replaced with something appropriate.
+ See 
[[https://github.com/couchone/couch-android-launcher|couch-android-launcher]] 
and [[https://github.com/couchone/libcouch-android|libcouch-android]] for the 
end-user Android application that will use the package produced by this build.
  
  Supporting these builds are a number of helper scripts and patches: 
AndroidEnv, AndroidAgcc, AndroidCouchPatch, AndroidMozillaPatch, 
AndroidOtpPatch, AndroidReleasePatch, AndroidSdCardPatch
  

Reply via email to