Yes we will add support for shared code in separate module. Right now you
can have module but you cannot have inter-module dependencies.

On Wed, Jul 15, 2015 at 10:20 AM, Lance Okonowski <[email protected]
> wrote:

> I have been playing around with the new NDK & Gradle Plug in and have to
> say I'm quite impressed.
>
> Short Question: Is there going to be support for having a "shared" folder
> with logic, so I can share the logic between two different apps?
>
> Long question:
>
> One thing I am trying to do is create a "project" that I will use as my
> logic for my Android app and iOS app. My folder structure would look as
> followed
>
> /root
>    /android
>       /more folders
>    /shared
>       //shared code
>    /iOS
>       //iOS structure
>
>
> When I add the #include in the .h file under my android/<folders>/jni, it
> finds the shared folder code and intellisense finds my method; however, I
> get a linker error when I try to build it.
>
> Is this something that will be possibly supported in later versions of the
> NDK?
>
> Thanks for any feedback.
>
> Lance
>
> --
> You received this message because you are subscribed to the Google Groups
> "adt-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"adt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to