Installation did not succeed. The application could not be installed: INSTALL_FAILED_OLDER_SDK
时间: 2023-10-29 14:49:04 浏览: 112
This error occurs when you are trying to install an application on a device with an Android operating system that is lower than the minimum SDK version specified in the application's build.gradle file.
To fix this error, you can try the following steps:
1. Open the build.gradle file of your application.
2. Look for the `minSdkVersion` and make sure it is set to a value that is lower or equal to the Android version of the device you are trying to install the app on.
3. Sync your project with Gradle by clicking on the "Sync Project with Gradle Files" button.
4. Rebuild your project by clicking on the "Build" menu and selecting "Rebuild Project".
5. Try to install the app again on your device.
If the error still persists, you may need to update the Android version of your device or reduce the minimum SDK version of your application.
阅读全文