简体   繁体   English

Android Theme.AppCompat.Light.NoActionBar无法解析

[英]Android Theme.AppCompat.Light.NoActionBar can not be resolved

I am facing an annoying error. 我面临一个令人讨厌的错误。

Can not resolve Theme.AppCompat.Light.NoActionBar

See the screenshot below 见下面的截图 在此处输入图片说明

Please if anyone could help. 请任何人可以帮助。

Thanks 谢谢

您需要创建一个主题,然后在清单中应用。

制作一个新的android项目,并将style.xml与项目的style.xml文件进行比较,您将获得缺少的部分,并且通过解决问题的方法在那里出现不同步的项。

Thought its long time, I recently faced same issue. 考虑了很长时间,我最近遇到了同样的问题。 Just posting here, so it may help somebody. 只需在此处发布,这样可能会对某人有所帮助。

After lots of struggle with trying all different solutions which not worked. 经过尝试所有无法解决的所有不同解决方案的艰苦努力之后。

Only solution worked for me Uninstall all Android Studio setup. 仅适用于我的解决方案卸载所有Android Studio安装程序。 Like delete .gradle and .android and .AndroidStudio in Users -> pcusername folder. 就像在用户-> pcusername文件夹中删除.gradle以及.android和.AndroidStudio一样。

Also deleted Android folder AppData -> Local -> Android folder. 还删除了Android文件夹AppData->本地-> Android文件夹。

and then do a Fresh install of Android studio setup worked for me. 然后重新安装Android Studio安装程序对我有用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在 Android Studio 上找不到 Theme.AppCompat.Light.NoActionBar - Theme.AppCompat.Light.NoActionBar not found on Android Studio Theme.AppCompat.Light.NoActionBar的父级 - Parent of Theme.AppCompat.Light.NoActionBar Lollipop +设备中的Android主题Theme.AppCompat.Light.NoActionBar的奇怪行为 - Strange behavior of android theme Theme.AppCompat.Light.NoActionBar in Lollipop+ devices 无法解析符号Theme.AppCompat.Light.NoActionBar - Cannot resolve symbol Theme.AppCompat.Light.NoActionBar Unity 说资源样式/Theme.AppCompat.Light.NoActionBar not found - Unity says resource style/Theme.AppCompat.Light.NoActionBar not found 设置Theme.AppCompat.Light.NoActionBar时出现着色问题 - Coloring issue when setting Theme.AppCompat.Light.NoActionBar 如何解决xamarin中的'Theme.AppCompat.Light.NoActionBar'错误? - how to resolve the 'Theme.AppCompat.Light.NoActionBar' error in xamarin? Theme.AppCompat.Light.NoActionBar AdjustResize不起作用 - Theme.AppCompat.Light.NoActionBar AdjustResize does not work 隐藏由Theme.AppCompat.Light.NoActionBar引起的FloatingMenu - Hide FloatingMenu caused by Theme.AppCompat.Light.NoActionBar Theme.AppCompat.Light.NoActionBar 在迁移到 androidx 后不起作用 - Theme.AppCompat.Light.NoActionBar not working after migrating to androidx
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM