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:
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.
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.