189 8069 5689

android-support-v7-appcompat.jar的安装及相关问题解决

1、DownLoading the Support Libraries

创新互联公司专注为客户提供全方位的互联网综合服务,包含不限于网站建设、成都做网站、杭州网络推广、成都小程序开发、杭州网络营销、杭州企业策划、杭州品牌公关、搜索引擎seo、人物专访、企业宣传片、企业代运营等,从售前售中售后,我们都将竭诚为您服务,您的肯定,是我们最大的嘉奖;创新互联公司为所有大学生创业者提供杭州建站搭建服务,24小时服务热线:13518219792,官方网址:www.cdcxhl.com

   1)Start the Android SDK Manager.

   2)In the SDK Manager window, scroll to the end of the Packages list, find theExtras

     folder and, if necessary, expand to show its contents.

   3)Select the Android Support Library item.

  4)Click the Install Packages... button

After downloading, the tool installs the Support Library files to your existing Android SDK directory. The library files are located in the following subdirectory of your SDK: /extras/android/support dirctory

2、安装支持库

  1)首先创建一个Library Project

       File->import.

       选择Existing Android Code Into Workspace ,单击 Next

      找到SDK 安装目录的支持库。比如,这里需要找到以下目录录 /extras/android/support/v7/appcompat/.  

      单击Finish 就可以导入项目。现在你可以看到一个名为 android-support-v7-appcompat.的        新项目。

      在新项目下的libs目录下,将.jar文件加入到路径中。

      在新项目文件名称上面右键,选择Configure Build Path

      在Order and Export 标签下面,选中刚刚加入的.jar文件,将Android Dependencies不选中,单击OK

  2)将支持库加入到自己的项目中

       在项目中右键自己的项目名称,选择Properties

       在左侧边栏选中Android

       点击Add按钮

       选择库项目,比如这里的android-support-v7-appcompat.。如果此处找不到,则在安装支持库之          前需要/extras/android/support中的文件拷贝到你的workplaces中,

        选择OK即可。


网站标题:android-support-v7-appcompat.jar的安装及相关问题解决
新闻来源:http://cdxtjz.cn/article/gcpocd.html

其他资讯