Post

[Android] Could not launch inspector backgroundtask.inspection: Failed during instantiating inspector with id backgroundtask.inspection 오류

[Anroid] Could not launch inspector backgroundtask.inspection: Failed during instantiating inspector with id backgroundtask.inspection 오류

Room Database 사용 중 Database를 내용을 보기 위해 App Inspection을 열었지만 해당 오류가 발생했다.

해결 방법 : build.gradle.kts (Module : app) 파일에서 targetSdk 버전을 낮춰주면 해결된다.
1
2
3
4
5
6
7
8
9
10
11
12
13
android {
    namespace = "패키지 명"
    compileSdk = 34

    defaultConfig {
        applicationId = "패키지 명"
        minSdk = 21
        targetSdk = 33 // 34 -> 33으로 
        versionCode = 1
        versionName = "1.0"

    }
...
This post is licensed under CC BY 4.0 by the author.