No resource found - Theme.AppCompat.Light.DarkActionBar
AppCompat
is a library project. You need to reference the library project in your android project.
Check the topic Adding libraries with resources.
Update
Adding material theme should be the way. Check https://material.io/develop/android/docs/getting-started for more details.
No resource found that matches the given name AppCompat.Light.DarkActionBar
The problem seems to be in the build.gradle project file (thanks IntelliJ Amiya)
I changed this:
classpath 'com.android.tools.build:gradle:2.3.1'
To
classpath 'com.android.tools.build:gradle:2.2.2'
And now I don't get any erros in AppCompat.Light.DarkActionBar
Error retrieving parent for item: No resource found that matches the given name '@android:style/Theme.AppCompat.Light.DarkActionBar'
Try to delete android:
, like this:
<style name="CustomActionBarTheme"
parent="@style/Theme.AppCompat.Light.DarkActionBar">
Related Topics
How to Script the Java Debugger Command-Line Tool (Jdb)
What Does a Java Static Method Look Like in Ruby
Svg/Vector Graphical Objects Boolean Operations (Union, Intersection, Subtraction)
Convert Encrypt Code in Java to Ruby
Java Client and a C++ Server Send and Receive via Tcp Socket
Why Ruby Modulo Is Different from Java/Other Lang
How to Get from Jruby a Correctly Typed Ruby Implementation of a Java Interface
Fixing 'Path' in Environment Variables in Windows 7 for Multiple Applications
Integration Testing Frameworks for Testing a Distributed System
Is Ruby Pass-By-Value or Pass-By-Reference
Create Random Pixel Images in Swift
How to Do a Cross Platform Encryption Method Working in Both iOS and Android (Aes Encryption Only..)
How to Escape Apostrophe or Quotes on a Jsp (Used by JavaScript)
Calling Java Methods in JavaScript Code
Execute Managebean Method from JavaScript Onload Event