Bhargav Mehta
Bhargav Mehta

Reputation: 55

I am not able to add support library to my Android Studio Project

I am trying to open someone else's project in my Android studio. I installed all the missing libraries and yet I am facing an issue with the appcompat theme.

Here is the screenshot of my styles.xml: Styles.xml

And here is the screenshot of my build.gradle file: enter image description here

I cannot see the preview of any layout nor I am able to run the project because of this dependency issue. I am not able to figure out why the dependency is not being added to the project.

Adding Dependencies Screenshot: enter image description here

Upvotes: 1

Views: 876

Answers (1)

IntelliJ Amiya
IntelliJ Amiya

Reputation: 75798

FYI

Alpha,Beta version is not stable .You should use stable version instead of that

These version of a piece of software that is made available for testing,

Use

 classpath 'com.android.tools.build:gradle:2.2.2'//2.2.3

You should use same type of version

 compileSdkVersion 25
 buildToolsVersion '25.0.1'
 targetSdkVersion 25

Upvotes: 2

Related Questions