i followed this link fir notification (react-native)
https://github.com/zo0r/react-native-push-notification
after did complete setting for android
when i run command react-native run-android
i got this error
:react-native-push-notification:processReleaseResources FAILED
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':react-native-push-notification:processReleaseResources'.
com.android.ide.common.process.ProcessException: org.gradle.process.internal.E
xecException: Process 'command 'C:AndroidStudioSdkbuild-tools23.0.1aapt.exe
'' finished with non-zero exit value 1
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug
option to get more log output.
BUILD FAILED
So, did you try adding the --stacktrace, --info or --debug options?
I get the same issue ahd here is a more precise error log:
...examplenode_modulesreact-native-push-notificationandroidbuildintermediatesexploded-aarcom.android.supportappcompat-v723.1.1resdrawableabc_textfield_search_material.xml:18:87-138 : No resour
ce found that matches the given name (at 'drawable' with value '@drawable/abc_textfield_search_activated_mtrl_alpha').
...examplenode_modulesreact-native-push-notificationandroidbuildintermediatesexploded-aarcom.android.supportappcompat-v723.1.1resdrawableabc_textfield_search_material.xml:19:89-140 : No resour
ce found that matches the given name (at 'drawable' with value '@drawable/abc_textfield_search_activated_mtrl_alpha').
...examplenode_modulesreact-native-push-notificationandroidbuildintermediatesexploded-aarcom.google.android.gmsplay-services-base9.6.1resdrawablecommon_google_signin_btn_icon_dark.xml:5:27-80
: No resource found that matches the given name (at 'drawable' with value '@drawable/common_google_signin_btn_icon_dark_disabled').
...examplenode_modulesreact-native-push-notificationandroidbuildintermediatesexploded-aarcom.google.android.gmsplay-services-base9.6.1resdrawablecommon_google_signin_btn_icon_dark.xml:8:27-79
: No resource found that matches the given name (at 'drawable' with value '@drawable/common_google_signin_btn_icon_dark_pressed').
...examplenode_modulesreact-native-push-notificationandroidbuildintermediatesexploded-aarcom.google.android.gmsplay-services-base9.6.1resdrawablecommon_google_signin_btn_icon_dark.xml:11:27-79
: No resource found that matches the given name (at 'drawable' with value '@drawable/common_google_signin_btn_icon_dark_focused').
...examplenode_modulesreact-native-push-notificationandroidbuildintermediatesexploded-aarcom.google.android.gmsplay-services-base9.6.1resdrawablecommon_google_signin_btn_icon_dark.xml:13:27-78
: No resource found that matches the given name (at 'drawable' with value '@drawable/common_google_signin_btn_icon_dark_normal').
...examplenode_modulesreact-native-push-notificationandroidbuildintermediatesexploded-aarcom.google.android.gmsplay-services-base9.6.1resdrawablecommon_google_signin_btn_icon_light.xml:5:27-81
: No resource found that matches the given name (at 'drawable' with value '@drawable/common_google_signin_btn_icon_light_disabled').
...examplenode_modulesreact-native-push-notificationandroidbuildintermediatesexploded-aarcom.google.android.gmsplay-services-base9.6.1resdrawablecommon_google_signin_btn_icon_light.xml:8:27-80
: No resource found that matches the given name (at 'drawable' with value '@drawable/common_google_signin_btn_icon_light_pressed').
...examplenode_modulesreact-native-push-notificationandroidbuildintermediatesexploded-aarcom.google.android.gmsplay-services-base9.6.1resdrawablecommon_google_signin_btn_icon_light.xml:11:27-8
0 : No resource found that matches the given name (at 'drawable' with value '@drawable/common_google_signin_btn_icon_light_focused').
...examplenode_modulesreact-native-push-notificationandroidbuildintermediatesexploded-aarcom.google.android.gmsplay-services-base9.6.1resdrawablecommon_google_signin_btn_icon_light.xml:13:27-7
9 : No resource found that matches the given name (at 'drawable' with value '@drawable/common_google_signin_btn_icon_light_normal').
...examplenode_modulesreact-native-push-notificationandroidbuildintermediatesexploded-aarcom.google.android.gmsplay-services-base9.6.1resdrawablecommon_google_signin_btn_text_dark.xml:7:27-80
: No resource found that matches the given name (at 'drawable' with value '@drawable/common_google_signin_btn_text_dark_disabled').
...examplenode_modulesreact-native-push-notificationandroidbuildintermediatesexploded-aarcom.google.android.gmsplay-services-base9.6.1resdrawablecommon_google_signin_btn_text_dark.xml:10:27-79
: No resource found that matches the given name (at 'drawable' with value '@drawable/common_google_signin_btn_text_dark_pressed').
...examplenode_modulesreact-native-push-notificationandroidbuildintermediatesexploded-aarcom.google.android.gmsplay-services-base9.6.1resdrawablecommon_google_signin_btn_text_dark.xml:13:27-79
: No resource found that matches the given name (at 'drawable' with value '@drawable/common_google_signin_btn_text_dark_focused').
...examplenode_modulesreact-native-push-notificationandroidbuildintermediatesexploded-aarcom.google.android.gmsplay-services-base9.6.1resdrawablecommon_google_signin_btn_text_dark.xml:15:27-78
: No resource found that matches the given name (at 'drawable' with value '@drawable/common_google_signin_btn_text_dark_normal').
...examplenode_modulesreact-native-push-notificationandroidbuildintermediatesexploded-aarcom.google.android.gmsplay-services-base9.6.1resdrawablecommon_google_signin_btn_text_light.xml:5:27-81
: No resource found that matches the given name (at 'drawable' with value '@drawable/common_google_signin_btn_text_light_disabled').
...examplenode_modulesreact-native-push-notificationandroidbuildintermediatesexploded-aarcom.google.android.gmsplay-services-base9.6.1resdrawablecommon_google_signin_btn_text_light.xml:8:27-80
: No resource found that matches the given name (at 'drawable' with value '@drawable/common_google_signin_btn_text_light_pressed').
...examplenode_modulesreact-native-push-notificationandroidbuildintermediatesexploded-aarcom.google.android.gmsplay-services-base9.6.1resdrawablecommon_google_signin_btn_text_light.xml:11:27-8
0 : No resource found that matches the given name (at 'drawable' with value '@drawable/common_google_signin_btn_text_light_focused').
...examplenode_modulesreact-native-push-notificationandroidbuildintermediatesexploded-aarcom.google.android.gmsplay-services-base9.6.1resdrawablecommon_google_signin_btn_text_light.xml:13:27-7
9 : No resource found that matches the given name (at 'drawable' with value '@drawable/common_google_signin_btn_text_light_normal').
:react-native-push-notification:processReleaseResources FAILED
Same issue, any ideas guys ?
Me too
..react-native-starter-appnode_modulesreact-native-device-infoandroidbuildintermediatesexploded-aarcom.google.android.gmsplay-services-base10.
2.0resdrawablecommon_google_signin_btn_icon_dark_normal.xml:3:29-91 : No resource found that matches the given name (at 'drawable' with value '@drawable/common_google_signin_btn_icon
_dark_normal_background').
..node_modulesreact-native-device-infoandroidbuildintermediatesexploded-aarcom.google.android.gmsplay-services-base10.
2.0resdrawablecommon_google_signin_btn_icon_light_normal.xml:3:29-92 : No resource found that matches the given name (at 'drawable' with value '@drawable/common_google_signin_btn_ico
n_light_normal_background').
..node_modulesreact-native-device-infoandroidbuildintermediatesexploded-aarcom.google.android.gmsplay-services-base10.
2.0resdrawablecommon_google_signin_btn_text_dark_normal.xml:3:29-91 : No resource found that matches the given name (at 'drawable' with value '@drawable/common_google_signin_btn_text
_dark_normal_background').
..node_modulesreact-native-device-infoandroidbuildintermediatesexploded-aarcom.google.android.gmsplay-services-base10.
2.0resdrawablecommon_google_signin_btn_text_light_normal.xml:3:29-92 : No resource found that matches the given name (at 'drawable' with value '@drawable/common_google_signin_btn_tex
t_light_normal_background').
Don't know if this will help you but this fixed a similar issue for me. https://stackoverflow.com/a/41314222/301682
Had the same problem on windows and this worked for me 馃憤
same issue
same issue
Same issue. Any ideas? I've tried solutions with max heap size, but it doesn't help me.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 30 days if no further activity occurs. Thank you for your contributions.
Most helpful comment
Same issue, any ideas guys ?