Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

application crashes #9

Open
mshoaib1695 opened this issue Sep 24, 2020 · 4 comments
Open

application crashes #9

mshoaib1695 opened this issue Sep 24, 2020 · 4 comments

Comments

@mshoaib1695
Copy link

application crashes in release build while it is working fine in development.
any one face this issue earlier?
need help

@josyvoxtron
Copy link

josyvoxtron commented Oct 28, 2020

i am also facing same issue.

Screenshot_1603869136

Screenshot_1613479029

on running command gradlew assembleRelease I am getting following errors we are not able to generate release build as well

Task :react-native-paytabs-sdk:verifyReleaseResources FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':react-native-paytabs-sdk:verifyReleaseResources'.

1 exception was raised by workers:
com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource linking failed
D:\Josy-Projects...\node_modules\react-native-paytabs-sdk\android\build\intermediates\res\merged\release\layout\paytabs_fragment_payment.xml:14: error: attribute cardCornerRadius (aka com.rn.paytabs:cardCornerRadius) not found.
D:\Josy-Projects...\node_modules\react-native-paytabs-sdk\android\build\intermediates\res\merged\release\layout\paytabs_fragment_payment.xml:14: error: attribute cardElevation (aka com.rn.paytabs:cardElevation) not found.
D:\Josy-Projects...\node_modules\react-native-paytabs-sdk\android\build\intermediates\res\merged\release\layout\paytabs_fragment_payment.xml:134: error: attribute card_number_hint (aka com.rn.paytabs:card_number_hint) not found.
D:\Josy-Projects...\node_modules\react-native-paytabs-sdk\android\build\intermediates\res\merged\release\layout\paytabs_fragment_payment.xml:134: error: attribute default_text_colors (aka com.rn.paytabs:default_text_colors) not found.
D:\Josy-Projects...\node_modules\react-native-paytabs-sdk\android\build\intermediates\res\merged\release\layout\paytabs_fragment_payment.xml:134: error: attribute include_exp (aka com.rn.paytabs:include_exp) not found.
D:\Josy-Projects...\node_modules\react-native-paytabs-sdk\android\build\intermediates\res\merged\release\layout\paytabs_fragment_payment.xml:134: error: attribute include_helper (aka com.rn.paytabs:include_helper) not found.
D:\Josy-Projects...\node_modules\react-native-paytabs-sdk\android\build\intermediates\res\merged\release\layout\paytabs_fragment_payment.xml:134: error: attribute include_security (aka com.rn.paytabs:include_security) not found.
D:\Josy-Projects...\node_modules\react-native-paytabs-sdk\android\build\intermediates\res\merged\release\layout\paytabs_fragment_payment.xml:134: error: attribute include_zip (aka com.rn.paytabs:include_zip) not found.
D:\Josy-Projects...\node_modules\react-native-paytabs-sdk\android\build\intermediates\res\merged\release\layout\paytabs_fragment_payment.xml:134: error: attribute input_background (aka com.rn.paytabs:input_background) not found.
D:\Josy-Projects...\node_modules\react-native-paytabs-sdk\android\build\intermediates\res\merged\release\layout-ar\paytabs_fragment_payment.xml:14: error: attribute cardCornerRadius (aka com.rn.paytabs:cardCornerRadius) not found.
D:\Josy-Projects...\node_modules\react-native-paytabs-sdk\android\build\intermediates\res\merged\release\layout-ar\paytabs_fragment_payment.xml:14: error: attribute cardElevation (aka com.rn.paytabs:cardElevation) not found.
D:\Josy-Projects...\node_modules\react-native-paytabs-sdk\android\build\intermediates\res\merged\release\layout-ar\paytabs_fragment_payment.xml:137: error: attribute card_number_hint (aka com.rn.paytabs:card_number_hint) not found.
D:\Josy-Projects...\node_modules\react-native-paytabs-sdk\android\build\intermediates\res\merged\release\layout-ar\paytabs_fragment_payment.xml:137: error: attribute default_text_colors (aka com.rn.paytabs:default_text_colors) not found.
D:\Josy-Projects...\node_modules\react-native-paytabs-sdk\android\build\intermediates\res\merged\release\layout-ar\paytabs_fragment_payment.xml:137: error: attribute include_exp (aka com.rn.paytabs:include_exp) not found.
D:\Josy-Projects...\node_modules\react-native-paytabs-sdk\android\build\intermediates\res\merged\release\layout-ar\paytabs_fragment_payment.xml:137: error: attribute include_helper (aka com.rn.paytabs:include_helper) not found.
D:\Josy-Projects...\node_modules\react-native-paytabs-sdk\android\build\intermediates\res\merged\release\layout-ar\paytabs_fragment_payment.xml:137: error: attribute include_security (aka com.rn.paytabs:include_security) not found.
D:\Josy-Projects...\node_modules\react-native-paytabs-sdk\android\build\intermediates\res\merged\release\layout-ar\paytabs_fragment_payment.xml:137: error: attribute include_zip (aka com.rn.paytabs:include_zip) not found.
D:\Josy-Projects...\node_modules\react-native-paytabs-sdk\android\build\intermediates\res\merged\release\layout-ar\paytabs_fragment_payment.xml:137: error: attribute input_background (aka com.rn.paytabs:input_background) not found.
error: failed linking file resources.

@mshoaib1695
Copy link
Author

try gradlew app:assembleRelease

@josyvoxtron
Copy link

tried and gradlew app:assembleRelease but the paytab payment not working app crashes when i press payment button

@Henit-Evince
Copy link

Hi,

Facing the same issue with react-native-paytabs latest version as well. Any updates or resolution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants