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,
- Locate MainActivity Java or Kotlin file in Android Studio
- groovy.lang.MissingPropertyException No such property Error
- How to fix java.net.NoRouteToHostException in Android Studio
- Your Android SDK is missing, out of date or corrupted SDK Problem
- [Android Studio] MainActivity does not exist
- [Android Studio] Could not automatically detect an ADB binary
- Android Studio: Cannot perform refactoring operation
- How to Configure Eclipse keymap in IntelliJ IDE
- Android Studio setup was canceled - How to resume
- [Android Studio] Hardcoded string Button, should use @string resource
- The selected device is incompatible : Android Studio
- Android Activity Main xml stuck loading
- Android Studio 1.3 beta now Available for Developers
- Installing Android Studio Dolphin on Mac with Apple (M1/M2) Chip
- Android Studio 4.2 Canary 1 now available
- [Android Studio] Button on click example
- Eclipse like Auto Import Shortcut in Intelij IDE Android Studio
- How to enable line numbers in IntelliJ Android Studio for all files
- Delete Android Studio Projects
- How to update Android Studio
- [Android Studio] Error: Missing system image on device
- macOS Big Sur java.lang.UnsatisfiedLinkError CoreFoundation - Android Studio
- Android [SDK Manager] The system cannot find the path specified
- Failed to install Android.apk on device 'emulator-5554': timeout
- [Solved] Error launching studio
More Posts:
- Syntax error, parameterized types are only available if source level is 1.5 or greater [Java] - Eclipse
- Display List of Databases in mysql Command Line - MySQL
- Set Falling Show on Website for Christmas using Pure CSS Code - CSS
- Change Font Size in Visual Studio Code - HowTos
- How to clear ZSH history of commands executed on Mac Terminal - zsh
- Find Duplicate Files using Mac Terminal Command - MacOS
- [fix] iCloud - Verification Failed: An unknown error occurred Apple ID - iOS
- WhatsApp launches WhatsApp Web to Access Messages over web browser - WhatsApp