简体   繁体   English

在android中,当我尝试运行我的项目时失败了吗?

[英]In android when i try to run my project it fails?

In android when i try to run my project it says 'No resource found that matches the given name 'Theme.AppCompat.Light'? 在Android中,当我尝试运行我的项目时,提示“找不到与给定名称'Theme.AppCompat.Light相匹配的资源”? I did the following steps but nothing changed.Why is that? 我执行了以下步骤,但没有任何更改,这是为什么? -->open android SDK manager,make sure that Android Support Library is installed.. ->打开android SDK管理器,确保已安装Android支持库。

-->After that the AppCompat Can be found at ->之后,可以在以下位置找到AppCompat

android-sdk/extras/android/support/v7/appcompat -->You need to reference this AppCompat in your android project. android-sdk / extras / android / support / v7 / appcompat->您需要在android项目中引用此AppCompat。

-->Import the library to eclipse. ->导入库以使其黯然失色。 -->Right click on your android project. ->右键单击您的android项目。 Goto Properties. 转到属性。 goto andorid. 转到安多里德。 Click Add Library and reference the same. 单击添加库,然后引用相同的库。 -->Clean and Rebuild your project ->清理并重建您的项目

You need to do: 您需要做:

  • File->Import (android-sdk\\extras\\android\\support\\v7). 文件->导入(android-sdk \\ extras \\ android \\ support \\ v7)。
  • Choose "appcompat" Project-> properties->Android . 选择“ appcompat”项目->属性-> Android
  • In the section library "Add" and choose " appCompat " That is all! “添加”部分库中,选择“ appCompat ”,仅此而已

暂无
暂无

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

相关问题 当我尝试在Android Studio上运行我的Android程序时出现NullPointerException - NullPointerException when I try to run my Android Program on Android Studio 尝试在cmd中运行我的项目时出错 - Error when try to run my project in cmd 配置中的映射元素未指定属性尝试在Hibernate中运行项目时发生错误 - Mapping element in configuration specifies no attributes Error occurred when i try to run my project in Hibernate 当我尝试通过 Jenkins 在 Linux 服务器中运行我的项目时,出现“java.lang.IllegalStateException: The driver is not executable” - "java.lang.IllegalStateException: The driver is not executable" when I try to run my project in Linux server through Jenkins 当我尝试运行简单的hello world时,刚刚制作了一个新的android应用程序项目,它有一个错误 - Just made a new android application project when i try and run the simple hello world it has an error 当我尝试构建项目时,清单合并失败 - Manifest Merger fails when I try to build the project 尝试在Android Studio中构建项目时如何解决此错误? - How can I fix this error when I try to build my project in Android Studio? 当我尝试在 .netbeans 中运行 maven 项目时出现错误 - I have an error when I try to run a maven project in netbeans 当我尝试通过拖放运行我的Android应用程序时遇到意外错误 - Getting an unexpected error when I try to run my Android app with drag and drop 我无法在 android studio 上运行我的项目。 每当我尝试下载模拟器时,它都会显示以下错误 - I am not able to run my project on android studio. It is showing the following error whenever I try to download emulator
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM