문제

I am trying to use PagerSlidingTabStrip (https://github.com/astuetz/PagerSlidingTabStrip) in my Android project. I have added to my build.gradle the dependency, like the others libraries I use in the project (Gson, Volley...). All of these libraries works without problems, but PagerSlidingTabStrip doesn't work. I try to import it and use in my Activities and Fragments but I can't. I don't know what is the problem, and Android Studio don't show any error.

도움이 되었습니까?

해결책

Try this:

  1. Close Android Studio.

  2. Delete or rename all of the *.iml files associated with this project and its modules. AFAICT, there is one at the project root and one in each module.

  3. Restart Android Studio, allowing it to rebuild the *.iml files.

I ran into a similar situation yesterday, and this resolved it.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top