1 problem
The following error message is displayed when compiling the third-party project
Could not find com. Android. Support: appcompat - v7:25.3.1. Required by: Project: sample project: sample > com. Yanzhenjie: permission: 1.0.7 project: sample > Com. Yanzhenjie. Alertdialog: alertdialog: 1.0.1 Search in the build. Gradle filesCopy the code
2 Solutions
Add the following code
Maven {url "https://maven.google.com"}// Add thisCopy the code
Maven {url "https://maven.google.com"} allProjects {repositories {) maven {url "https://maven.google.com"}Copy the code