I fixed this issue by selecting
API 27+: Android API 27, P preview (Preview)
in the project structure settings. Following image shows my setting. The 13 errors that were coming while building the app, have disappeared.
More Related Contents:
- Gradle Implementation vs API configuration
- Android Studio – Importing external Library/Jar
- Add GitHub library as dependency to Android Studio project
- could not resolve all dependencies for configuration ‘:app:debugAPKCopy’
- Gradle error: configuration declares dependency which is not declared
- Android Studio: Add jar as library?
- Java finished with non-zero exit value 2 – Android Gradle
- Android Studio suddenly cannot resolve symbols
- Android studio add external project to build.gradle
- How to configure gradle to work “offline” (using cached dependencies)
- Still getting warning : Configuration ‘compile’ is obsolete and has been replaced with ‘implementation’
- What is Jetifier?
- Android Gradle Could not reserve enough space for object heap
- Using ViewPagerIndicator library with Android Studio and Gradle
- Is there any way to integrate Eclipse with Gradle in Android project?
- Duplicate files copied (Android Studio 0.4.0) [duplicate]
- BuildConfig.DEBUG always false when building library projects with gradle
- Gradle 7 and jitpack.io runs into error during publish
- Android Studio build fails with “Task ” not found in root project ‘MyProject’.”
- Android Studio: Resolving Duplicate Classes
- Execution failed for task ‘:app:transformClassesWithDexForDebug’ while implementing Google sign in for Android
- How to use the Renderscript Support Library with Gradle
- How to change the generated filename for App Bundles with Gradle?
- How to change the proguard mapping file name in gradle for Android project
- build.gradle and project libs
- Android Studio – Error:Program type already present
- How to build a ‘release’ APK in Android Studio?
- Android Studio: how to generate signed APK using Gradle?
- How to add apache commons collections in Android Studio (Gradle)
- Force locale for Android flavor with resConfig