I’m trying to build a React Native project which uses opentok-react-native version 0.12.2. When running my android build it fails with the following error complaining that the android support annotation package does not exist. Has anyone experienced this before?
Task :opentok-react-native:compileDebugJavaWithJavac FAILED error: package android.support.annotation does not exist import android.support.annotation.Nullable;
This is not the error from react native package.
This error accrued because of conflict between your Android SDK and package SDK version.
check their SDK version and install same SDK as theirs or you can fix it by importing required packages but it might take your lot of time if you don’t have knowledge about android.
Here is how you can fix that
react native build error: package android.support.annotation does not exist