Android support library error after updating to 23.3.0

后端 未结 13 787
南笙
南笙 2020-11-30 02:28

I have been using android support v4 23.1.1 and recently tried to update it to 23.3.0 ( the latest one when this was asked) but I got the following error:

13条回答
  •  生来不讨喜
    2020-11-30 02:55

    For those people who are still facing this problem just add this line to your dependencies.

    androidTestCompile 'com.android.support:support-annotations:23.3.0'
    

    It solved my problem.

    UPDATE:

    If you have this error nowadays, you can just insert the new versioncode (23.3.0 in this case, or 27.1.1 in May '18) as it is described in the error into the above described solution.

提交回复
热议问题