Installation did not succeed.
The application could not be installed: INSTALL_FAILED_OLDER_SDK
The application’s minSdkVersion is newer than The device API level.
means that the SDK version of the device I am using is lower than the required SDK version
solution:
find the project location
project location \app\build. Gradle
note that it is under the app folder, not the well-known one (under the gradle folder)
, minSdkVersion
, minSdkVersion
, minSdkVersion set the range is 14-16,
and targetSdkVersion I test from 1 to 10000 no problem, but still do not suggest to randomly change
according to the personal computer Settings are different, don’t ask me how I got this range, I tried for a long time
specific version number is as follows
android {
compileSdkVersion 29
buildToolsVersion "29.0.3"
defaultConfig {
applicationId "com.example.myapplication"
minSdkVersion 15
targetSdkVersion 29
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
gradle version is the latest 3.6.0
this time reminds me of the time when I used a very low version and could not be automatically updated to the latest version. I could only install the tesorflow library from the PIP on the official website, which was not suitable for the 3.7 version. As a result, I reinstalled two versions of python, including 2.0 version but not 3.6 version
Read More:
- Android Studio | Failed to find target with hash string ‘android-26’ in: D:\Android\sdk
- Re installing Android studio always fails to install SDK when installing software (solution)
- Error in Cordova project execution command after Android studio upgrade: could not find gradle wrapper within Android SDK
- When Android Studio runs the app, it prompts Error: Please select Android SDK
- Android Studio Install Error Failed to install Intel HAXM. For details, please check the installation log
- Install Android SDK — stopping ADB server failed (code – 1)
- Android studio failed to resolve: junit:junit : 4.12 solutions
- Android Studio sync build.gradle appears: Failed to resolve: com.android.support:appcompat problem
- 2021-07-27 Android studio:Installed build tools revision 31.0.0 is corrupted.Remove and install ag
- Android Studio: Solve the INSTALL_FAILED_INVALID_APK error
- Failed to find target with hash string ‘android-25’ in:D:\SDK
- Solutions to errors in virtual machine running in Android studio
- Error: Error parsing D:\new_android\Android SDK\system-images\android-25\android-wear\armeabi-v7a\de
- Win10 install Android Studio error Unable to elevate [error: 1812] solution
- Android studio disable install run
- Android Studio Series: after Android studio is opened, the project window will not be displayed.
- Android Studio – add configuration for Android studio
- About Android studio error: (26,13) failed to resolve: com.android.support : appcompat-v7:27. + error
- Android Studio: Application Installation Failed (How to Fix)
- Android installation failure: install_ FAILED_ NO_ MATCHING_ ABIS: Failed to extract native libraries, res=-113.