Error:Execution failed for task ':app:compileDebugJavaWithJavac'. > Compilation failed after extending RealmObject class
问题 I'm trying to learn Realm for Android and followed the installation instructions at https://realm.io/docs/java/latest/#installation. Project build.gradle file buildscript { repositories { jcenter() } dependencies { classpath 'com.android.tools.build:gradle:2.2.2' classpath "io.realm:realm-gradle-plugin:2.1.1" // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files } } allprojects { repositories { jcenter() } } task clean(type: