The fix there worked for me, but it was a bandaid solution because right after another react package failed, react-native-vector-icons. It looks like a lot of react-native packages are failing due to a similar underlying problem, a google search with the phrase
'could not find com.android.tools common' will pull up several recently created stackoverflow threads with the same issue.
I am wondering if there is something that could be tweaked in the main build.gradle file to solve for this and possible future occurrences.
Hi @mbuotidem can you try with the changes which are in #3201.
I too faced similar issue few days back, and #3201 fixed it.
Fortunately, today I am able to build android without #3201. :)
I am unable to build on Ubuntu. I run into this error :
`> Could not resolve all artifacts for configuration ':react-native-image-picker:classpath'.
I did some initial troubleshooting and a lot of people are having this issue, see : https://github.com/react-native-community/react-native-image-picker/issues/999#issuecomment-445501130
The fix there worked for me, but it was a bandaid solution because right after another react package failed,
react-native-vector-icons
. It looks like a lot of react-native packages are failing due to a similar underlying problem, a google search with the phrase 'could not find com.android.tools common' will pull up several recently created stackoverflow threads with the same issue.I am wondering if there is something that could be tweaked in the main build.gradle file to solve for this and possible future occurrences.