Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
129 views
in Technique[技术] by (71.8m points)

java - Eclipse ADT appcompat... what is it?

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.

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.

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?

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?

enter image description here

enter image description here

enter image description here

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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.

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

yourSDKlocationoolsandroid-sdk-windows4.4extrasandroidsupportv7appcompat

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


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...