LoginSignup
4
2

More than 5 years have passed since last update.

[めも]Android のminimum SDK関連

Last updated at Posted at 2017-06-26

旧バージョン(Android 2.3.x)の切り捨てが進むようなので、めも。
一部、プレビュー版の情報を含みます。

Support Library: 26.0.0 Alpha 1 (March 2017) 以降は、minimum SDKが14に

Recent Support Library Revisions
Revision 26.0.0 Alpha 1 (March 2017)

Note: The minimum SDK version has been increased to 14. As a result, many APIs that existed only for API < 14 compatibility have been deprecated. Clients of these APIs should migrate to their framework equivalents as noted in the reference page for each deprecated API.

訳: minimum SDKが14になります。そのため、API 14未満の環境のために存在していた多くのAPIが廃止されます。これらAPIを使用している場合は、リファレンスを参照して、互換性のあるAPIに移行して下さい。

補足

おそらく、(工数的に)影響が大きい変更かと思います。
影響範囲は未確認ですが、Support Libraryを使う理由の1つである、Activity関連(FragmentActivity、AppCompatActivity)などのクラスもAPI廃止の影響を受けるかと思います。
当該クラスのリファレンスをdeprecatedで検索しても、26.0.0関連は1件しか出てこないのが怖い所・・

FragmentActivity.supportInvalidateOptionsMenu()
This method was deprecated in API level 26.0.0-alpha1. Call invalidateOptionsMenu() directly.

Google APIs for Android: February 2017 - version 10.2 以降は、minimum SDKが14に

February 2017 - version 10.2

・Android version 2.3.x (Gingerbread) Deprecation
Google Play services 10.2.x is the first release that no longer includes full support for Android version 2.3.x (Gingerbread). Apps developed using SDK release 10.2.x and later require a minimum Android API level of 14 and cannot be installed on devices running an API level below 14.

訳: Google Play services 10.2.xは、Android version 2.3.x (Gingerbread)のフルサポートをしない最初のバージョンです。minimum Android API levelが14となり、それ未満の端末にはインストールできなくなります。

補足: Firebaseのリリースノートには関連情報が明記されていないようなので注意しましょう

Firebase
Release NotesFirebase Android Release Notes

February 15, 2017
The Firebase Android SDK (v10.2) is now available as part of the Google Play services 10.2 release.

November 21, 2016
The Firebase Android SDK (v10.0) is now available as part of the Google Play services 10.0 release.


ライブラリの取得方法が変わります。

はまりそうなので、これも。

Recent Support Library Revisions
Revision 26.0.0 Beta 2 (June 2017)
Revision 25.4.0 (June 2017)
Revision 26.0.0 Beta 1 (May 2017)

Important: The support libraries are now available through Google's Maven repository. You do not need to download the support repository from the SDK Manager.

4
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
2