Build failure on android 10 emulator

After following the setup here react-native-callkeep/android-installation.md at master · react-native-webrtc/react-native-callkeep · GitHub I am consistently receiving error: package android.support.annotation does not exist on a previously-working project. We are using Java 11, React Native 0.66.4 and Nx 13.4.3

Just for reference if anyone is having that issue.
You need to clean the project via gradle and then make sure jetifier runs.
Run the gradlew clean command inside your projects android folder to clean everything.
Also make sure these are inside your gradle.properties file.

android.useAndroidX=true
android.enableJetifier=true

Then you can run jetifier by executing the npx jetify command in the projects root.

After all of that you should be able to build your app again :+1: