React-native-slider: Build android with the latest rn-0.59.5

Created on 23 Apr 2019  路  2Comments  路  Source: callstack/react-native-slider

Ask your Question

Build file '/Users/name/project/node_modules/@react-native-community/slider/android/build.gradle' line: 40

* What went wrong:
A problem occurred evaluating project ':react-native-community-slider'.
> Cannot get property 'supportLibVersion' on extra properties extension as it does not exist

I've never used supportLibVersion in my setup and have no idea how to use it now correctly. Can you please provide some help by explanation?

question

Most helpful comment

Ok, in my case setting

ext {
  supportLibVersion = "28.0.0" < equals the buildToolsVersion
  ...
}

works

All 2 comments

Ok, in my case setting

ext {
  supportLibVersion = "28.0.0" < equals the buildToolsVersion
  ...
}

works

I don't think this issue should be closed. It's definetly not correct when some module depends on project variable, especially if this project already using AndroidX.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

canyavall picture canyavall  路  5Comments

a-koka picture a-koka  路  3Comments

pdandradeb picture pdandradeb  路  5Comments

akrger picture akrger  路  6Comments

cinder92 picture cinder92  路  4Comments