Android开发--在Eclipse中使用android.support.v7

1、项目右键 --> import --> Android --> Existing Android Code Into workspace

        --> 选择..\sdk\extras\android\support\v7\appcompat(根据自己的文件存放路径先择)

        --> 勾选copy projects into workspace --> finish

          (若出现unable to resolve target 'android-16', 修改project.properties)

 

2、在项目中引用android.support.v7

       项目右键 --> properties --> Android --> Library --> Add --> OK

 

你可能感兴趣的:(android,Android开发)