{"action":"created","issue":{"url":"https://api.github.com/repos/xeodou/react-native-player/issues/3","labels_url":"https://api.github.com/repos/xeodou/react-native-player/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/xeodou/react-native-player/issues/3/comments","events_url":"https://api.github.com/repos/xeodou/react-native-player/issues/3/events","html_url":"https://github.com/xeodou/react-native-player/issues/3","id":117983724,"number":3,"title":"An error occurs when compiling the apk file","user":{"login":"kitolog","id":781366,"avatar_url":"https://avatars.githubusercontent.com/u/781366?v=3","gravatar_id":"","url":"https://api.github.com/users/kitolog","html_url":"https://github.com/kitolog","followers_url":"https://api.github.com/users/kitolog/followers","following_url":"https://api.github.com/users/kitolog/following{/other_user}","gists_url":"https://api.github.com/users/kitolog/gists{/gist_id}","starred_url":"https://api.github.com/users/kitolog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kitolog/subscriptions","organizations_url":"https://api.github.com/users/kitolog/orgs","repos_url":"https://api.github.com/users/kitolog/repos","events_url":"https://api.github.com/users/kitolog/events{/privacy}","received_events_url":"https://api.github.com/users/kitolog/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-11-20T07:41:45Z","updated_at":"2015-12-09T07:50:49Z","closed_at":null,"body":"Hi, when I'm running gradlew assembleRelease, I got this error:\r\n.../node_modules/react-native-player/android/player/src/main/java/com/xeodou/rctplayer/ReactAudio.java:203: error: cannot find symbol\r\n    public void onLoadCompleted(int sourceId, long bytesLoaded, int type, int trigger, Format format,\r\n                                                                                       ^\r\n  symbol:   class Format\r\n  location: class ReactAudio\r\n.../node_modules/react-native-player/android/player/src/main/java/com/xeodou/rctplayer/ReactAudio.java:206: error: cannot find symbol\r\n        sendEvent(\"loadCompleted\", params);\r\n                                   ^\r\n  symbol:   variable params\r\n  location: class ReactAudio\r\n2 errors\r\n"},"comment":{"url":"https://api.github.com/repos/xeodou/react-native-player/issues/comments/163142862","html_url":"https://github.com/xeodou/react-native-player/issues/3#issuecomment-163142862","issue_url":"https://api.github.com/repos/xeodou/react-native-player/issues/3","id":163142862,"user":{"login":"flyingmate","id":32774,"avatar_url":"https://avatars.githubusercontent.com/u/32774?v=3","gravatar_id":"","url":"https://api.github.com/users/flyingmate","html_url":"https://github.com/flyingmate","followers_url":"https://api.github.com/users/flyingmate/followers","following_url":"https://api.github.com/users/flyingmate/following{/other_user}","gists_url":"https://api.github.com/users/flyingmate/gists{/gist_id}","starred_url":"https://api.github.com/users/flyingmate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flyingmate/subscriptions","organizations_url":"https://api.github.com/users/flyingmate/orgs","repos_url":"https://api.github.com/users/flyingmate/repos","events_url":"https://api.github.com/users/flyingmate/events{/privacy}","received_events_url":"https://api.github.com/users/flyingmate/received_events","type":"User","site_admin":false},"created_at":"2015-12-09T07:50:49Z","updated_at":"2015-12-09T07:50:49Z","body":"Build success but launching apk on genymotion failed with version 0.0.8.\r\nGot this error below, looks like onLoadCompleted method on ReactAudio.java has unknown argument types for React JS like 'long' and 'Format' \r\n\r\n```\r\njava.lang.RuntimeException: An error occurred while executing doInBackground()\r\n                                                                       at android.os.AsyncTask$3.done(AsyncTask.java:309)\r\n                                                                       at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:354)\r\n                                                                       at java.util.concurrent.FutureTask.setException(FutureTask.java:223)\r\n                                                                       at java.util.concurrent.FutureTask.run(FutureTask.java:242)\r\n                                                                       at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:234)\r\n                                                                       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)\r\n                                                                       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)\r\n                                                                       at java.lang.Thread.run(Thread.java:818)\r\n                                                                    Caused by: java.lang.RuntimeException: Got unknown argument class: long\r\n                                                                       at com.facebook.react.bridge.BaseJavaModule$JavaMethod.buildArgumentExtractors(BaseJavaModule.java:202)\r\n                                                                       at com.facebook.react.bridge.BaseJavaModule$JavaMethod.<init>(BaseJavaModule.java:169)\r\n                                                                       at com.facebook.react.bridge.BaseJavaModule.getMethods(BaseJavaModule.java:295)\r\n                                                                       at com.facebook.react.bridge.NativeModuleRegistry$ModuleDefinition.<init>(NativeModuleRegistry.java:128)\r\n                                                                       at com.facebook.react.bridge.NativeModuleRegistry$Builder.add(NativeModuleRegistry.java:175)\r\n                                                                       at com.facebook.react.ReactInstanceManagerImpl.processPackage(ReactInstanceManagerImpl.java:623)\r\n                                                                       at com.facebook.react.ReactInstanceManagerImpl.createReactContext(ReactInstanceManagerImpl.java:595)\r\n                                                                       at com.facebook.react.ReactInstanceManagerImpl.access$600(ReactInstanceManagerImpl.java:76)\r\n                                                                       at com.facebook.react.ReactInstanceManagerImpl$ReactContextInitAsyncTask.doInBackground(ReactInstanceManagerImpl.java:163)\r\n                                                                       at com.facebook.react.ReactInstanceManagerImpl$ReactContextInitAsyncTask.doInBackground(ReactInstanceManagerImpl.java:149)\r\n                                                                       at android.os.AsyncTask$2.call(AsyncTask.java:295)\r\n                                                                       at java.util.concurrent.FutureTask.run(FutureTask.java:237)\r\n                                                                       at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:234) \r\n                                                                       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113) \r\n                                                                       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588) \r\n                                                                       at java.lang.Thread.run(Thread.java:818) \r\n```"}}