Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Appcompat does not work

Tags:

android

I am trying to use appcompat in my application. I have done everything according to the instructions. But when I add android-support-v7-appcompat as a library in my proect, I have an error like so:

Description Resource    Path    Location    Type
The container 'Android Dependencies' references non existing library 
'C:\Android\workspace\android-support-v7-appcompat\bin\
android-support-v7-appcompat.jar'
  testActionBar     Build path  Build Path Problem

what am I not doing right?

like image 534
user3176367 Avatar asked Jan 20 '14 08:01

user3176367


2 Answers

  • delete appcompat.jar and v4-support.jar from libs folder
  • clean ur project

    How to add android-support-v7-appcompat as a library

  • import android-support-v7-appcompat in eclipse as a library project and check copy into workspace

  • add android-support-v7-appcompat as library in ur project
  • right click on ur project -----> properties ------>android ------> add

how to add v-7 as library

  • clean ur project

I think this will help u

like image 84
Kaushik Avatar answered Oct 02 '22 01:10

Kaushik


Before creating the project, run eclipse as Administrator so that it creates the jar in the location that it is referencing to.

Right click the eclipse icon and select the option"Run as Administrator"

like image 21
Anton Avatar answered Oct 02 '22 00:10

Anton