{"action":"created","issue":{"url":"https://api.github.com/repos/realm/realm-java/issues/1103","labels_url":"https://api.github.com/repos/realm/realm-java/issues/1103/labels{/name}","comments_url":"https://api.github.com/repos/realm/realm-java/issues/1103/comments","events_url":"https://api.github.com/repos/realm/realm-java/issues/1103/events","html_url":"https://github.com/realm/realm-java/issues/1103","id":74442679,"number":1103,"title":"Create 32-bit and 64-bit realm gradle targets","user":{"login":"roms","id":691180,"avatar_url":"https://avatars.githubusercontent.com/u/691180?v=3","gravatar_id":"","url":"https://api.github.com/users/roms","html_url":"https://github.com/roms","followers_url":"https://api.github.com/users/roms/followers","following_url":"https://api.github.com/users/roms/following{/other_user}","gists_url":"https://api.github.com/users/roms/gists{/gist_id}","starred_url":"https://api.github.com/users/roms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roms/subscriptions","organizations_url":"https://api.github.com/users/roms/orgs","repos_url":"https://api.github.com/users/roms/repos","events_url":"https://api.github.com/users/roms/events{/privacy}","received_events_url":"https://api.github.com/users/roms/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-05-08T17:50:58Z","updated_at":"2015-05-12T05:05:36Z","closed_at":null,"body":"We currently use\r\ncompile 'io.realm:realm-android:0.80.1'\r\nin our gradle build to get the latest Realm (which has a 64 bit support) library into our app, but as\r\n\r\nhttps://github.com/realm/realm-java/issues/1092\r\n\r\nindicates, since Lollipop, Android is not smart enough to automatically choose the lowest common denominator and also run Realm in 32 bit mode.\r\n\r\nSo we have had to use the individual jar and .so files as suggested in http://realm.io/news/reducing-apk-size-native-libraries/ to exclude the 64 bit native library from our app build. However, we'd much rather use gradle than resort to including the various jar/.so files."},"comment":{"url":"https://api.github.com/repos/realm/realm-java/issues/comments/101134002","html_url":"https://github.com/realm/realm-java/issues/1103#issuecomment-101134002","issue_url":"https://api.github.com/repos/realm/realm-java/issues/1103","id":101134002,"user":{"login":"cmelchior","id":406066,"avatar_url":"https://avatars.githubusercontent.com/u/406066?v=3","gravatar_id":"","url":"https://api.github.com/users/cmelchior","html_url":"https://github.com/cmelchior","followers_url":"https://api.github.com/users/cmelchior/followers","following_url":"https://api.github.com/users/cmelchior/following{/other_user}","gists_url":"https://api.github.com/users/cmelchior/gists{/gist_id}","starred_url":"https://api.github.com/users/cmelchior/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmelchior/subscriptions","organizations_url":"https://api.github.com/users/cmelchior/orgs","repos_url":"https://api.github.com/users/cmelchior/repos","events_url":"https://api.github.com/users/cmelchior/events{/privacy}","received_events_url":"https://api.github.com/users/cmelchior/received_events","type":"User","site_admin":false},"created_at":"2015-05-12T05:05:36Z","updated_at":"2015-05-12T05:05:36Z","body":"Hi @roms \r\nYes, it is a problem. The best approach would probably be Gradle plugin that could inspect all dependencies and remove arm64 binaries if needed, alternative we will look into distributing a arm32 only version.1"}}