Fixed
Status Update
Comments
vm...@google.com <vm...@google.com>
aa...@google.com <aa...@google.com> #2
Task with name 'lintDebug' not found in project
What kind of project is this? (e.g., an app, library, dynamic-feature, or something else?)
aa...@google.com <aa...@google.com> #3
I see the same issue. It happens on a "com.android.application" (which would make the most sense since the OP reported using the property applicationVariants
)
my exact code is
android {
afterEvaluate {
// Run lint checks on every build
applicationVariants.configureEach {
val lintTask = tasks.named("lint${name.replaceFirstChar(Char::titlecase)}")
assembleProvider.dependsOn(lintTask)
}
}
}
an...@google.com <an...@google.com> #4
and fwiw I see the same issue using agp 8.3.x or 8.4.x
on...@gmail.com <on...@gmail.com> #5
Re #3 and #1, what command results in the error? I don't think it should matter much, because I assume this error occurs during configuration time, but I wasn't able to repro with ./gradlew assembeDebug
or ./gradlew assembleRelease
.
I tried to reproduce the bug with several different versions of AGP and Gradle (using code from #1 and #3), but I wasn't able to reproduce it.
Can you give repro steps or upload a repro project?
Description
####################################################
Please provide all of the following information, otherwise we may not be able to route your bug report.
####################################################
1. Describe the bug or issue that you're seeing.
I build and run android app on Physical or Virtual android device. Then proceed to open App inspection window, and select debuggable app and waited for a couple of minutes for database inspector to load. However nothing happens. See attached screenshot.
Also stopping and restarting inspection crashes the app See logcat dump.
App is debuggable and I am using a device running API level 34
2. Attach log files from Android Studio
2A. In the IDE, select the Help..Collect Logs and Diagnostic Data menu option.
2B. Create a diagnostic report and save it to your local computer.
2C. Attach the report to this bug using the Add attachments button.
3. If you know what they are, write the steps to reproduce:
3A. Build and run an android app on a physical device or emulator
3B. Open App inspection window
3C. Wait for a couple of minutes and Database Inspector fails to load
3D. Click stop inspection and restarting inspection by selecting a debuggable app crashes the app
In addition to logs, please attach a screenshot or recording that illustrates the problem.
For more information on how to get your bug routed quickly, see
Build: AI-241.18034.62.2412.12266719, 202408222329
AS: Koala Feature Drop | 2024.1.2
AI-241.18034.62.2412.12266719, JRE 17.0.11+0-17.0.11b1207.24-11852314x64 JetBrains s.r.o., OS Mac OS X(x86_64) v14.6.1, screens 1920.0x1080.0
Android Gradle Plugin: 8.6.0
Gradle: 8.7
Gradle JDK: Oracle OpenJDK 18.0.2
NDK: from local.properties: (not specified), latest from SDK: (not found)
CMake: from local.properties: (not specified), latest from SDK: (not found), from PATH: 3.30.2
```