I need to create a separate application based on the first one, which will implement a slightly different functionality.

I read that for this you can create a separate module based on the previous one. But the problem is that the first module is compiled as apk, which does not allow using it as a dependency.

Then I created a separate library module where I transferred general dependencies to the build gradle and connected this module to 2 others. Android Studio finds classes, but for some reason the code is not executed.

Here is an example structure:

build.gradle from mylibrary: enter image description here

build.gradle core module enter image description here

  • Show whether it is the structure of the project and how you connected the modules in the city. And how do you call in the application code from the library - Yuriy SPb
  • one
    Gradle files are better text, not a picture. And you did not show where and how you call the code that is not executed - YuriSPb

0