Closed mvniekerk closed 5 years ago
Reproduce steps: yarn global add react-native react-native init test cd test/ yarn add @mapbox/react-native-mapbox-gl npm link react-native run-android
yarn global add react-native
react-native init test
cd test/
yarn add @mapbox/react-native-mapbox-gl
npm link
react-native run-android
Versions Android:
{ buildToolsVersion = "28.0.0" minSdkVersion = 16 compileSdkVersion = 28 targetSdkVersion = 26 supportLibVersion = "28.0.0" }
classpath 'com.android.tools.build:gradle:3.3.2'
Fix Change node_modules/@mapbox/react-native-mapbox-gl/android/rctmgl/build.gradle: https://gist.github.com/mvniekerk/07f1c71abff69f81d1aaee548737fea8
node_modules/@mapbox/react-native-mapbox-gl/android/rctmgl/build.gradle
Thanks for reporting. This is fixed in master, just waiting for publish to NPM. We already got an issue for that, so closing.
Excellent. Will wait for the new version.
Reproduce steps:
yarn global add react-native
react-native init test
cd test/
yarn add @mapbox/react-native-mapbox-gl
npm link
react-native run-android
Versions Android:
classpath 'com.android.tools.build:gradle:3.3.2'
Fix Change
node_modules/@mapbox/react-native-mapbox-gl/android/rctmgl/build.gradle
: https://gist.github.com/mvniekerk/07f1c71abff69f81d1aaee548737fea8