« Android Studio のWiFi接続 | メイン | お気に入り Editor > Code Style > Java »

Android

10/11(金)AM4:51 にグーグルから届いたメール

[Action Required] Update your Android targetSdkVersion by November 1
 Hello Google Play Developer,

This is a reminder that starting November 1, 2019, updates to apps and games on Google Play will be required to target Android 9 (API level 28) or higher. After this date, the Play Console will prevent you from submitting new APKs with a targetSdkVersion less than 28.

Configuring your app to target a recent API level ensures that users benefit from significant security and performance improvements, while still allowing your app to run on older Android versions (down to the minSdkVersion).

Action required

Please ensure that your apps are configured to target at least Android 9 (API level 28) by November 1, 2019. For technical advice on how to change your app's target API level to meet these requirements, refer to the migration guide.

Affected apps

The apps included below have one or more APKs—in production or testing tracks—that aren't currently targeting API level 28 or higher. Apps are listed with the maximum version code and corresponding targetSdkVersion. If you have more than 20 apps that could be affected in your account, please check the Play Console for a full list.
asia.remix.clocksignal   4   24
asia.remix.clocksignals   3   24
asia.remix.clocktalk   4   26
asia.remix.clocktalkfree   7   26
asia.remix.daydreammovie   2   23
asia.remix.dictation   2   25
asia.remix.dictationfree   3   24
asia.remix.eiken2p   1   23
asia.remix.eiken3   1   23
asia.remix.eiken4   1   23
asia.remix.eiken5   1   23
asia.remix.koumon   1   23
asia.remix.learningcard   1   23
asia.remix.metronome   2   23
asia.remix.newsreaderfree   3   26
asia.remix.orgelfree   4   24
asia.remix.rokuseicm   1   24
asia.remix.sportswatchfree   3   24
asia.remix.wakeuponlan   1   23

The Google Play Team
和訳は
https://developers-jp.googleblog.com/2019/03/2019-api.html
放置すると、インストール時にデンジャラスなメッセージが表示される模様。

Android Studio 3.5.1 での対応手順・・・▼
Gitマスターリポジトリからクローン。
PROJECTNAME/app/build.gradle 次の値を変更
compileSdkVersion 29
buildToolsVersion "29.0.1"
targetSdkVersion 29

他に versionCode をカウントアップし versionName を調整。
dependencies {~}ブロック内の古い記法
compile → implementation
androidTestCompile → androidTestImplementation
testCompile → testImplementation
それぞれ置換。

PROJECTNAME/build.gradle 次の値を変更
buildscript {
    repositories {
        jcenter()
        google() ←追記★
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:3.5.1' ←修正★
    }
}

allprojects {
    repositories {
        jcenter()
        google() ←追記★
    }
}

task clean(type: Delete) {
    delete rootProject.buildDir
}

PROJECTNAME/gradle/wrapper/gradle-wrapper.properties 次の値を変更
distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-all.zip
以上で 無事全ての公開アプリをアップデート完了。

トラックバック

このエントリーのトラックバックURL:
https://www.remix.asia/cgi/mt/mt-tb.cgi/7696

コメントを投稿

(いままで、ここでコメントしたことがないときは、コメントを表示する前にこのブログのオーナーの承認が必要になることがあります。承認されるまではコメントは表示されません。そのときはしばらく待ってください。)