Joseph Cheng
Joseph Cheng

Reputation: 59

Dependencies in the app to fulfil the API Target 26 in Aug/Nov 2018

Google announced that

Google Play will require that new apps target at least Android 8.0 (API level 26) from August 1, 2018, and that app updates target Android 8.0 from November 1, 2018

Do the dependencies used in the app need to target at least Android 8.0 (API level 26)?

Upvotes: 1

Views: 638

Answers (1)

Ali Nem
Ali Nem

Reputation: 5550

As Jake Wharton pointed out here, if the targetSdkVersion is specified in the dependencies it is merged in the app using it. So it is best that the dependency does not have any targetSdkVersion in its gradle and leave it to the app using it. Otherwise, the merger would either use the higher targetSdk or fail.

Upvotes: 0

Related Questions