This will create a CBL library project in Android Studio which of course allows editing of the source.
1b. Then in any other project/app, simply make that project dependent on the CBL github project! The same CBL lib project (with any custom modifications, breakpoints, etc) becomes available to any Android project I wish.
1c. Android Studio (3.x) offers to automatically install missing components, including ndk.
Currently, this almost works. But AS complains about it not being correctly setup for Gradle.
So a little bit of [happy] Gradle at the aforementioned git url, and you have greatly simplified including (native) cbl sources, reusable, in any Android Studio project.
All of the instructions on
https://developer.couchbase.com/documentation/mobile/2.0/guides/couchbase-lite/tech-notes/index.html?language=java can currently be streamlined -and elimenated- to automatically be included in any of my projects (providing you have correct Gradle scripts) at the Github link as follows:
That's it! Nothing else to do!
This will create a CBL library project in Android Studio which of course allows editing of the source. 1b. Then in any other project/app, simply make that project dependent on the CBL github project! The same CBL lib project (with any custom modifications, breakpoints, etc) becomes available to any Android project I wish. 1c. Android Studio (3.x) offers to automatically install missing components, including ndk.
Currently, this almost works. But AS complains about it not being correctly setup for Gradle. So a little bit of [happy] Gradle at the aforementioned git url, and you have greatly simplified including (native) cbl sources, reusable, in any Android Studio project.