error after updating the support library

前端 未结 5 896
耶瑟儿~
耶瑟儿~ 2021-01-01 16:47

I just updated my libraries when Android 5.0 got lunched today

one of the files that got updated is android-support-v7. after that I kept getting these errors

5条回答
  •  一向
    一向 (楼主)
    2021-01-01 16:50

    If using eclipse make sure you have updated these tools from SDK Manager-

    1. Android 5.0(API 21)-SDK Platform
    2. Android support repository
    3. Android support library
    4. Google Play Services
    5. Google Repository
    6. Latest Build Tools

    After updating all of them import v7 project and open the project.properties file of the android-support-v7-appcompat and change the target from target=android-19 to target=android-21 .

    Clean the project and you are good to go.

提交回复
热议问题