-
Notifications
You must be signed in to change notification settings - Fork 266
Errors in gradle
JingYeoh edited this page Feb 24, 2018
·
3 revisions
First, please check Instant Run
is already turned off.
1. Error:Execution failed for task ':app:transformClassesWithAspectTransformForDebug'.org/aspectj/bridge/MessageHandler
add in
root gradle
.
classpath 'org.aspectj:aspectjtools:1.8.13'
Please confirm whether the class is added @Puppet
annotation and Instant Run
is already turned off.
Generally, this error is caused by using java8
in your project.
First,check your
root gradle
.
classpath 'org.aspectj:aspectjtools:1.8.13'
classpath 'com.hujiang.aspectjx:gradle-android-plugin-aspectjx:1.1.1'
If you need use
jack
//root build.gradle
classpath 'org.aspectj:aspectjtools:1.8.13'
classpath 'com.hujiang.aspectjx:gradle-android-plugin-aspectjx:1.1.1'
classpath 'me.tatarka:gradle-retrolambda:3.5.0'
//application build.gradle
apply plugin: 'me.tatarka.retrolambda'
apply plugin: 'android-aspectjx'
android{
jackOptions {
enabled false
}
}
Missing javaCompileTask for variant
please update your retrolambda
version.
classpath 'me.tatarka:gradle-retrolambda:3.7.0'
- Installation
- Using start
- Fragment usage
- Custom fragment tag
- Lazy loading
- Transition animations
- Intercept onBackPressed
- startFragmentForResult
- Swipe edge to exit
- How to use in library module