Oh, I think I know what's going on .. you need to "flatten" the submodules.


It looks like you are trying to include couchbase-lite-java-core as a
"submodule of a submodule", but that doesn't work.  I actually ran into the
same thing and started a thread about it on the ADT-dev
list<https://groups.google.com/forum/#!topic/adt-dev/IHGDWoH7KYc>
.

I think your settings.gradle should look like
this<https://github.com/couchbase/couchbase-lite-android-liteserv/blob/master/settings.gradle>
.

include ':yourproject',
        ':libraries:couchbase-lite-android-ektorp',
        ':libraries:couchbase-lite-java-core',  
        ':libraries:couchbase-lite-android',    

and you would need to have the couchbase-lite-android-ektorp,
couchbase-lite-java-core, and couchbase-lite-android projects in the
libraries subdirectory.






On Tue, Feb 25, 2014 at 11:42 AM, Ron Williams <[email protected]>wrote:

> The project itself builds fine. It's when attempting to include it as a
> submodule to my project that I run into issues.
>
>
> On Tuesday, February 25, 2014 11:16:18 AM UTC-8, Traun Leyden wrote:
>
>> It's working for me locally (commit f7bfd647 - running ./gradlew build)
>>
>> Can you compare your directory stucture?
>>
>> tree command up to 4 levels deep: 
>> https://gist.github.com/tleyden/9215548<https://www.google.com/url?q=https%3A%2F%2Fgist.github.com%2Ftleyden%2F9215548&sa=D&sntz=1&usg=AFQjCNF6dOLU31SOFO_VyRC110sF9YlKCw>
>>
>> tree command to max depth: https://gist.github.com/tleyden/9215525
>>
>> After a fresh git clone you should run "git submodule init && git
>> submodule update"
>>
>> Which commit are you on?
>>
>>
>>
>> On Tue, Feb 25, 2014 at 11:01 AM, Ron Williams <[email protected]>wrote:
>>
>>> I'm trying to use couchbase-lite-android-ektorp in a project and when
>>> attempting to build I keep getting
>>>
>>> *Project with path
>>> ':couchbase-lite-android-ektorp:libraries:couchbase-lite-java-core' could
>>> not be found in project ':libraries:couchbase-lite-android-ektorp'*
>>>
>>> I've init the submodules for couchbase-lite-android-ektorp so the
>>> projects are physically there. Am I missing something?
>>>
>>> Thanks,
>>> Ron
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Couchbase Mobile" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>>
>>> To view this discussion on the web visit https://groups.google.com/d/
>>> msgid/mobile-couchbase/4a23b492-c63e-4e61-8e6c-
>>> 4ad7874206e4%40googlegroups.com.
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>
>>  --
> You received this message because you are subscribed to the Google Groups
> "Couchbase Mobile" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/mobile-couchbase/71647309-4453-44fc-8268-c040f2303912%40googlegroups.com
> .
>
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/CACSSHCGK6rS18k9BFJ9Y9BEXV_a%3DPPLWH14PywfFb0aknQhuNw%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to