2

I have Updated my Android Studio to 2.2.2 and installed Latest SDK. Now Build tools version is 25.0.0, but when I tried creating a new project, in minimum SDK section there is no API level 8 (Froyo) option.

Also I tried importing my project which having minSdkVersion 8, but it is giving me the error : "uses-sdk:minSdkVersion 8 cannot be smaller than version 9 declared in library [com.android.support:appcompat-v7:25.0.0]" and it suggest me to use tools:overrideLibrary="android.support.v7.appcompat" to force usage

So does it mean, from now on the latest appCompat-v7 will no longer support API 8? I know I can develop for the API 8 using lower versions of appCompat-v7 and build tools but isn't there any way to use this latest library(s) for API 8 (without overriding appCompat-v7:25.0.0).

Please correct me if I am doing anything wrong.

Mahesh B ツ
  • 128
  • 4
  • 14

2 Answers2

0

yes definitely the updates are to improvize the configuration and with some new updates the old sdk versions will not be compatible . check out for example vector assets in android studio which are not compatible with older sdk's

try using this dependency in your project and compile compile 'com.android.support:multidex:1.0.0'

also in your application class write this.install(multidex);

try it out .it may work

md gouse
  • 527
  • 1
  • 6
  • 22
  • 1
    `check out for example vector assets ... which are not compatible with older sdk's` So what are the **support libraries** for, in your opinion? – Phantômaxx Nov 07 '16 at 06:34
  • that support libraries helps you sometimes when your sdk version gets incompatible – md gouse Nov 07 '16 at 06:40
  • `support libraries helps you sometimes` I.e.: when you need VectorDrawables on older API Levels. – Phantômaxx Nov 07 '16 at 06:44
0

The support libraries since the version of 24.2.0 moved the minSdk to 9.

You can check the official release notes:

Note: Release 24.2.0 removes support for Android 2.2 (API level 8) and lower. Classes and methods that exist only to serve those system versions are now marked as deprecated and should no longer be used. These deprecated classes and methods may be removed in a future release

About your question:

So does it mean, from now on the latest appCompat-v7 will no longer support API 8?

Yes, these libraries will not support this api level.
If you want to work with minSdk=8 you have to use the version 24.1.1.

Gabriele Mariotti
  • 320,139
  • 94
  • 887
  • 841