├── android-app
│ └── settings.gradle
│
├── android-lib
│ └── settings.gradle
│
├── build-logic
|── ── java-library-plugin
|── ── android-library-plugin
|── ── android-application-plugin
│ └── settings.gradle
│
├── platforms
│ └── settings.gradle
1、android-lib use android-library-plugin as an android library
2、android-app use android-application-plugin as an android app
3、android-app also use android-lib
I got error: No variants found for 'android-lib'. Check build files to ensure at least one variant exists.
The android-app can only use a lib which use a java-plugin or kotlin-plugin, just like the demo https://docs.gradle.org/current/userguide/structuring_software_products.html.
I check the SDT tools, it does not work.
What should i do to fix the error ?