No Resource Found That Matches The Given Name 'theme.appcompat.light'
I am having problems setting up my eclipse program with Android for my first project. After installing eclipse together with the android developer tools, I tried to create a new 'A
Solution 1:
AppCompat-v7 should be added to your module Gradle file. It goes in the dependencies section.
For example:
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
compile'com.android.support:appcompat-v7:25.1.1'
testCompile 'junit:junit:4.12'
}
Solution 2:
if you have Appcompat v7 in your extras folder follow this link but if you don't have it:
To download the Support Library through the SDK Manager
:
- Start the Android SDK Manager.
- In the SDK Manager window, scroll to the end of the Packages list, find the Extras folder and, if necessary, expand to show its contents.
- Select the Android Support
- Repository item. Click the Install packages... button.
After downloading, the tool installs the Support Library files to your existing Android SDK directory. The library files are located in the following subdirectory of your SDK: <sdk>/extras/android/m2repository/com/android/support/
directory.
Update: Import it like this picture
you are now have your library in your project Explorer like this
the rest is adding library project
Post a Comment for "No Resource Found That Matches The Given Name 'theme.appcompat.light'"