Eclipse的ADT appcompat ......是什么呢? [英] Eclipse ADT appcompat... what is it?

查看:188
本文介绍了Eclipse的ADT appcompat ......是什么呢?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我花了整个下午都获得绝对行不通的与此有关。 我下载的是Eclipse,下载的SDK,安装更新,但每一个新的Andr​​oid项目,我创造的东西是错误的。

I've spent all afternoon getting absolutely nowhere with this. I've downloaded Eclipse, downloaded the SDK, installed the updates, but every new Android project I create something's wrong.

首先,它不会生成R.java文件,在所有的,现在它,但有它的创建自动调用appcompat_v7一个单独的项目。我不知道这是什么,但它造成的问题与任何其他新项目。

Firstly, it would not generate the R.java file, at all, now it does but there's a separate project it's created automatically called appcompat_v7. I don't know what this is, but it's causing problems with any other new project.

这是一个正常的项目产生错误: 容器Android的依赖关系引用不存在的库'/home/omar/workspace/appcompat_v7/bin/appcompat_v7.jar

This is the error a normal project produces: The container 'Android Dependencies' references non existing library '/home/omar/workspace/appcompat_v7/bin/appcompat_v7.jar'

我完全不知道如何解决这一问题。是什么原因造成的?

I have absolutely no idea how to fix this. What is causing this?

编辑 它只会出现这与奇巧,所有其他的API平台都不会产生任何的源文件....任何想法如何应对呢?

EDIT It appear this is only with KitKat, every other API platform doesn't produce ANY source files at all.... any idea how to combat this?

推荐答案

这是一个支持库,presumably项目指。您将需要建立它作为您的工作空间库项目。这个过程在这里描述添加库的资源支持库设置

It's a support library which presumably your project refers to. You will need to build it as a library project in your workspace. This process is described here Support Library Setup under Adding libraries with resources.

您会发现你需要在你的SDK来复制文件夹中的项目:

You will find the project you need to copy in your SDK in the folder:

\ yourSDKlocation \ TOOLS \ Android的SDK-windows4.4 \演员\机器人\ SUPPORT \ V7 \ appcompat

\yourSDKlocation\tools\android-sdk-windows4.4\extras\android\support\v7\appcompat

(这是没有用的只是复制罐子,你必须把它做成一个库项目。)

(It's no use just copying a jar, you must build it as a library project.)

这篇关于Eclipse的ADT appcompat ......是什么呢?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆