将Maven存储库添加到build.gradle
我在Android Studio中向build.gradle添加了一个自定义Maven存储库,但未找到依赖项 Maven存储库和依赖项 <repository> <id>achartengine</id> <name>Public AChartEngine repository</name> <url>https://repository-achartengine.forge.cloudbees.com/snapshot/</url> </repository> <dependency> <groupId>org.achartengine</groupId> <artifactId>achartengine</artifactId> <version>1.2.0</version> </dependency> build.gradle buildscript { repositories { mavenCentral() maven { url "https://repository-achartengine.forge.cloudbees.com/snapshot/" } } dependencies { classpath 'com.android.tools.build:gradle:0.6.+' } } apply plugin: 'android' dependencies { compile fileTree(dir: 'libs', include: '*.jar') compile group: 'org.achartengine', name: 'achartengine', version: '1.2.0' …