wurensen / gradle_plugin_android_aspectjx

A Android gradle plugin that effects AspectJ on Android project and can hook methods in Kotlin, aar and jar file.
Apache License 2.0
365 stars 51 forks source link

org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:transformClassesWithAjxForCheckDebug' #35

Closed virgoshuo closed 2 years ago

virgoshuo commented 2 years ago

没有在build/outputs/logs目录下找到ajcore的日志文件

编译没有报错是在运行时出错了

错误信息如下: Execution failed for task ':app:transformClassesWithAjxForCheckDebug'.

java.util.concurrent.ExecutionException: org.gradle.api.GradleException: applying to join point that doesn't return void: method-execution(int com.xxx.xxx.xxx.WebHttpUtils.getResponseCode(java.lang.String))

wurensen commented 2 years ago

@virgoshuo 就是织入发生错误了。看样子像是你相关织入代码写得有问题。