"mylibrary" (this name must match the library name defined as an This declares a dependency on an Android library module named To include that in your App, you would have to write something like, compile project(':mylibrary') Say, you develop a Account Management Framework as a library module to be used ultimately in your App, you can do it as a separate module in the same project. Such as using the Leanback library for Android TV modules.īesides these, you can also have a "local library module". Studio creates device modules with recommended build configurations, Android Studio automatically creates moduleĭirectories, such as source and resource directories, and a defaultīadle file appropriate for the device type. By following a few simple steps in Android Studio, you canĬreate a module to contain code that's specific to a device type, suchĪs Wear OS or Android TV. Each module can be independently built, tested,Īndroid Studio uses modules to make it easy to add new devices to your From updated docs : Modules provide a container for your app's source code, resourceįiles, and app level settings, such as the module-level build file andĪndroid manifest file.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |