Imported module in Android Studio can't find imported class

前端 未结 7 1701
春和景丽
春和景丽 2020-12-28 12:33

I recently downloaded the ViewPagerIndicator library and imported it into android studio. After adding it to my project I get a rendering error \"The following classes could

7条回答
  •  暖寄归人
    2020-12-28 13:07

    The issue in my case was different compile and target SDK version, mentioned in my main app module and your added lib module. Once I matched both of them it worked perfectly. So just open build.gradle file of app-level and lib module-level check for the SDK version.

提交回复
热议问题