简体   繁体   中英

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: 在此处输入图片说明

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: 在此处输入图片说明

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM