Android Realm initial setup
up vote
0
down vote
favorite
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)
here is my gradle (app)
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
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
android installation realm
add a comment |
up vote
0
down vote
favorite
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)
here is my gradle (app)
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
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
android installation realm
Have your gradle sync went normal? Please, check if there was an error during sync. Also, the tutorial you mentioned only requires classpath and apply plugin, try removing the rest of your additions.
– Anhayt Ananun
Nov 10 at 22:04
yes, gradle sync went normal. no error. also i removed the rest of the additions and nothing. i added the additions because it was not working with classpath and plugin. any ideas?
– yoohoo
Nov 10 at 23:04
Realm 5+ needs Android-Adapters 3+, and you should follow the guide realm.io/docs/java/latest/…
– EpicPandaForce
Nov 10 at 23:40
hi EpicPandaForce, i changed adapter to 3+ and also follow guide. it is still not working. gradle compiles but i cannot use realm objects
– yoohoo
Nov 11 at 1:57
i found the problem. i need to add apply plugin: 'realm-android' to gradle(feature) file as well
– yoohoo
Nov 11 at 2:20
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
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)
here is my gradle (app)
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
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
android installation realm
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)
here is my gradle (app)
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
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
android installation realm
android installation realm
asked Nov 10 at 21:49
yoohoo
426
426
Have your gradle sync went normal? Please, check if there was an error during sync. Also, the tutorial you mentioned only requires classpath and apply plugin, try removing the rest of your additions.
– Anhayt Ananun
Nov 10 at 22:04
yes, gradle sync went normal. no error. also i removed the rest of the additions and nothing. i added the additions because it was not working with classpath and plugin. any ideas?
– yoohoo
Nov 10 at 23:04
Realm 5+ needs Android-Adapters 3+, and you should follow the guide realm.io/docs/java/latest/…
– EpicPandaForce
Nov 10 at 23:40
hi EpicPandaForce, i changed adapter to 3+ and also follow guide. it is still not working. gradle compiles but i cannot use realm objects
– yoohoo
Nov 11 at 1:57
i found the problem. i need to add apply plugin: 'realm-android' to gradle(feature) file as well
– yoohoo
Nov 11 at 2:20
add a comment |
Have your gradle sync went normal? Please, check if there was an error during sync. Also, the tutorial you mentioned only requires classpath and apply plugin, try removing the rest of your additions.
– Anhayt Ananun
Nov 10 at 22:04
yes, gradle sync went normal. no error. also i removed the rest of the additions and nothing. i added the additions because it was not working with classpath and plugin. any ideas?
– yoohoo
Nov 10 at 23:04
Realm 5+ needs Android-Adapters 3+, and you should follow the guide realm.io/docs/java/latest/…
– EpicPandaForce
Nov 10 at 23:40
hi EpicPandaForce, i changed adapter to 3+ and also follow guide. it is still not working. gradle compiles but i cannot use realm objects
– yoohoo
Nov 11 at 1:57
i found the problem. i need to add apply plugin: 'realm-android' to gradle(feature) file as well
– yoohoo
Nov 11 at 2:20
Have your gradle sync went normal? Please, check if there was an error during sync. Also, the tutorial you mentioned only requires classpath and apply plugin, try removing the rest of your additions.
– Anhayt Ananun
Nov 10 at 22:04
Have your gradle sync went normal? Please, check if there was an error during sync. Also, the tutorial you mentioned only requires classpath and apply plugin, try removing the rest of your additions.
– Anhayt Ananun
Nov 10 at 22:04
yes, gradle sync went normal. no error. also i removed the rest of the additions and nothing. i added the additions because it was not working with classpath and plugin. any ideas?
– yoohoo
Nov 10 at 23:04
yes, gradle sync went normal. no error. also i removed the rest of the additions and nothing. i added the additions because it was not working with classpath and plugin. any ideas?
– yoohoo
Nov 10 at 23:04
Realm 5+ needs Android-Adapters 3+, and you should follow the guide realm.io/docs/java/latest/…
– EpicPandaForce
Nov 10 at 23:40
Realm 5+ needs Android-Adapters 3+, and you should follow the guide realm.io/docs/java/latest/…
– EpicPandaForce
Nov 10 at 23:40
hi EpicPandaForce, i changed adapter to 3+ and also follow guide. it is still not working. gradle compiles but i cannot use realm objects
– yoohoo
Nov 11 at 1:57
hi EpicPandaForce, i changed adapter to 3+ and also follow guide. it is still not working. gradle compiles but i cannot use realm objects
– yoohoo
Nov 11 at 1:57
i found the problem. i need to add apply plugin: 'realm-android' to gradle(feature) file as well
– yoohoo
Nov 11 at 2:20
i found the problem. i need to add apply plugin: 'realm-android' to gradle(feature) file as well
– yoohoo
Nov 11 at 2:20
add a comment |
1 Answer
1
active
oldest
votes
up vote
1
down vote
the problem is that apply plugin: 'realm-android'
also needs to be added to gradle(feature) file
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
the problem is that apply plugin: 'realm-android'
also needs to be added to gradle(feature) file
add a comment |
up vote
1
down vote
the problem is that apply plugin: 'realm-android'
also needs to be added to gradle(feature) file
add a comment |
up vote
1
down vote
up vote
1
down vote
the problem is that apply plugin: 'realm-android'
also needs to be added to gradle(feature) file
the problem is that apply plugin: 'realm-android'
also needs to be added to gradle(feature) file
answered Nov 11 at 2:21
yoohoo
426
426
add a comment |
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53243746%2fandroid-realm-initial-setup%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Have your gradle sync went normal? Please, check if there was an error during sync. Also, the tutorial you mentioned only requires classpath and apply plugin, try removing the rest of your additions.
– Anhayt Ananun
Nov 10 at 22:04
yes, gradle sync went normal. no error. also i removed the rest of the additions and nothing. i added the additions because it was not working with classpath and plugin. any ideas?
– yoohoo
Nov 10 at 23:04
Realm 5+ needs Android-Adapters 3+, and you should follow the guide realm.io/docs/java/latest/…
– EpicPandaForce
Nov 10 at 23:40
hi EpicPandaForce, i changed adapter to 3+ and also follow guide. it is still not working. gradle compiles but i cannot use realm objects
– yoohoo
Nov 11 at 1:57
i found the problem. i need to add apply plugin: 'realm-android' to gradle(feature) file as well
– yoohoo
Nov 11 at 2:20