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
網上找了半天,和我的情況都不太一樣,一直沒有得到解決,有誰遇到過同樣的問題嗎