{"action":"closed","issue":{"url":"https://api.github.com/repos/facebook/react-native/issues/3437","labels_url":"https://api.github.com/repos/facebook/react-native/issues/3437/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/3437/comments","events_url":"https://api.github.com/repos/facebook/react-native/issues/3437/events","html_url":"https://github.com/facebook/react-native/issues/3437","id":111562390,"number":3437,"title":"Andoid app showing error \":app:compileDebugJavaWithJavac FAILED \"","user":{"login":"sankhadeeproy007","id":10998047,"avatar_url":"https://avatars.githubusercontent.com/u/10998047?v=3","gravatar_id":"","url":"https://api.github.com/users/sankhadeeproy007","html_url":"https://github.com/sankhadeeproy007","followers_url":"https://api.github.com/users/sankhadeeproy007/followers","following_url":"https://api.github.com/users/sankhadeeproy007/following{/other_user}","gists_url":"https://api.github.com/users/sankhadeeproy007/gists{/gist_id}","starred_url":"https://api.github.com/users/sankhadeeproy007/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sankhadeeproy007/subscriptions","organizations_url":"https://api.github.com/users/sankhadeeproy007/orgs","repos_url":"https://api.github.com/users/sankhadeeproy007/repos","events_url":"https://api.github.com/users/sankhadeeproy007/events{/privacy}","received_events_url":"https://api.github.com/users/sankhadeeproy007/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"mkonicek","id":346214,"avatar_url":"https://avatars.githubusercontent.com/u/346214?v=3","gravatar_id":"","url":"https://api.github.com/users/mkonicek","html_url":"https://github.com/mkonicek","followers_url":"https://api.github.com/users/mkonicek/followers","following_url":"https://api.github.com/users/mkonicek/following{/other_user}","gists_url":"https://api.github.com/users/mkonicek/gists{/gist_id}","starred_url":"https://api.github.com/users/mkonicek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkonicek/subscriptions","organizations_url":"https://api.github.com/users/mkonicek/orgs","repos_url":"https://api.github.com/users/mkonicek/repos","events_url":"https://api.github.com/users/mkonicek/events{/privacy}","received_events_url":"https://api.github.com/users/mkonicek/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-10-15T07:47:54Z","updated_at":"2015-10-16T09:06:40Z","closed_at":"2015-10-16T09:06:40Z","body":"Hi, I seem to have followed all the steps given in your docs correctly. I also got the iOS app to work, but I'm getting this error whenever I try to run it in android. \r\n\"Sankhadeeps-MacBook-Air:native sankhadeeproy$ react-native run-android\r\nJS server already running.\r\nBuilding and installing the app on the device (cd android && ./gradlew installDebug)...\r\n:app:preBuild UP-TO-DATE\r\n:app:preDebugBuild UP-TO-DATE\r\n:app:checkDebugManifest\r\n:app:preReleaseBuild UP-TO-DATE\r\n:app:prepareComAndroidSupportAppcompatV72301Library UP-TO-DATE\r\n:app:prepareComAndroidSupportSupportV42301Library UP-TO-DATE\r\n:app:prepareComFacebookFrescoDrawee061Library UP-TO-DATE\r\n:app:prepareComFacebookFrescoFbcore061Library UP-TO-DATE\r\n:app:prepareComFacebookFrescoFresco061Library UP-TO-DATE\r\n:app:prepareComFacebookFrescoImagepipeline061Library UP-TO-DATE\r\n:app:prepareComFacebookFrescoImagepipelineOkhttp061Library UP-TO-DATE\r\n:app:prepareComFacebookReactReactNative0120Library UP-TO-DATE\r\n:app:prepareOrgWebkitAndroidJscR174650Library UP-TO-DATE\r\n:app:prepareDebugDependencies\r\n:app:compileDebugAidl UP-TO-DATE\r\n:app:compileDebugRenderscript UP-TO-DATE\r\n:app:generateDebugBuildConfig UP-TO-DATE\r\n:app:generateDebugAssets UP-TO-DATE\r\n:app:mergeDebugAssets UP-TO-DATE\r\n:app:generateDebugResValues UP-TO-DATE\r\n:app:generateDebugResources UP-TO-DATE\r\n:app:mergeDebugResources UP-TO-DATE\r\n:app:processDebugManifest UP-TO-DATE\r\n:app:processDebugResources UP-TO-DATE\r\n:app:generateDebugSources UP-TO-DATE\r\n:app:processDebugJavaRes UP-TO-DATE\r\n:app:compileDebugJavaWithJavac\r\n/Users/sankhadeeproy/Sites/projects/native/android/app/src/main/java/com/native/MainActivity.java:1: error: <identifier> expected\r\npackage com.native;\r\n            ^\r\n/Users/sankhadeeproy/Sites/projects/native/android/app/build/generated/source/r/debug/com/native/R.java:8: error: <identifier> expected\r\npackage com.native;\r\n            ^\r\n/Users/sankhadeeproy/Sites/projects/native/android/app/build/generated/source/buildConfig/debug/com/native/BuildConfig.java:4: error: <identifier> expected\r\npackage com.native;\r\n            ^\r\n3 errors\r\n:app:compileDebugJavaWithJavac FAILED\r\n\r\nFAILURE: Build failed with an exception.\r\n\r\n* What went wrong:\r\nExecution failed for task ':app:compileDebugJavaWithJavac'.\r\n> Compilation failed; see the compiler error output for details.\r\n\r\n* Try:\r\nRun with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.\r\n\r\nBUILD FAILED\r\n\r\nTotal time: 27.348 secs\r\nCould not install the app on the device, see the error above.\"\r\nAny help would be appreciated."}}