It\'s good to have a Updated Android Studio 3.0. But I am facing a problem with Android Studio 3.0, I just created a new project in
I had the same issue and I solved it by changing apply plugin: 'com.android.application'
to apply plugin: 'com.android.library'
Regarding my issue, it was a little bit different from yours. I have the second module with android library and from android developers page under the section "Convert an app module to a library module". My guess is that it is related to managing Manifest files inside of the architecture, so Android will know where is the main Manifest file.
And regarding api
and implementation
, the answer can be found here
The api configuration should be used to declare dependencies which are exported by the library API, whereas the implementation configuration should be used to declare dependencies which are internal to the component.