devfd / react-native-geocoder

geocoding services for react native
MIT License
429 stars 180 forks source link

Problem on execute gradlew assembleRelease #74

Open forster-thomas opened 6 years ago

forster-thomas commented 6 years ago

Hi guys, how are u? I started to use react-native-geocoder, but, when I start to create an assembleRelease, I got this error. Someone can help? Thanks a lot.

FAILURE: Build failed with an exception.

BUILD FAILED in 1m 42s 47 actionable tasks: 4 executed, 43 up-to-date

sachinletsgo commented 6 years ago

Any solution ?

sachinletsgo commented 6 years ago

I found its solution.

moulie415 commented 6 years ago

I fixed this issue by making sure the defaultConfig values where the same as they are in my app build.gradle, my build.gradle in react-native-geocoder/android/build.gradle looks like this:

defaultConfig {
           minSdkVersion 16
           targetSdkVersion 25
           versionCode 1
           versionName "1.0"
           ndk {
             abiFilters "armeabi-v7a", "x86"
          }
      }