Want to use ViewPager, cannot get android.support.* to be recognized?

前端 未结 2 1749
生来不讨喜
生来不讨喜 2021-01-18 18:57

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 i

相关标签:
2条回答
  • 2021-01-18 19:16

    For Android Studio 1.2.2

    • Right click on your project from the file hierarchy (should say "app")
    • Select "Open Module Settings" from the menu
    • Click on the "Dependencies" tab
    • Click the plus button at the bottom
    • Select "Library dependency"
    • Search/Choose your desired support library
    • Click OK
    0 讨论(0)
  • 2021-01-18 19:21

    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.

    0 讨论(0)
提交回复
热议问题