yoohoo
yoohoo

Reputation: 1217

Android Realm initial setup

I would like to start using Realm for android but i having problem setting it up. i follow the instructions located at https://realm.io/docs/java/latest/#getting-started but still doesnt work.
here is my gradle(project) enter image description here

here is my gradle (app) enter image description here

enter image description here

i create a class and extend RealmObject, android studio complains and give me message "Cannot revolve symbol Realmobject". here is a snaphot of my class enter image description here

my gradle are syncing up fine and there is no error while syncing but for some reason i am not able to start coding Realm object. can someone help me and tell me what i am doing wrong? im using android studio 3.1.3

Upvotes: 1

Views: 309

Answers (1)

yoohoo
yoohoo

Reputation: 1217

the problem is that apply plugin: 'realm-android' also needs to be added to gradle(feature) file

Upvotes: 1

Related Questions