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

Build fails on React-Native 0.56 #44

Closed
prasannavl opened this issue Jul 6, 2018 · 3 comments
Closed

Build fails on React-Native 0.56 #44

prasannavl opened this issue Jul 6, 2018 · 3 comments

Comments

@prasannavl
Copy link
Contributor

prasannavl commented Jul 6, 2018

Build fails on a fresh install of React Native 0.56 with react-native-static-server. Seems like resources are missing.

:react-native-static-server:preBuild UP-TO-DATE
:react-native-static-server:preReleaseBuild UP-TO-DATE
:react-native-static-server:checkReleaseManifest
:react-native-static-server:preDebugAndroidTestBuild UP-TO-DATE
:react-native-static-server:preDebugBuild UP-TO-DATE
:react-native-static-server:preDebugUnitTestBuild UP-TO-DATE
:react-native-static-server:preReleaseUnitTestBuild UP-TO-DATE
:react-native-static-server:prepareAndroidArchLifecycleRuntime100Library
:react-native-static-server:prepareComAndroidSupportAnimatedVectorDrawable2610Library
:react-native-static-server:prepareComAndroidSupportAppcompatV72610Library
:react-native-static-server:prepareComAndroidSupportSupportCompat2610Library
:react-native-static-server:prepareComAndroidSupportSupportCoreUi2610Library
:react-native-static-server:prepareComAndroidSupportSupportCoreUtils2610Library
:react-native-static-server:prepareComAndroidSupportSupportFragment2610Library
:react-native-static-server:prepareComAndroidSupportSupportMediaCompat2610Library
:react-native-static-server:prepareComAndroidSupportSupportV42610Library
:react-native-static-server:prepareComAndroidSupportSupportVectorDrawable2610Library
:react-native-static-server:prepareComFacebookFbuiTextlayoutbuilderTextlayoutbuilder100Library
:react-native-static-server:prepareComFacebookFrescoDrawee190Library
:react-native-static-server:prepareComFacebookFrescoFbcore190Library
:react-native-static-server:prepareComFacebookFrescoFresco190Library
:react-native-static-server:prepareComFacebookFrescoImagepipeline190Library
:react-native-static-server:prepareComFacebookFrescoImagepipelineBase190Library
:react-native-static-server:prepareComFacebookFrescoImagepipelineOkhttp3190Library
:react-native-static-server:prepareComFacebookReactReactNative0560Library
:react-native-static-server:prepareComFacebookSoloaderSoloader030Library
:react-native-static-server:prepareOrgWebkitAndroidJscR174650Library
:react-native-static-server:prepareReleaseDependencies
:react-native-static-server:compileReleaseAidl
:react-native-static-server:compileReleaseNdk NO-SOURCE
:react-native-static-server:compileLint
:react-native-static-server:copyReleaseLint NO-SOURCE
:react-native-static-server:compileReleaseRenderscript
:react-native-static-server:generateReleaseBuildConfig
:react-native-static-server:generateReleaseResValues
:react-native-static-server:generateReleaseResources
:react-native-static-server:mergeReleaseResources
:react-native-static-server:processReleaseManifest
:react-native-static-server:processReleaseResources
/home/pvl/workspace/repo/htone/htone/node_modules/react-native-static-server/android/build/intermediates/res/merged/release/values-v24/values-v24.xml:3: AAPT: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Borderless.Colored'.
    
/home/pvl/workspace/repo/htone/htone/node_modules/react-native-static-server/android/build/intermediates/res/merged/release/values-v24/values-v24.xml:4: AAPT: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Colored'.
    
/home/pvl/workspace/repo/htone/htone/node_modules/react-native-static-server/android/build/intermediates/res/merged/release/values-v26/values-v26.xml:15:21-54: AAPT: No resource found that matches the given name: attr 'android:keyboardNavigationCluster'.
    
/home/pvl/workspace/repo/htone/htone/node_modules/react-native-static-server/android/build/intermediates/res/merged/release/values-v24/values-v24.xml:3: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Borderless.Colored'.

/home/pvl/workspace/repo/htone/htone/node_modules/react-native-static-server/android/build/intermediates/res/merged/release/values-v24/values-v24.xml:4: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Colored'.

/home/pvl/workspace/repo/htone/htone/node_modules/react-native-static-server/android/build/intermediates/res/merged/release/values-v26/values-v26.xml:15: error: Error: No resource found that matches the given name: attr 'android:keyboardNavigationCluster'.


:react-native-static-server:processReleaseResources FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':react-native-static-server:processReleaseResources'.
> 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.

BUILD FAILED
@meiroo
Copy link

meiroo commented Sep 6, 2018

same error. any solutions ?

@fchasen
Copy link
Contributor

fchasen commented Sep 10, 2018

Odd, I'll try running the react native git update script on it

@fchasen
Copy link
Contributor

fchasen commented Feb 11, 2019

Updated to RN 0.58

@fchasen fchasen closed this as completed Feb 11, 2019
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