Fixed
Status Update
Comments
vi...@google.com <vi...@google.com>
tn...@google.com <tn...@google.com> #2
We have passed this to the development team and will update this issue with more information as it becomes available.
Description
AS 4.0
AGP 4.0
Gradle 6.5
attached sample project
Steps to repro:
1. create two modules: app and library module
2. place JavaApp extends android application, and KotlinApp extends JavaApp in library module
3. place App extends KotlinApp in app module
4. run gradlew app:lintDebug
AR:
build fails with App must extend android.app.Application [Instantiatable]
ER:
lint checks successfully finished
Note: if you convert JavaApp to kotlin, lint check will pass successfully. Also it is not reproducible if JavaApp/KotlinApp in the same app module