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

发布时间:2020-06-25 16:31:16 作者:tangduanping
来源:网络 阅读:5718

1、DownLoading the Support Libraries

   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: <sdk>/extras/android/support dirctory

2、安装支持库

  1)首先创建一个Library Project

       File->import.

       选择Existing Android Code Into Workspace ,单击 Next

      找到SDK 安装目录的支持库。比如,这里需要找到以下目录录 <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.。如果此处找不到,则在安装支持库之          前需要<sdk>/extras/android/support中的文件拷贝到你的workplaces中,

        选择OK即可。

推荐阅读:
  1. 如何正确的安装与使用PyCharm+Anaconda
  2. 如何安装与使用varnish3.0

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

安装 问题 android-support-v7-a

上一篇:C语言之大小端问题

下一篇:Springboot 在 idea 中 devtools 热部署不生效

相关阅读

您好,登录后才能下订单哦!

密码登录
登录注册
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》