Skip to content

接入了aspectjx,运行的时候报错 #83

@SkyWolf466

Description

@SkyWolf466

主工程build.gradle 中配置了classpath("io.github.wurensen:gradle-android-plugin-aspectjx:3.3.2")
主模块中依赖: implementation("org.aspectj:aspectjrt:1.9.7")
同时配置了:
aspectjx {
enabled = true
debug = true
exclude(
"androidx",
"com.google",
"com.squareup",
"com.alipay",
"com.taobao",
"org.gradle",
"org.apache",
"org.jetbrains.kotlin",
"module-info",
"versions.9"
)
// 移除kotlin相关,编译错误和提升速度
exclude("kotlin.jvm", "kotlin.internal")
exclude("kotlinx.coroutines.internal", "kotlinx.coroutines.android")
}

本地运行时候报错:lateinit property logger has not been initialized

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions