安卓工作室没有建设项目



Android资源链接失败输出:错误:找不到资源样式/Theme.AppCompat.Light.NoActionBar(又名com.weiuit.LunKey:style/Theme.AppCompat.Light.NoActionBar(。错误:找不到资源style/Theme.AppCompat.Light.NoActionBar(又名com.weiuit.LunKey:style/Theme.AppCompat.Light.NoActionBar(。E: \usman repository\office\lolumnkey\LumnKeyStudio\app\build\intermediates\aincremental\mergeDebugResources\merge.dir\values\values.xml:590:错误:找不到样式属性"attr/colorPrimary(又名com.weiuit.LunKey:attr/colorPrimari("。E: \usman repository\office\lolumnkey\LumnKeyStudio\app\build\intermediates\aincremental\mergeDebugResources\merge.dir\values\values.xml:591:错误:找不到样式属性"attr/colorPrimaryDark(又名com.weiuit.lumnkey:attr/colorPrimary Dark("。E: \usman repository\office\lolumnkey\LumnKeyStudio\app\build\intermediates\aincremental\mergeDebugResources\merge.dir\values\values.xml:592:错误:找不到样式属性"attr/colorAccent(又名com.weiuit.LunKey:attr/colorAccept("。错误:找不到资源style/Theme.AppCompat.DayNight.DarkActionBar(又名com.weiuit.LunKey:style/Theme.AppCompat.DayNight.DarkActionBar(。E: \usman repository\office\lolumnkey\LumnKeyStudio\app\build\intermediates\aincremental\mergeDebugResources\merge.dir\values\values.xml:603:错误:找不到样式属性"attr/colorPrimary(又名com.weiuit.LunKey:attr/colorPrimari("。E: \usman repository\office\lolumnkey\LumnKeyStudio\app\build\intermediates\aincremental\mergeDebugResources\merge.dir\values\values.xml:604:错误:找不到样式属性"attr/colorPrimaryDark(又名com.weiuit.lumnkey:attr/colorPrimary Dark("。E: \usman repository\office\lolumnkey\LumnKeyStudio\app\build\intermediates\aincremental\mergeDebugResources\merge.dir\values\values.xml:605:错误:找不到样式属性"attr/colorAccent(又名com.weiuit.LunKey:attr/colorAccept("。错误:找不到资源style/Widget.AppCompat.SeekBar(又名com.weiuit.LunKey:style/Widget.AppCompat.SeekBar(。错误:找不到资源style/Widget.AppCompat.SeekBar(又名com.weiuit.LunKey:style/Widget.AppCompat.SeekBar(。错误:找不到资源style/Theme.AppCompat.Light.Dialog(又名com.weiuit.LunKey:style/Theme.AppCompat.Light.Dialog(。E: \usman repository\office\lolumnkey\LumnKeyStudio\app\build\intermediates\aincremental\mergeDebugResources\merge.dir\values\values.xml:621:错误:找不到样式属性"attr/colorPrimary(又名com.weiuit.LunKey:attr/colorPrimari("。E: \usman repository\office\lolumnkey\LumnKeyStudio\app\build\intermediates\aincremental\mergeDebugResources\merge.dir\values\values.xml:622:错误:找不到样式属性"attr/colorPrimaryDark(又名com.weiuit.LunKey:attr/colorPrimaryBDark("。E: \usman repository\office\lolumnkey\LumnKeyStudio\app\build\intermediates\aincremental\mergeDebugResources\merge.dir\values\values.xml:623:错误:找不到样式属性"attr/colorAccent(又名com.weiuit.LunKey:attr/colorAccept("。E: \usman repository\office\lumnkey\LumnKeyStudio\app\build\intermediates\aincremental\mergeDebugResources\merge.dir\values\values.xml:624:错误:找不到样式属性"attr/windowNoTitle(又名com.weiuit.LunKey:attr/windowNoTitle("。错误:链接引用失败。

命令:C:\Users\Dell.gradle\caches\transforms-1\files-1.1\aapt2-3.2.1-4818971-windows.jar \a5773728be2c4c145526f1a035dad1\aapt2-3.2.1-488971-windows\aapt2.exe link-I\C: \Users\Dell\AppData\Local\Android\Sdk\platforms\Android-28\Android.jar\--舱单\E: \usman repository\office\olumnkey\LumnKeyStudio\app\build\intermediates\merged_manifests\debug\processDebugManifest\merged\AndroidManifest.xml\-o\E: \usman repository\office\lumbkey\LumnKeyStudio\app\build\intermediates\processed_res\debug\processDebugResources\out\resources-debug.ap_\-R\@E: \usman repository\office\lolumnkey\LumnKeyStudio\app\build\intermediates\incremental\processDebugResources\resources资源列表debug.ap_.txt\--自动添加覆盖\--java\E: \usman repository\office\lumbkey\LumnKeyStudio\app\build\generated\not_namespaced_r_class_sources\debug\processDebugResources\r\--自定义程序包\com.weiuit.LumKey\-0\apk\--优选密度\xxxhdpi\--输出文本符号\E: \usman repository\office\lolumnkey\LumnKeyStudio\app\build\intermediates\symbols\debug\R.txt\--无版本矢量守护程序:AAPT2 AAPT2-3.2.1-4818971-windows守护程序#0

我尝试了所有的事情。使现金失效/重新启动、清理、降低依赖关系,我在许多旧项目中都面临这种情况

我认为您尚未在style.xml中创建"style/Theme.AppCompat.Light.NoActionBar"样式,并且您正在manifest中使用该样式。在manifest中将一个样式命名为该名称或使用任何默认的NoActionBar样式

看看我的应用程序风格

<style name="AppThemeWhite" parent="Theme.AppCompat.Light.NoActionBar">
<!-- Customize your theme here. -->
<item name="colorPrimary">@color/primary</item>
<item name="colorPrimaryDark">@color/primaryDark</item>
<item name="colorAccent">@color/app_them_colore</item>
</style>

相关内容

  • 没有找到相关文章

最新更新