Posts

Showing posts with the label aapt

react native apk build fail when using react-native-razorpay

I'm trying to build an signed apk for my react-native code. I've used react-native-razorpay library for payment integration purpose. On running cd android && ./gradlew assembleRelease in my project root directory I got stuck on following error. FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':react-native-razorpay:verifyReleaseResources'. > com.android.ide.common.process.ProcessException: Failed to execute aapt * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. * Get more help at https://help.gradle.org BUILD FAILED in 22s 102 actionable tasks: 2 executed, 100 up-to-date While running ./gradlew assembleRelease --info i get following in the last few lines- .... .... Successfully started process 'command '/Users/clove/Library/Android/sdk/build-tools/27.0.3/aapt'' /Users/clove/.gradle/ca...