-4

Below is build.gradle

android {
    compileSdkVersion 25
    buildToolsVersion "25.0.0"

    defaultConfig {
        minSdkVersion 18
        targetSdkVersion 21
        versionName "5.3"
..

    }

But I am able to run the App on Android OREO ( API version 26 or 27 ) How this can be possible? Do I need to change the target SDK version to 26 or 27?

Raulp
  • 7,758
  • 20
  • 93
  • 155

1 Answers1

2

Obviously you will able to run your app in oreo. But as your targetSdkVersion is 21,you will be not able to use new features in Oreo or your app might crash if you use a foregroundService.

kgandroid
  • 5,507
  • 5
  • 39
  • 69