question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Build app for Android 11

See original GitHub issue

Avoid duplicates

  • This enhancement request has not already been raised before
  • Enhancement request is specific for Android only, for general issues / questions that apply to iOS and Android please raise them in CWA-Wishlist
  • If you are proposing a new feature, please do so in CWA-Wishlist

Current Implementation

The Android version of the Corona-Warn-App version 2.2.x is built with targetSdkVersion 29 equivalent to Android 10. This is true also for branches release/2.3.x and release/2.4.x intended for future releases.

Suggested Enhancement

Update the Android CWA release to build against API 30 (Android 11).

Expected Benefits

According to https://developer.android.com/distribute/best-practices/develop/target-sdk “Starting in November 2021, app updates will be required to target API level 30 or above and adjust for behavioral changes in Android 11.” (Thanks to @PhilippNowak96 for this link.)

Since the release of the first version of CWA in June 2020, last year, Android has released Android 11. Apart from new devices being released with Android 11 from the beginning, also mid-range Android 10 devices such as Samsung Galaxy A50 devices, previously running Android 10, are being offered Android 11 firmware updates.

In addition Android 12 became available as a beta release in May 2021 (see https://developer.android.com/about/versions/12). The SDK is labelled “S Preview”.

Advanced users may be migrating to Android 12 beta and observe compatibility problems if targetSdkVersion 29 is not updated. (Uncertain if this statement is true.)

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

github_iconTop Results From Across the Web

Set up the Android 11 SDK
Click Tools > SDK Manager. · In the SDK Platforms tab, select Android 11. · In the SDK Tools tab, select Android SDK...
Read more >
Migrating apps to Android 11
Quick overview of the steps involved in bringing your app to Android 11.
Read more >
Build and run your app - Android Developers
To see how your app looks and behaves on a device, you need to build and run it. Android Studio sets up new...
Read more >
Build your first app - Android Developers
Build your first Android app ; Create a Hello World app · Start codelab ; Start the Android Basics course · Go to...
Read more >
Android 11 - Android Developers
Set up Android Studio — try the Android 11 SDK and tools. See the Setup Guide for steps. Learn about what's new —...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found