Home > database >  My React Native app is not working ,getting Failed on executing 77% - (Task :react-native-payments:c
My React Native app is not working ,getting Failed on executing 77% - (Task :react-native-payments:c

Time:12-13

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

Screenshot of Error - 1

Screenshot of Error - 2

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.

  • Related