If you get the above error message while working with Android Studio, make sure that you have downloaded the M Preview (23) from SDK Manager under Tools (Preview Channel).
If you have downloaded/updated to 23.0.0 rc1 or higher and you are still facing this issue then you must make sure following changes in your build.gradle (Module:app) file has the compileSdkVersion and buildToolsVersion as in the below example.
apply plugin: 'com.android.application'
android {
compileSdkVersion 'android-MNC'
buildToolsVersion "23.0.0 rc1"
defaultConfig {
applicationId "org.code2care.app"
minSdkVersion 'MNC'
targetSdkVersion 'MNC'
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
}
More Posts related to Android-Studio,
- Step-by-Step: How to install Flutter in Android Studio
- [Android Studio] How to locate code for activity_main.xml
- [Event Log] Android Studio performance could be improved
- Android Studio emulator/Device logCat logs not displayed
- Show Android Studio Emulator in a Separate Window
- Android Studio SDK Build-tools 23 rc2 not getting installed
- Android Emulator Screenshot saved location
- [Android Studio] Error: Missing system image on device
- Android Studio NoClassDefFoundError: java.awt.Toolkit
- Android [SDK Manager] The system cannot find the path specified
- [Android Studio] Could not automatically detect an ADB binary
- Installing Android Studio Dolphin on Mac with Apple (M1/M2) Chip
- [Android Studio] MainActivity does not exist
- How to enable line numbers in IntelliJ Android Studio for all files
- Android Studio - Installed build tools revision 31.0.0 is corrupted. Remove and install again using the SDK manager.
- Android Studio setup was canceled - How to resume
- Your Android SDK is missing, out of date or corrupted SDK Problem
- Locate MainActivity Java or Kotlin file in Android Studio
- How to Determine Android Studio Gradle Version
- Delete Android Studio Projects
- [Android Studio] Button on click example
- Create assets folder in Android Studio
- Disabling Spell Check in Android Studio
- How to save IntelliJ IDE Console logs to external log file
- How to install Android Studio Chipmunk and SDK tools on macOS (2021.2)
More Posts:
- cURL Option to show HTTP Response Status Code - cURL
- How to Find Where Mac Terminal App is Located? - MacOS
- Download Google Chrome setup exe file using PowerShell - Powershell
- How to install pip on macOS using terminal command [Python] - Python
- Blank Operations in Notepad++ - NotepadPlusPlus
- Spring Boot: Transactions Management with JDBCTemplate Example - Java
- How to locate Python Installation on Windows (10/11) - Windows
- Show Notepad++ tabs in multiple lines instead of scroll on tab bar - NotepadPlusPlus