Home > Mobile >  About the install in Android development run is not supported on devices with API 20 or lower levels
About the install in Android development run is not supported on devices with API 20 or lower levels

Time:10-07

Yesterday with my cell phone with real machine debug the code, then I use a virtual machine debugging has been prompted the install the run is not supported on devices with API 20 or the lower levels, and then has been a Session 'app' : the Error Installing the APK,
The problem is not the online Session 'app' : the Error Installing APK, it basically is to install the run is not supported on devices with API levels 20 or lower this question,
Open the SDK manager, you can see I only installed API28, whereas API24 shows partially, but I have been using Android virtual machine, so I created a API28 virtual machine, you can run,
Don't know if this is the reason why I use undeserved or what's the matter, but it is solved the problem,

CodePudding user response:

How much is your project minSdkVersion version? See the description should be 21, so the following android5.0 virtual machine or machine can install

CodePudding user response:

Open the build of the app. Gradle file and see what is the current version

CodePudding user response:

minSdkVersion15

CodePudding user response:

reference m - 1/f, oj response:
the minSdkVersion version of your project is how much? See the description should be 21, so the following android5.0 virtual machine or real machine can install

CompileSdkVersion 28
DefaultConfig {
ApplicationId "com. Example. XFT. Myapplication"
MinSdkVersion 15
TargetSdkVersion 28
VersionCode 1
VersionName "1.0"
TestInstrumentationRunner "android. Support. The test. The runner. AndroidJUnitRunner"
}

CodePudding user response:

I can only understand the minimum SDK version is 15
Other see don't understand

CodePudding user response:

How do I also met are not installed, after cleaning project, can regenerate after installation

CodePudding user response:


You should open it, turn it off

CodePudding user response:

Write very clear "instantrun" does not support the 21st the simulator
What instantrun is their search
  • Related