生成反应原生推送通知失败:processReleaseResources
问题描述:
Im新的反应原生和我遵循安装f8app在makeitopen.com。 在我试图做react-native run-android
之前一切都很顺利。当我运行该命令时,出现我不知道的错误。这是错误日志。生成反应原生推送通知失败:processReleaseResources
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':react-native-push-notification:processReleaseResourc
es'.
> com.android.ide.common.process.ProcessException: org.gradle.process.internal.E
xecException: Process 'command 'C:\Android\sdk\build-tools\23.0.2\aapt.exe'' fin
ished with non-zero exit value 1
FYI 我正在使用Android SDK Build tools 23.0.2。
我希望你们可以帮助我,因为我对反应本土非常感兴趣。
谢谢
编辑在(17-MAY-2016)
这是完全错误日志
D:\My Files\programming\react-native\f8app\node_modules\react-native-push-notification\RNPushNotificationAndroid\build\intermediates\exploded-aar\com.google.android.gms\play-services-base\8.3.0\res\drawable\common_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').
D:\My Files\programming\react-native\f8app\node_modules\react-native-push-notification\RNPushNotificationAndroid\build\intermediates\exploded-aar\com.google.android.gms\play-services-base\8.3.0\res\drawable\common_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').
D:\My Files\programming\react-native\f8app\node_modules\react-native-push-notification\RNPushNotificationAndroid\build\intermediates\exploded-aar\com.google.android.gms\play-services-base\8.3.0\res\drawable\common_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').
D:\My Files\programming\react-native\f8app\node_modules\react-native-push-notification\RNPushNotificationAndroid\build\intermediates\exploded-aar\com.google.android.gms\play-services-base\8.3.0\res\drawable\common_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').
D:\My Files\programming\react-native\f8app\node_modules\react-native-push-notification\RNPushNotificationAndroid\build\intermediates\exploded-aar\com.google.android.gms\play-services-base\8.3.0\res\drawable\common_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').
D:\My Files\programming\react-native\f8app\node_modules\react-native-push-notification\RNPushNotificationAndroid\build\intermediates\exploded-aar\com.google.android.gms\play-services-base\8.3.0\res\drawable\common_google_signin_btn_icon_light.xml:11:27-80 : No resource found that matches the given name (at 'drawable' with value '@drawable/common_google_signin_btn_icon_light_focused').
D:\My Files\programming\react-native\f8app\node_modules\react-native-push-notification\RNPushNotificationAndroid\build\intermediates\exploded-aar\com.google.android.gms\play-services-base\8.3.0\res\drawable\common_google_signin_btn_icon_light.xml:13:27-79 : No resource found that matches the given name (at 'drawable' with value '@drawable/common_google_signin_btn_icon_light_normal').
D:\My Files\programming\react-native\f8app\node_modules\react-native-push-notification\RNPushNotificationAndroid\build\intermediates\exploded-aar\com.google.android.gms\play-services-base\8.3.0\res\drawable\common_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').
D:\My Files\programming\react-native\f8app\node_modules\react-native-push-notification\RNPushNotificationAndroid\build\intermediates\exploded-aar\com.google.android.gms\play-services-base\8.3.0\res\drawable\common_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').
D:\My Files\programming\react-native\f8app\node_modules\react-native-push-notification\RNPushNotificationAndroid\build\intermediates\exploded-aar\com.google.android.gms\play-services-base\8.3.0\res\drawable\common_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').
D:\My Files\programming\react-native\f8app\node_modules\react-native-push-notification\RNPushNotificationAndroid\build\intermediates\exploded-aar\com.google.android.gms\play-services-base\8.3.0\res\drawable\common_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').
D:\My Files\programming\react-native\f8app\node_modules\react-native-push-notification\RNPushNotificationAndroid\build\intermediates\exploded-aar\com.google.android.gms\play-services-base\8.3.0\res\drawable\common_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').
D:\My Files\programming\react-native\f8app\node_modules\react-native-push-notification\RNPushNotificationAndroid\build\intermediates\exploded-aar\com.google.android.gms\play-services-base\8.3.0\res\drawable\common_google_signin_btn_text_light.xml:11:27-80 : No resource found that matches the given name (at 'drawable' with value '@drawable/common_google_signin_btn_text_light_focused').
D:\My Files\programming\react-native\f8app\node_modules\react-native-push-notification\RNPushNotificationAndroid\build\intermediates\exploded-aar\com.google.android.gms\play-services-base\8.3.0\res\drawable\common_google_signin_btn_text_light.xml:13:27-79 : No resource found that matches the given name (at 'drawable' with value '@drawable/common_google_signin_btn_text_light_normal').
D:\My Files\programming\react-native\f8app\node_modules\react-native-push-notification\RNPushNotificationAndroid\build\intermediates\exploded-aar\com.google.android.gms\play-services-base\8.3.0\res\drawable\common_plus_signin_btn_icon_light.xml:5:27-79 : No resource found that matches the given name (at 'drawable' with value '@drawable/common_plus_signin_btn_icon_light_disabled').
D:\My Files\programming\react-native\f8app\node_modules\react-native-push-notification\RNPushNotificationAndroid\build\intermediates\exploded-aar\com.google.android.gms\play-services-base\8.3.0\res\drawable\common_plus_signin_btn_text_light.xml:5:27-79 : No resource found that matches the given name (at 'drawable' with value '@drawable/common_plus_signin_btn_text_light_disabled').
: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.ExecException: Process 'command 'C:\Android\sdk\build-tools\23.0.2\aapt.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
Total time: 3 mins 39.493 secs
Could not install the app on the device, read the error above for details.
Make sure you have an Android emulator running or a device connected and have
set up your Android development environment:
https://facebook.github.io/react-native/docs/android-setup.html
嘿..你可以分享整个错误日志。无法从您分享的现有讯息中找到任何理由。 – Jickson
我已经加入了完整的错误日志就像你说的@Jickson – marc