Android builds fail, latest Androidx libraries are not recognised

Hi, i have upgraded my react-native app from react-native 58.x.x, to 63.x.x and even though i have updated also all the dependencies and libraries, the build fails with errors like this:

/bitrise/src/node_modules/@react-native-community/datetimepicker/android/src/main/java/com/reactcommunity/rndatetimepicker/ReflectionHelper.java:3: error: package android.support.annotation does not exist
import android.support.annotation.Nullable;

And the datepicker lib is v3.0.6, which is 100% on Androidx.

We used to have a caching for the node_modules, but i have removed this step on workflow.

Hi @nikos_rapousis
Can you please send us the build URL with Support Access enabled so that we can take a look at your project?

Thanks
Chaitanya

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.