为了账号安全,请及时绑定邮箱和手机立即绑定

我的第一个安卓程序就不可以运行,是我的软件有问题还是我的创建的过程有问题,急求!!

我的第一个安卓程序就不可以运行,是我的软件有问题还是我的创建的过程有问题,急求!!

慕村0459722 2016-10-12 14:31:48
setContentView(R.layout.hello_world_layout); } @Override public boolean onCreateOptionsMenu(Menu menu) { // Inflate the menu; this adds items to the action bar if it is present. getMenuInflater().inflate(R.menu.hello_world, menu); return true; } @Override public boolean onOptionsItemSelected(MenuItem item) { // Handle action bar item clicks here. The action bar will // automatically handle clicks on the Home/Up button, so long // as you specify a parent activity in AndroidManifest.xml. int id = item.getItemId(); if (id == R.id.action_settings) { return true; } return super.onOptionsItemSelected(item); }}错误是[2016-10-12 14:26:31 - HelloWord] D:\eclipse\HelloWord\AndroidManifest.xml:11: error: Error: No resource found that matches the given name (at 'icon' with value '@drawable/ic_launcher').[2016-10-12 14:26:31 - HelloWord] [2016-10-12 14:26:31 - HelloWorld] D:\eclipse\HelloWorld\AndroidManifest.xml:11: error: Error: No resource found that matches the given name (at 'icon' with value '@drawable/ic_launcher').[2016-10-12 14:26:31 - HelloWorld] [2016-10-12 14:26:32 - aa] D:\eclipse\aa\res\values\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.[2016-10-12 14:26:32 - aa] [2016-10-12 14:26:32 - aa] D:\eclipse\aa\res\values-v11\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.[2016-10-12 14:26:32 - aa] [2016-10-12 14:26:32 - aa] D:\eclipse\aa\res\values-v14\styles.xml:8: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.[2016-10-12 14:26:32 - aa] [2016-10-12 14:26:32 - helloWorlda] D:\eclipse\helloWorlda\res\values\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.[2016-10-12 14:26:32 - helloWorlda] [2016-10-12 14:26:32 - helloWorlda] D:\eclipse\helloWorlda\res\values-v11\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.[2016-10-12 14:26:32 - helloWorlda] [2016-10-12 14:26:32 - helloWorlda] D:\eclipse\helloWorlda\res\values-v14\styles.xml:8: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.[2016-10-12 14:26:32 - helloWorlda] [2016-10-12 14:26:32 - ss] D:\eclipse\ss\res\values\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.[2016-10-12 14:26:32 - ss] [2016-10-12 14:26:32 - ss] D:\eclipse\ss\res\values-v11\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.[2016-10-12 14:26:32 - ss] [2016-10-12 14:26:32 - ss] D:\eclipse\ss\res\values-v14\styles.xml:8: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.[2016-10-12 14:26:32 - ss] 
查看完整描述

2 回答

?
Performer

TA贡献31条经验 获得超16个赞

Error: No resource found that matches the given name (at 'icon' with value '@drawable/ic_launcher').

查看完整回答
反对 回复 2016-10-13
?
ziom

TA贡献948条经验 获得超1109个赞

编译错误,布局文件贴出来看看

查看完整回答
反对 回复 2016-10-13
  • 2 回答
  • 0 关注
  • 2333 浏览

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信