Realm可以成功导入,但是在运行app的时候报错
老师,你好,我使用的是AS2.3,Realm库是可以成功导入的,也可以调用里面的方法类等;但是在运行app的时候,直接报如下错误:
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:transformClassesWithRealmTransformerForDebug'.
> com.android.build.gradle.BaseExtension.getDefaultConfig()Lcom/android/build/gradle/internal/dsl/DefaultConfig;
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 10s
网上找了半天,和我的情况都不太一样,一直没有得到解决,有谁遇到过同样的问题吗