2016-05-12 7 views
1

反応ネイティブで新規作成しました。私はmakeitopen.comのインストールf8appに従います。 私はreact-native run-androidをしようとする前にすべてがスムーズです。私がそのコマンドを実行すると、私が知らない間違いが起こります。ここにエラーログがあります。反応ネイティブプッシュ通知でビルドに失敗しました:processReleaseResources

FYI
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 

私は、Android SDKのビルドツールに23.0.2を使用しています。

私は反応ネイティブに非常に興味があるので、皆さんがこれで私を助けてくれることを願っています。

はありがとう

(17-かもしれ-2016)

filenameは、このエラーメッセージが表示されます大きすぎるとき、これは、WindowsのOSで完全なエラーログ

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 
+0

ちょっと..エラーログ全体を共有できますか?あなたが共有した既存のメッセージから何らかの理由を見つけることができません。あなたは@Jickson – Jickson

+0

:/ f8app は、Uに感謝します@Jickson – marc

答えて

3

あるのEDITアプリケーションを構築しています。

詳細はthisを参照してください。

+1

が最終的にdefaultConfig 後 dexOptions { javaMaxHeapSize「4グラム」 } を追加することによって、それをやったし、ディレクトリDにプロジェクトフォルダを移動言ったように私は完全なエラーログを追加した – marc

+0

あなたは大丈夫ですか? – Jickson

+2

OS Xで同じエラーが発生しました。 –

関連する問題