Realm Causes My App To Crash When Trying To Build A Realmconfiguration
I'm trying to use Realm as a database for high scores in my app. However, when this line of code is called: realmConfig = new RealmConfiguration.Builder(getActivity().getApplicatio
Solution 1:
I am also using Gradle 2.1.2 and Realm is working perfectly fine, problem could be with Instant Run, Did you try loading the project without Instant Run? If not disable it(In Android studio -> Preferences -> Build, Execution, Deployment -> Instant Run), clean the project and run it again.
If it does not work, share the actual code where you are creating RealmConfiguration and using Realm.
Post a Comment for "Realm Causes My App To Crash When Trying To Build A Realmconfiguration"