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
- Android Studio setup was canceled - How to resume
- The selected device is incompatible : Android Studio
- Android Studio : Change FAB icon color : FloatingActionButton
- How to rename package name in Android Studio
- Android Emulator Screenshot saved location
- Android Activity Main xml stuck loading
- [Solution] Android Studio does not displays Toolbar in Layout Design
- [Event Log] Android Studio performance could be improved
- The package must have at least one . separator [Android Studio]
- Android Studio SDK Build-tools 23 rc2 not getting installed
- Android Emulator window was out of view and was recentered
- Emulator: Warning: restoring GLES1 context from snapshot. App may need reloading.
- How to Import External Jars to Android Studio Project
- How to install Android Studio Chipmunk and SDK tools on macOS (2021.2)
- Create assets folder in Android Studio
- Eclipse like Auto Import Shortcut in Intelij IDE Android Studio
- Android Emulator 5.1.1 not loading on Mac OS X Android Studio
- Your Android SDK is missing, out of date or corrupted SDK Problem
- macOS Big Sur java.lang.UnsatisfiedLinkError CoreFoundation - Android Studio
- [Android Studio] How to locate code for activity_main.xml
- groovy.lang.MissingPropertyException No such property Error
- Installing Android Studio Dolphin on Mac with Apple (M1/M2) Chip
- Step-by-Step: How to install Flutter in Android Studio
- [Solved] Error launching studio
More Posts:
- Change Terminal Cursor Type in Mac (MacOS Shell) - MacOS
- Maven Central Repository: URL and Details - Java
- Android: Maps and Places using Maps SDK - Android
- Android: programmatically turn Bluetooth on or off using Java code - Android
- Trigger Flow on selected Listitem from SharePoint view - create button with JSON column formatting - SharePoint
- Bash command to wait for seconds - Bash
- JBoss stuck loading JBAS015899: AS 7.1.1.Final Brontes starting - Java
- Change CSS Background Opacity with Examples - CSS