Как создать проект с версией «compileSdkVersion 22» и «targetSdkVersion 22»?
Как создать проект с версией «compileSdkVersion 22» и «targetSdkVersion 22» и собрать его? Пытался создать данный проект но получаю кучу ошибок, а сам проект не запускается.
14 issues were found when checking AAR metadata:
Dependency 'androidx.appcompat:appcompat-resources:1.5.1' requires libraries and applications that depend on it to compile against version 32 or later of the Android APIs.
:app is currently compiled against android-22.
Recommended action: Update this project to use a newer compileSdkVersion of at least 32, for example 32.
Note that updating a library or application's compileSdkVersion (which allows newer APIs to be used) can be done separately from updating targetSdkVersion (which opts the app in to new runtime behavior) and minSdkVersion (which determines which devices the app can be installed on).
Dependency 'androidx.appcompat:appcompat:1.5.1' requires libraries and applications that depend on it to compile against version 32 or later of the Android APIs.
:app is currently compiled against android-22.
Recommended action: Update this project to use a newer compileSdkVersion of at least 32, for example 32.
Note that updating a library or application's compileSdkVersion (which allows newer APIs to be used) can be done separately from updating targetSdkVersion (which opts the app in to new runtime behavior) and minSdkVersion (which determines which devices the app can be installed on).
Dependency 'androidx.activity:activity:1.5.1' requires libraries and applications that depend on it to compile against version 31 or later of the Android APIs.
:app is currently compiled against android-22.
Recommended action: Update this project to use a newer compileSdkVersion of at least 31, for example 32.
Note that updating a library or application's compileSdkVersion (which allows newer APIs to be used) can be done separately from updating targetSdkVersion (which opts the app in to new runtime behavior) and minSdkVersion (which determines which devices the app can be installed on).
Dependency 'androidx.lifecycle:lifecycle-viewmodel:2.5.1' requires libraries and applications that depend on it to compile against version 31 or later of the Android APIs.
:app is currently compiled against android-22.
Recommended action: Update this project to use a newer compileSdkVersion of at least 31, for example 32.
Note that updating a library or application's compileSdkVersion (which allows newer APIs to be used) can be done separately from updating targetSdkVersion (which opts the app in to new runtime behavior) and minSdkVersion (which determines which devices the app can be installed on).
Dependency 'androidx.lifecycle:lifecycle-viewmodel-savedstate:2.5.1' requires libraries and applications that depend on it to compile against version 31 or later of the Android APIs.
:app is currently compiled against android-22.
Recommended action: Update this project to use a newer compileSdkVersion of at least 31, for example 32.
Note that updating a library or application's compileSdkVersion (which allows newer APIs to be used) can be done separately from updating targetSdkVersion (which opts the app in to new runtime behavior) and minSdkVersion (which determines which devices the app can be installed on).
Dependency 'androidx.core:core-ktx:1.8.0' requires libraries and applications that depend on it to compile against version 31 or later of the Android APIs.
:app is currently compiled against android-22.
Recommended action: Update this project to use a newer compileSdkVersion of at least 31, for example 32.
Note that updating a library or application's compileSdkVersion (which allows newer APIs to be used) can be done separately from updating targetSdkVersion (which opts the app in to new runtime behavior) and minSdkVersion (which determines which devices the app can be installed on).
Dependency 'androidx.emoji2:emoji2-views-helper:1.2.0' requires libraries and applications that depend on it to compile against version 32 or later of the Android APIs.
:app is currently compiled against android-22.
Recommended action: Update this project to use a newer compileSdkVersion of at least 32, for example 32.
Note that updating a library or application's compileSdkVersion (which allows newer APIs to be used) can be done separately from updating targetSdkVersion (which opts the app in to new runtime behavior) and minSdkVersion (which determines which devices the app can be installed on).
Dependency 'androidx.emoji2:emoji2:1.2.0' requires libraries and applications that depend on it to compile against version 32 or later of the Android APIs.
:app is currently compiled against android-22.
Recommended action: Update this project to use a newer compileSdkVersion of at least 32, for example 32.
Note that updating a library or application's compileSdkVersion (which allows newer APIs to be used) can be done separately from updating targetSdkVersion (which opts the app in to new runtime behavior) and minSdkVersion (which determines which devices the app can be installed on).
Dependency 'androidx.core:core:1.8.0' requires libraries and applications that depend on it to compile against version 31 or later of the Android APIs.
:app is currently compiled against android-22.
Recommended action: Update this project to use a newer compileSdkVersion of at least 31, for example 32.
Note that updating a library or application's compileSdkVersion (which allows newer APIs to be used) can be done separately from updating targetSdkVersion (which opts the app in to new runtime behavior) and minSdkVersion (which determines which devices the app can be installed on).
Dependency 'androidx.lifecycle:lifecycle-process:2.4.1' requires libraries and applications that depend on it to compile against version 31 or later of the Android APIs.
:app is currently compiled against android-22.
Recommended action: Update this project to use a newer compileSdkVersion of at least 31, for example 32.
Note that updating a library or application's compileSdkVersion (which allows newer APIs to be used) can be done separately from updating targetSdkVersion (which opts the app in to new runtime behavior) and minSdkVersion (which determines which devices the app can be installed on).
Dependency 'androidx.lifecycle:lifecycle-runtime:2.5.1' requires libraries and applications that depend on it to compile against version 31 or later of the Android APIs.
:app is currently compiled against android-22.
Recommended action: Update this project to use a newer compileSdkVersion of at least 31, for example 32.
Note that updating a library or application's compileSdkVersion (which allows newer APIs to be used) can be done separately from updating targetSdkVersion (which opts the app in to new runtime behavior) and minSdkVersion (which determines which devices the app can be installed on).
Dependency 'androidx.savedstate:savedstate:1.2.0' requires libraries and applications that depend on it to compile against version 31 or later of the Android APIs.
:app is currently compiled against android-22.
Recommended action: Update this project to use a newer compileSdkVersion of at least 31, for example 32.
Note that updating a library or application's compileSdkVersion (which allows newer APIs to be used) can be done separately from updating targetSdkVersion (which opts the app in to new runtime behavior) and minSdkVersion (which determines which devices the app can be installed on).
Dependency 'androidx.startup:startup-runtime:1.1.1' requires libraries and applications that depend on it to compile against version 31 or later of the Android APIs.
:app is currently compiled against android-22.
Recommended action: Update this project to use a newer compileSdkVersion of at least 31, for example 32.
Note that updating a library or application's compileSdkVersion (which allows newer APIs to be used) can be done separately from updating targetSdkVersion (which opts the app in to new runtime behavior) and minSdkVersion (which determines which devices the app can be installed on).
Dependency 'androidx.lifecycle:lifecycle-livedata-core:2.5.1' requires libraries and applications that depend on it to compile against version 31 or later of the Android APIs.
:app is currently compiled against android-22.
Recommended action: Update this project to use a newer compileSdkVersion of at least 31, for example 32.
Note that updating a library or application's compileSdkVersion (which allows newer APIs to be used) can be done separately from updating targetSdkVersion (which opts the app in to new runtime behavior) and minSdkVersion (which determines which devices the app can be installed on).