Android support library error after updating to 23.3.0

后端 未结 13 790
南笙
南笙 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:58

    You have to use the same version for app and androidTest APKs. To do this, specify the same version as your app,

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

    where 24.1.1 is the version number of the dependency used in your app

提交回复
热议问题