I am working on app , it is opening before a few days ago but now it is getting failed on executing after 72% and showing below error.
------------------ Error -----------------------
What went wrong: Execution failed for task ':react-native-payments:compileDebugJavaWithJavac'.
Task :react-native-payments:compileDebugJavaWithJavac FAILED
CodePudding user response:
This error occurs when some plugin has old android support dependencies instead of using the new AndroidX equivalent. To fix this issue, Migrate to AndroidX by the help of jetifier by running following command
npx jetify
from root of your project folder before taking build.