Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse ADT appcompat... what is it?

Tags:

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

like image 589
Omar.Ebrahim Avatar asked Mar 05 '14 17:03

Omar.Ebrahim


1 Answers

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:

\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.)

like image 189
NickT Avatar answered Oct 03 '22 15:10

NickT