A problem occurred evaluating project ‘:react-native-reanimated’. > Cannot get property ‘supportLibVersion’ on extra properties extension as it does not exist React Navigation Error Fix

By Rashid •  September 26th, 2019 • 

React Navigation is the most popular navigation library used in react native projects. Today, I created a new react native project with the latest version 0.61.1. Then I installed react navigation library (version 4.0.10) by following instructions from their official documentation. But when I tried to run the project an error had shown as below:

A problem occurred evaluating project ‘:react-native-reanimated’. > Cannot get property ‘supportLibVersion’ on extra properties extension as it does not exist

Yes, the issue is with react native animated library (version 1.2.0) which I installed among react navigation dependencies. This error forced me a Google search and I got here. The current solution for this react native react navigation issue is as follows.

Go to YourProject/android/build.gradle file and add supportLibVersion = “28.0.0” to the ext {} as given below:

ext {
        buildToolsVersion = "28.0.3"
        minSdkVersion = 16
        compileSdkVersion = 28
        targetSdkVersion = 28
        supportLibVersion = "28.0.0"
    }

Now, re run the project and the issue would be gone.

Rashid

Keep Reading