{"action":"created","issue":{"url":"https://api.github.com/repos/realm/realm-js/issues/1187","repository_url":"https://api.github.com/repos/realm/realm-js","labels_url":"https://api.github.com/repos/realm/realm-js/issues/1187/labels{/name}","comments_url":"https://api.github.com/repos/realm/realm-js/issues/1187/comments","events_url":"https://api.github.com/repos/realm/realm-js/issues/1187/events","html_url":"https://github.com/realm/realm-js/issues/1187","id":248121514,"node_id":"MDU6SXNzdWUyNDgxMjE1MTQ=","number":1187,"title":"UnsatisfiedLinkError when trying to load RealmReactModule","user":{"login":"noobiehacker","id":3968317,"node_id":"MDQ6VXNlcjM5NjgzMTc=","avatar_url":"https://avatars3.githubusercontent.com/u/3968317?v=4","gravatar_id":"","url":"https://api.github.com/users/noobiehacker","html_url":"https://github.com/noobiehacker","followers_url":"https://api.github.com/users/noobiehacker/followers","following_url":"https://api.github.com/users/noobiehacker/following{/other_user}","gists_url":"https://api.github.com/users/noobiehacker/gists{/gist_id}","starred_url":"https://api.github.com/users/noobiehacker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noobiehacker/subscriptions","organizations_url":"https://api.github.com/users/noobiehacker/orgs","repos_url":"https://api.github.com/users/noobiehacker/repos","events_url":"https://api.github.com/users/noobiehacker/events{/privacy}","received_events_url":"https://api.github.com/users/noobiehacker/received_events","type":"User","site_admin":false},"labels":[{"id":247475514,"node_id":"MDU6TGFiZWwyNDc0NzU1MTQ=","url":"https://api.github.com/repos/realm/realm-js/labels/T:Help","name":"T:Help","color":"cc317c","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2017-08-04T21:27:40Z","updated_at":"2018-07-02T10:00:31Z","closed_at":"2017-08-28T08:18:04Z","author_association":"NONE","body":"Hello There\r\n\r\nWe have an Android app that uses both the Android Realm SDK and the React Native Realm SDK.\r\n\r\nOur app is in production and there are around 10 crashes ( <0.1% of users) that is related to `java.lang.UnsatisfiedLinkError`\r\n\r\nStacktrace \r\n\r\n`Caused by java.lang.UnsatisfiedLinkError\r\n\r\n java.lang.Runtime.load (Runtime.java:332)\r\n java.lang.System.load (System.java:1069)\r\n com.facebook.soloader.DirectorySoSource.loadLibraryFrom (DirectorySoSource.java:71)\r\n com.facebook.soloader.DirectorySoSource.loadLibrary (DirectorySoSource.java:42)\r\n com.facebook.soloader.SoLoader.loadLibraryBySoName (SoLoader.java:299)\r\n com.facebook.soloader.SoLoader.loadLibrary (SoLoader.java:247)\r\n io.realm.react.RealmReactModule. (RealmReactModule.java)\r\n io.realm.react.RealmReactPackage.createNativeModules (RealmReactPackage.java:15)\r\n\r\n com.facebook.react.NativeModuleRegistryBuilder.processPackage (NativeModuleRegistryBuilder.java:107)\r\n com.facebook.react.ReactInstanceManager.processPackage (ReactInstanceManager.java:1021)\r\n com.facebook.react.ReactInstanceManager.createReactContext (ReactInstanceManager.java:959)\r\n com.facebook.react.ReactInstanceManager.access$600 (ReactInstanceManager.java:108)\r\n com.facebook.react.ReactInstanceManager$ReactContextInitAsyncTask.doInBackground (ReactInstanceManager.java:225)\r\n\r\n com.facebook.react.ReactInstanceManager$ReactContextInitAsyncTask.doInBackground (ReactInstanceManager.java:203)\r\n android.os.AsyncTask$2.call (AsyncTask.java:295)\r\n java.util.concurrent.FutureTask.run (FutureTask.java:237)\r\n java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1113)\r\n java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:588)\r\n java.lang.Thread.run (Thread.java:818)`\r\n\r\nAndroid Realm Plugin : 'io.realm:realm-gradle-plugin:3.3.2'\r\nReact Realm Dependencies :  \"realm\": \"^1.8.3\"\r\n\r\nit seems like Facebook's `DirectorySoSource.java` file is trying to load in the RealmModule, but an UnsatisfiedLinkError has occurred.  What are some possible reasons of why such an error would be thrown??"},"comment":{"url":"https://api.github.com/repos/realm/realm-js/issues/comments/401744688","html_url":"https://github.com/realm/realm-js/issues/1187#issuecomment-401744688","issue_url":"https://api.github.com/repos/realm/realm-js/issues/1187","id":401744688,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMTc0NDY4OA==","user":{"login":"behiunforgiven","id":2098017,"node_id":"MDQ6VXNlcjIwOTgwMTc=","avatar_url":"https://avatars1.githubusercontent.com/u/2098017?v=4","gravatar_id":"","url":"https://api.github.com/users/behiunforgiven","html_url":"https://github.com/behiunforgiven","followers_url":"https://api.github.com/users/behiunforgiven/followers","following_url":"https://api.github.com/users/behiunforgiven/following{/other_user}","gists_url":"https://api.github.com/users/behiunforgiven/gists{/gist_id}","starred_url":"https://api.github.com/users/behiunforgiven/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/behiunforgiven/subscriptions","organizations_url":"https://api.github.com/users/behiunforgiven/orgs","repos_url":"https://api.github.com/users/behiunforgiven/repos","events_url":"https://api.github.com/users/behiunforgiven/events{/privacy}","received_events_url":"https://api.github.com/users/behiunforgiven/received_events","type":"User","site_admin":false},"created_at":"2018-07-02T10:00:31Z","updated_at":"2018-07-02T10:00:31Z","author_association":"NONE","body":"I have the same issue on 2.11.0"}}
{"actor":{"display_login":"behiunforgiven"}}