<i id='57s2B'><tr id='57s2B'><dt id='57s2B'><q id='57s2B'><span id='57s2B'><b id='57s2B'><form id='57s2B'><ins id='57s2B'></ins><ul id='57s2B'></ul><sub id='57s2B'></sub></form><legend id='57s2B'></legend><bdo id='57s2B'><pre id='57s2B'><center id='57s2B'></center></pre></bdo></b><th id='57s2B'></th></span></q></dt></tr></i><div id='57s2B'><tfoot id='57s2B'></tfoot><dl id='57s2B'><fieldset id='57s2B'></fieldset></dl></div>
  • <legend id='57s2B'><style id='57s2B'><dir id='57s2B'><q id='57s2B'></q></dir></style></legend>
      <bdo id='57s2B'></bdo><ul id='57s2B'></ul>

    <tfoot id='57s2B'></tfoot>

      1. <small id='57s2B'></small><noframes id='57s2B'>

      2. 想使用ViewPager,无法识别android.support.*?

        时间:2023-10-03

            1. <small id='Zfhhh'></small><noframes id='Zfhhh'>

              • <bdo id='Zfhhh'></bdo><ul id='Zfhhh'></ul>

              • <legend id='Zfhhh'><style id='Zfhhh'><dir id='Zfhhh'><q id='Zfhhh'></q></dir></style></legend>
                <i id='Zfhhh'><tr id='Zfhhh'><dt id='Zfhhh'><q id='Zfhhh'><span id='Zfhhh'><b id='Zfhhh'><form id='Zfhhh'><ins id='Zfhhh'></ins><ul id='Zfhhh'></ul><sub id='Zfhhh'></sub></form><legend id='Zfhhh'></legend><bdo id='Zfhhh'><pre id='Zfhhh'><center id='Zfhhh'></center></pre></bdo></b><th id='Zfhhh'></th></span></q></dt></tr></i><div id='Zfhhh'><tfoot id='Zfhhh'></tfoot><dl id='Zfhhh'><fieldset id='Zfhhh'></fieldset></dl></div>

                    <tbody id='Zfhhh'></tbody>
                1. <tfoot id='Zfhhh'></tfoot>
                  本文介绍了想使用ViewPager,无法识别android.support.*?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  编辑对不起所有的图片.我试图让你知道我在哪里.

                  我正在尝试获取 开始开发此应用程序但从未使用过它.我尝试重新安装软件包以消除此弹出窗口,但它不会让我因为它已经安装.

                  在我的代码中,尝试 import android.support.v4.view.ViewPager; 时出现错误.屏幕截图如下.当我将光标悬停在 import 行上时,它显示 无法解析导入 android.support.v4.

                  解决方案

                  将 Android 支持库添加到现有的 Android 项目:

                  • 右键单击您的项目
                  • 点击Android工具
                  • 点击添加支持库

                  这应该负责设置 android-support jar,以便项目可以使用它.

                  EDIT Sorry about all the pictures. I tried to give you the best idea of where I am at.

                  I am trying to get ViewPager working on my application, but it will not recognize the Support Library that I downloaded in the SDK manager.

                  I am coding for SDK Version 10. This is a screen shot of my SDK Manager:

                  After installing the Android Support Library and the most recent Tools, I went to Help >> Check for Updates. After running this I receive the two pop ups shown below.

                  The Problem Occured pop up says that it can't find a repository at that site. I installed the Sequoyah Natice Code Support when I first started developing this application but have never used it. I tried to re-install the package to get rid of this pop-up but it will not let me as it is already installed.

                  In my code I get an error when trying to import android.support.v4.view.ViewPager;. The screen shot is below. When I hover my cursor over the import line, it says The import android.support.v4 cannot be resolved.

                  解决方案

                  To add the Android Support Library to an existing Android Project:

                  • Right click on your project
                  • Click Android Tools
                  • Click Add Support Library

                  That should take care of setting up the android-support jar so it can be used by the project.

                  这篇关于想使用ViewPager,无法识别android.support.*?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:Android getSupportFragmentManager Fragment中的NULL指针异常 下一篇:从 ViewPager 中删除或清除所有片段

                  相关文章

                    <bdo id='XjcXS'></bdo><ul id='XjcXS'></ul>
                  <i id='XjcXS'><tr id='XjcXS'><dt id='XjcXS'><q id='XjcXS'><span id='XjcXS'><b id='XjcXS'><form id='XjcXS'><ins id='XjcXS'></ins><ul id='XjcXS'></ul><sub id='XjcXS'></sub></form><legend id='XjcXS'></legend><bdo id='XjcXS'><pre id='XjcXS'><center id='XjcXS'></center></pre></bdo></b><th id='XjcXS'></th></span></q></dt></tr></i><div id='XjcXS'><tfoot id='XjcXS'></tfoot><dl id='XjcXS'><fieldset id='XjcXS'></fieldset></dl></div>

                  <tfoot id='XjcXS'></tfoot>

                  <small id='XjcXS'></small><noframes id='XjcXS'>

                      <legend id='XjcXS'><style id='XjcXS'><dir id='XjcXS'><q id='XjcXS'></q></dir></style></legend>