{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react-native/issues/3306","labels_url":"https://api.github.com/repos/facebook/react-native/issues/3306/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/3306/comments","events_url":"https://api.github.com/repos/facebook/react-native/issues/3306/events","html_url":"https://github.com/facebook/react-native/issues/3306","id":110654661,"number":3306,"title":"Error for :org.gradle.wrapper.GradleWrapperMain","user":{"login":"yipengmu","id":3232735,"avatar_url":"https://avatars.githubusercontent.com/u/3232735?v=3","gravatar_id":"","url":"https://api.github.com/users/yipengmu","html_url":"https://github.com/yipengmu","followers_url":"https://api.github.com/users/yipengmu/followers","following_url":"https://api.github.com/users/yipengmu/following{/other_user}","gists_url":"https://api.github.com/users/yipengmu/gists{/gist_id}","starred_url":"https://api.github.com/users/yipengmu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yipengmu/subscriptions","organizations_url":"https://api.github.com/users/yipengmu/orgs","repos_url":"https://api.github.com/users/yipengmu/repos","events_url":"https://api.github.com/users/yipengmu/events{/privacy}","received_events_url":"https://api.github.com/users/yipengmu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-09T13:03:56Z","updated_at":"2015-10-09T16:54:18Z","closed_at":null,"body":"after rebuild my whole project code struct , i saw the error below:\r\n\r\nMyMacBook-Pro% react-native run-android\r\nJS server already running.\r\nBuilding and installing the app on the device (cd android && ./gradlew installDebug)...\r\n错误: 找不到或无法加载主类[error:can't find or can't load the main calss] org.gradle.wrapper.GradleWrapperMain\r\nCould not install the app on the device, see the error above.\r\n\r\n\r\nhow solve this error ,3ks\r\n[it is not a good idea to use \"gradle wrapper\"  ]"},"comment":{"url":"https://api.github.com/repos/facebook/react-native/issues/comments/146929383","html_url":"https://github.com/facebook/react-native/issues/3306#issuecomment-146929383","issue_url":"https://api.github.com/repos/facebook/react-native/issues/3306","id":146929383,"user":{"login":"brentvatne","id":90494,"avatar_url":"https://avatars.githubusercontent.com/u/90494?v=3","gravatar_id":"","url":"https://api.github.com/users/brentvatne","html_url":"https://github.com/brentvatne","followers_url":"https://api.github.com/users/brentvatne/followers","following_url":"https://api.github.com/users/brentvatne/following{/other_user}","gists_url":"https://api.github.com/users/brentvatne/gists{/gist_id}","starred_url":"https://api.github.com/users/brentvatne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brentvatne/subscriptions","organizations_url":"https://api.github.com/users/brentvatne/orgs","repos_url":"https://api.github.com/users/brentvatne/repos","events_url":"https://api.github.com/users/brentvatne/events{/privacy}","received_events_url":"https://api.github.com/users/brentvatne/received_events","type":"User","site_admin":false},"created_at":"2015-10-09T16:54:18Z","updated_at":"2015-10-09T16:54:18Z","body":"It looks like you have a packager server running already, try to find and close the terminal window with that open :)"}}