{"action":"created","issue":{"url":"https://api.github.com/repos/ivpusic/react-native-image-crop-picker/issues/86","repository_url":"https://api.github.com/repos/ivpusic/react-native-image-crop-picker","labels_url":"https://api.github.com/repos/ivpusic/react-native-image-crop-picker/issues/86/labels{/name}","comments_url":"https://api.github.com/repos/ivpusic/react-native-image-crop-picker/issues/86/comments","events_url":"https://api.github.com/repos/ivpusic/react-native-image-crop-picker/issues/86/events","html_url":"https://github.com/ivpusic/react-native-image-crop-picker/issues/86","id":179523154,"number":86,"title":"Android build fails on clean project","user":{"login":"sznrbrt","id":13466346,"avatar_url":"https://avatars2.githubusercontent.com/u/13466346?v=4","gravatar_id":"","url":"https://api.github.com/users/sznrbrt","html_url":"https://github.com/sznrbrt","followers_url":"https://api.github.com/users/sznrbrt/followers","following_url":"https://api.github.com/users/sznrbrt/following{/other_user}","gists_url":"https://api.github.com/users/sznrbrt/gists{/gist_id}","starred_url":"https://api.github.com/users/sznrbrt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sznrbrt/subscriptions","organizations_url":"https://api.github.com/users/sznrbrt/orgs","repos_url":"https://api.github.com/users/sznrbrt/repos","events_url":"https://api.github.com/users/sznrbrt/events{/privacy}","received_events_url":"https://api.github.com/users/sznrbrt/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-09-27T15:15:05Z","updated_at":"2017-09-25T12:29:13Z","closed_at":"2016-10-03T17:53:17Z","author_association":"NONE","body":"### Version\n\n```\n\"react-native\": \"0.34.0\",\n\"react-native-image-crop-picker\": \"^0.9.5\"\n```\n### Platform\n- Android\n### Actual behaviour\n\nClean project produces this error on android: FAILURE: Build failed with an exception.\n### Steps to reproduce\n1. npm i react-native-image-crop-picker --save\n2. react-native link react-native-image-crop-picker\n3. react-native run-android\n### Attachments\n\n`FAILURE: Build failed with an exception.\n- What went wrong:\n  A problem occurred configuring project ':app'.\n  \n  > A problem occurred configuring project ':react-native-image-crop-picker'.\n  > Could not resolve all dependencies for configuration ':react-native-image-crop-picker:_debugCompile'.\n  > Could not find com.android.support:appcompat-v7:24.2.0.\n  >     Searched in the following locations:\n  >         file:/Users/szucsnorbert/.m2/repository/com/android/support/appcompat-v7/24.2.0/appcompat-v7-24.2.0.pom\n  >         file:/Users/szucsnorbert/.m2/repository/com/android/support/appcompat-v7/24.2.0/appcompat-v7-24.2.0.jar\n  >         https://jcenter.bintray.com/com/android/support/appcompat-v7/24.2.0/appcompat-v7-24.2.0.pom\n  >         https://jcenter.bintray.com/com/android/support/appcompat-v7/24.2.0/appcompat-v7-24.2.0.jar\n  >         file:/Users/szucsnorbert/temp/PhotoPickerTest/node_modules/react-native/android/com/android/support/appcompat-v7/24.2.0/appcompat-v7-24.2.0.pom\n  >         file:/Users/szucsnorbert/temp/PhotoPickerTest/node_modules/react-native/android/com/android/support/appcompat-v7/24.2.0/appcompat-v7-24.2.0.jar\n  >         file:/Users/szucsnorbert/Library/Android/sdk/extras/android/m2repository/com/android/support/appcompat-v7/24.2.0/appcompat-v7-24.2.0.pom\n  >         file:/Users/szucsnorbert/Library/Android/sdk/extras/android/m2repository/com/android/support/appcompat-v7/24.2.0/appcompat-v7-24.2.0.jar\n  >         file:/Users/szucsnorbert/Library/Android/sdk/extras/google/m2repository/com/android/support/appcompat-v7/24.2.0/appcompat-v7-24.2.0.pom\n  >         file:/Users/szucsnorbert/Library/Android/sdk/extras/google/m2repository/com/android/support/appcompat-v7/24.2.0/appcompat-v7-24.2.0.jar\n  >     Required by:\n  >         PhotoPickerTest:react-native-image-crop-picker:unspecified > com.facebook.react:react-native:0.34.0\n  > Could not find com.android.support:appcompat-v7:24.2.0.\n  >     Searched in the following locations:\n  >         file:/Users/szucsnorbert/.m2/repository/com/android/support/appcompat-v7/24.2.0/appcompat-v7-24.2.0.pom\n  >         file:/Users/szucsnorbert/.m2/repository/com/android/support/appcompat-v7/24.2.0/appcompat-v7-24.2.0.jar\n  >         https://jcenter.bintray.com/com/android/support/appcompat-v7/24.2.0/appcompat-v7-24.2.0.pom\n  >         https://jcenter.bintray.com/com/android/support/appcompat-v7/24.2.0/appcompat-v7-24.2.0.jar\n  >         file:/Users/szucsnorbert/temp/PhotoPickerTest/node_modules/react-native/android/com/android/support/appcompat-v7/24.2.0/appcompat-v7-24.2.0.pom\n  >         file:/Users/szucsnorbert/temp/PhotoPickerTest/node_modules/react-native/android/com/android/support/appcompat-v7/24.2.0/appcompat-v7-24.2.0.jar\n  >         file:/Users/szucsnorbert/Library/Android/sdk/extras/android/m2repository/com/android/support/appcompat-v7/24.2.0/appcompat-v7-24.2.0.pom\n  >         file:/Users/szucsnorbert/Library/Android/sdk/extras/android/m2repository/com/android/support/appcompat-v7/24.2.0/appcompat-v7-24.2.0.jar\n  >         file:/Users/szucsnorbert/Library/Android/sdk/extras/google/m2repository/com/android/support/appcompat-v7/24.2.0/appcompat-v7-24.2.0.pom\n  >         file:/Users/szucsnorbert/Library/Android/sdk/extras/google/m2repository/com/android/support/appcompat-v7/24.2.0/appcompat-v7-24.2.0.jar\n  >     Required by:\n  >         PhotoPickerTest:react-native-image-crop-picker:unspecified > com.yalantis:ucrop:2.2.0-native\n- Try:\n  Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.\n\nBUILD FAILED\n\nTotal time: 8.504 secs\nCould not install the app on the device, read the error above for details.\nMake sure you have an Android emulator running or a device connected and have\nset up your Android development environment:\nhttps://facebook.github.io/react-native/docs/android-setup.html`\n"},"comment":{"url":"https://api.github.com/repos/ivpusic/react-native-image-crop-picker/issues/comments/331865749","html_url":"https://github.com/ivpusic/react-native-image-crop-picker/issues/86#issuecomment-331865749","issue_url":"https://api.github.com/repos/ivpusic/react-native-image-crop-picker/issues/86","id":331865749,"user":{"login":"aprilmintacpineda","id":21032419,"avatar_url":"https://avatars0.githubusercontent.com/u/21032419?v=4","gravatar_id":"","url":"https://api.github.com/users/aprilmintacpineda","html_url":"https://github.com/aprilmintacpineda","followers_url":"https://api.github.com/users/aprilmintacpineda/followers","following_url":"https://api.github.com/users/aprilmintacpineda/following{/other_user}","gists_url":"https://api.github.com/users/aprilmintacpineda/gists{/gist_id}","starred_url":"https://api.github.com/users/aprilmintacpineda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aprilmintacpineda/subscriptions","organizations_url":"https://api.github.com/users/aprilmintacpineda/orgs","repos_url":"https://api.github.com/users/aprilmintacpineda/repos","events_url":"https://api.github.com/users/aprilmintacpineda/events{/privacy}","received_events_url":"https://api.github.com/users/aprilmintacpineda/received_events","type":"User","site_admin":false},"created_at":"2017-09-25T12:29:13Z","updated_at":"2017-09-25T12:29:13Z","author_association":"NONE","body":"I fixed it by downloading `JDK 1.8.0`. Then I used that instead of `JRE`."}}
{"actor":{"display_login":"aprilmintacpineda"}}