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
589 views
in Technique[技术] by (71.8m points)

android - Appcompat does not work

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:Androidworkspaceandroid-support-v7-appcompatin
android-support-v7-appcompat.jar'
  testActionBar     Build path  Build Path Problem

what am I not doing right?

See Question&Answers more detail:os

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

1 Answer

0 votes
by (71.8m points)
  • 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


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

...