React Native突然无法生成

React Native突然无法生成

问题描述:

因此,我今天早上对代码进行了一些修改,它的运行方式与以前一样。然后,当我试图几个小时后再次运行反应原生运行Android的,我得到了以下错误:React Native突然无法生成

/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 Manager更新Android支持库

+1

已在最新版本:( – Frexuz