gpt4 book ai didi

android - React Native 突然构建失败

转载 作者:行者123 更新时间:2023-11-29 02:42:19 25 4
gpt4 key购买 nike

所以,今天早上我对我的代码做了一些修改,它运行起来就像以前一样。然后当我在几个小时后再次尝试运行 react-native run-android 时,出现以下错误:

/Users/mimicreative/Documents/Kerja/Project/PictalogiDev/android/app/build/intermediates/exploded-aar/com.android.support/appcompat-v7/25.0.0/res/layout/abc_action_bar_title_item.xml:21:22-76: AAPT: No resource found that matches the given name (at 'style' with value '@style/RtlOverlay.Widget.AppCompat.ActionBar.TitleItem').

/Users/mimicreative/Documents/Kerja/Project/PictalogiDev/android/app/build/intermediates/exploded-aar/com.android.support/appcompat-v7/25.0.0/res/layout/abc_action_bar_title_item.xml:30:41-91: AAPT: No resource found that matches the given name (at 'layout_marginTop' with value '@dimen/abc_action_bar_subtitle_top_margin_material').

/Users/mimicreative/Documents/Kerja/Project/PictalogiDev/android/app/build/intermediates/exploded-aar/com.android.support/appcompat-v7/25.0.0/res/layout/abc_action_bar_view_list_nav_layout.xml:22:22-48: AAPT: No resource found that matches the given name (at 'style' with value '?attr/actionBarTabBarStyle').

像上面这样的错误行那么多,然后在行尾我得到了这个:

Execution failed for task ':app:processDebugResources'. com.android.ide.common.process.ProcessException: Failed to execute aapt

我该如何解决这个问题?错误原因是什么?

最佳答案

对于遇到此问题的任何人,您只需使用 Android SDK 管理器更新 Android 支持存储库

关于android - React Native 突然构建失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43252839/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com