Updating Android SDK Support Library to 23.1.1 on Build

  • 5
  • Announcement
  • Updated 4 years ago
We're updating our Android Support Library from 23.0 to 23.1.1 in the Android SDK today on our build servers.

This may affect plugins that have the support library declared as a dependency specifically at 23.0.0. Dependencies should be listed as 23+ to avoid issues with minor version increments.
Photo of ryan

ryan, Developer

  • 1538 Posts
  • 132 Reply Likes

Posted 4 years ago

  • 5
Photo of JesseMonroy650 (Volunteer)

JesseMonroy650 (Volunteer), Champion

  • 3325 Posts
  • 122 Reply Likes
@ryan,
is there documentation, or an example somewhere that explains how to do this?
TIA
Jesse
Photo of EV Dev

EV Dev

  • 11 Posts
  • 0 Reply Likes
That must be why Android build times went up to over 200 seconds, and are now failing (see status page). Great.
Photo of ryan

ryan, Developer

  • 1538 Posts
  • 132 Reply Likes
@Jesse here is an example of a plugin that lists the support library as a dependency and uses a version range.
Photo of JesseMonroy650 (Volunteer)

JesseMonroy650 (Volunteer), Champion

  • 3325 Posts
  • 122 Reply Likes
@Ryan, Thanks.
Photo of Mo Ismail

Mo Ismail

  • 1 Post
  • 0 Reply Likes
Have you completed the update of Android Support Library from 23.0 to 23.1.1 in the Android SDK on your build servers?
Photo of ryan

ryan, Developer

  • 1538 Posts
  • 132 Reply Likes
@Mo thanks for the ping. Yes this was completed that day.
Photo of Christof Lange

Christof Lange

  • 8 Posts
  • 0 Reply Likes
Hi,

I am receiving the following errors in the build-log

Could not find com.android.support:support-annotations:23.1.1.
Could not find com.android.support:recyclerview-v7:23.1.1.
Could not find com.android.support:support-v4:23.1.1.
[all] Required by:
:project:unspecified > com.mopub:mopub-sdk:4.4.1

when including a dependency that requires these libraries (like com.mopub:mopub-sdk:4.4.1@aar).

Am I wrong thinking, that this is strange since you mention above that the Android Support Library 23.1.1 should be available on build?

/Christof