{"action":"created","issue":{"url":"https://api.github.com/repos/realm/realm-java/issues/1387","repository_url":"https://api.github.com/repos/realm/realm-java","labels_url":"https://api.github.com/repos/realm/realm-java/issues/1387/labels{/name}","comments_url":"https://api.github.com/repos/realm/realm-java/issues/1387/comments","events_url":"https://api.github.com/repos/realm/realm-java/issues/1387/events","html_url":"https://github.com/realm/realm-java/issues/1387","id":100870282,"number":1387,"title":"Realm Unable to Generate Proxies on Android 4.4","user":{"login":"u3amar","id":4745689,"avatar_url":"https://avatars.githubusercontent.com/u/4745689?v=3","gravatar_id":"","url":"https://api.github.com/users/u3amar","html_url":"https://github.com/u3amar","followers_url":"https://api.github.com/users/u3amar/followers","following_url":"https://api.github.com/users/u3amar/following{/other_user}","gists_url":"https://api.github.com/users/u3amar/gists{/gist_id}","starred_url":"https://api.github.com/users/u3amar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/u3amar/subscriptions","organizations_url":"https://api.github.com/users/u3amar/orgs","repos_url":"https://api.github.com/users/u3amar/repos","events_url":"https://api.github.com/users/u3amar/events{/privacy}","received_events_url":"https://api.github.com/users/u3amar/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-08-13T21:11:25Z","updated_at":"2016-02-25T17:50:25Z","closed_at":"2015-08-13T21:22:12Z","body":"I've been using Realm in my project for the past month or so and it's worked great. \r\n\r\nHowever, I recently needed to support multipart forms using Volley, which requires that I add httpcore-4.4.1 and httpmime-4.5 to my project (compile \"org.apache.httpcomponents:httpmime:4.2.3\" and compile group: 'org.apache.httpcomponents' , name: 'httpclient-android' , version: '4.3.5').\r\n\r\nWhen I run on Android 5.0, everything works fine. When I try on Android 4.4, I get a run time error that says that Realm wasn't able to generate proxy classes:\r\n\r\n8-13 13:43:53.206  14577-14577/com.aluvi.android.dev E/dalvikvm﹕ Could not find class 'io.realm.RiderRealmProxy', referenced from method io.realm.DefaultRealmModuleMediator.newInstance\r\n08-13 13:43:53.206  14577-14577/com.aluvi.android.dev E/dalvikvm﹕ Could not find class 'io.realm.RouteRealmProxy', referenced from method io.realm.DefaultRealmModuleMediator.newInstance\r\n08-13 13:43:53.206  14577-14577/com.aluvi.android.dev E/dalvikvm﹕ Could not find class 'io.realm.CarRealmProxy', referenced from method io.realm.DefaultRealmModuleMediator.newInstance\r\n08-13 13:43:53.206  14577-14577/com.aluvi.android.dev E/dalvikvm﹕ Could not find class 'io.realm.LocationWrapperRealmProxy', referenced from method io.realm.DefaultRealmModuleMediator.newInstance\r\n08-13 13:43:53.206  14577-14577/com.aluvi.android.dev E/dalvikvm﹕ Could not find class 'io.realm.FareRealmProxy', referenced from method io.realm.DefaultRealmModuleMediator.newInstance\r\n08-13 13:43:53.206  14577-14577/com.aluvi.android.dev E/dalvikvm﹕ Could not find class 'io.realm.DriverRealmProxy', referenced from method io.realm.DefaultRealmModuleMediator.newInstance\r\n08-13 13:43:53.206  14577-14577/com.aluvi.android.dev E/dalvikvm﹕ Could not find class 'io.realm.TicketRealmProxy', referenced from method io.realm.DefaultRealmModuleMediator.newInstance\r\n08-13 13:43:53.211  14577-14577/com.aluvi.android.dev E/dalvikvm﹕ Could not find class 'io.realm.PaymentRealmProxy', referenced from method io.realm.DefaultRealmModuleMediator.newInstance\r\n08-13 13:43:53.211  14577-14577/com.aluvi.android.dev E/dalvikvm﹕ Could not find class 'io.realm.TripRealmProxy', referenced from method io.realm.DefaultRealmModuleMediator.newInstance\r\n08-13 13:43:53.211  14577-14577/com.aluvi.android.dev E/dalvikvm﹕ Could not find class 'io.realm.ProfileRealmProxy', referenced from method io.realm.DefaultRealmModuleMediator.newInstance\r\n08-13 13:43:54.771  14577-14632/? E/GooglePlayServicesUtil﹕ The Google Play services resources were not found. Check your project configuration to ensure that the resources are included.\r\n08-13 13:43:55.041  14577-14577/? E/AndroidRuntime﹕ FATAL EXCEPTION: main\r\n    Process: com.aluvi.android.dev, PID: 14577\r\n    java.lang.NoClassDefFoundError: io.realm.RiderRealmProxy\r\n            at io.realm.DefaultRealmModuleMediator.validateTable(DefaultRealmModuleMediator.java:81)\r\n            at io.realm.Realm.initializeRealm(Realm.java:698)\r\n            at io.realm.Realm.createAndValidate(Realm.java:629)\r\n            at io.realm.Realm.create(Realm.java:564)\r\n            at io.realm.Realm.getInstance(Realm.java:537)\r\n            at com.aluvi.android.application.AluviRealm.<init>(AluviRealm.java:32)\r\n            at com.aluvi.android.application.AluviRealm.initialize(AluviRealm.java:27)\r\n            at com.aluvi.android.application.AluviApplication.onCreate(AluviApplication.java:28)\r\n            at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1025)\r\n            at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4581)\r\n            at android.app.ActivityThread.access$1600(ActivityThread.java:161)\r\n            at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1325)\r\n            at android.os.Handler.dispatchMessage(Handler.java:102)\r\n            at android.os.Looper.loop(Looper.java:157)\r\n            at android.app.ActivityThread.main(ActivityThread.java:5356)\r\n            at java.lang.reflect.Method.invokeNative(Native Method)\r\n            at java.lang.reflect.Method.invoke(Method.java:515)\r\n            at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1265)\r\n            at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1081)\r\n            at dalvik.system.NativeStart.main(Native Method)\r\n\r\nI am running Android Studio 1.3 RC4, am on OS X 10.10.3, and have tried adding the @RealmClass annotation to all my classes.\r\n\r\nHelp would be much appreciated!"},"comment":{"url":"https://api.github.com/repos/realm/realm-java/issues/comments/188901951","html_url":"https://github.com/realm/realm-java/issues/1387#issuecomment-188901951","issue_url":"https://api.github.com/repos/realm/realm-java/issues/1387","id":188901951,"user":{"login":"derohimat","id":3787041,"avatar_url":"https://avatars.githubusercontent.com/u/3787041?v=3","gravatar_id":"","url":"https://api.github.com/users/derohimat","html_url":"https://github.com/derohimat","followers_url":"https://api.github.com/users/derohimat/followers","following_url":"https://api.github.com/users/derohimat/following{/other_user}","gists_url":"https://api.github.com/users/derohimat/gists{/gist_id}","starred_url":"https://api.github.com/users/derohimat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derohimat/subscriptions","organizations_url":"https://api.github.com/users/derohimat/orgs","repos_url":"https://api.github.com/users/derohimat/repos","events_url":"https://api.github.com/users/derohimat/events{/privacy}","received_events_url":"https://api.github.com/users/derohimat/received_events","type":"User","site_admin":false},"created_at":"2016-02-25T17:50:25Z","updated_at":"2016-02-25T17:50:25Z","body":"resolved.\r\ni just error query\r\n\r\nthanks @VedavyasBhatNomadly :+1: "}}