I was able to resolve it by updating sdk version and tools in gradle
compileSdkVersion 26
buildToolsVersion "26.0.1"
and support library 26.0.1
https://developer.android.com/topic/libraries/support-library/revisions.html#26-0-1
More Related Contents:
- Android Studio keeps refusing to resolve com.android.support:appcompat-v7:29.0.1
- Failed to resolve: com.android.support:cardview-v7:26.0.0 android
- Multiple dex files define Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompat
- java.util.zip.ZipException: duplicate entry during packageAllDebugClassesForMultiDex
- Use Tab with new ToolBar (AppCompat v7-21)
- Material Design not styling alert dialogs
- Cannot resolve symbol ‘AppCompatActivity’
- How to use and style new AlertDialog from appCompat 22.1 and above
- The import android.support.v7.app cannot be resolved
- Status bar turns white and does not show content behind it
- Android v21 Theme.Appcompat color accent is ignored, no padding on dialogs
- Error while merging dex Program type already present: android.support.v4.os.ResultReceiver$MyResultReceiver
- Fixing Error in styles.xml to generate R.java : No resource found name ‘Theme.AppCompat.Light’
- How to create a card toolbar using appcompat v7
- How do I use DrawerLayout to display over the ActionBar/Toolbar and under the status bar?
- Error:Execution failed for task ‘:app:transformClassesWithDexForDebug’
- How to fix “unexpected element found in ” error?
- How to add Action Bar from support library into PreferenceActivity?
- Apache HTTP connection with Android 6.0 (Marshmallow)
- add ‘tools:replace=”Android:value”‘ to element at AndroidManifest
- Failed to read PNG signature: file does not start with PNG signature
- Fragment must be a public static class to be properly recreated from instance state
- How can I fix “unexpected element found in ” error?
- Android support library setup with maven
- CoordinatorLayout using the ViewPager’s RecyclerView
- transparent Actionbar with AppCompat-v7 21
- How to exclude res folder from gradle build flavours?
- How To Exclude Specific Resources from an AAR Depedency?
- Android support v23.1.0 update breaks NavigationView get/find header
- How do the Android Support Libraries work?