我刚刚在我的 Mac 上安装了 Maven,并想设置测试项目。我从这里创建了带有原型的项目:http: //stand.spree.de/wiki_details_maven_archetypes
项目已成功创建。但后来我去了项目文件夹并运行mvn clean install android:deploy
导致A required class was missing while executing
.
这个示例项目应该可以工作,但它没有什么问题?
更多错误:
Failed to execute goal com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.6.0:generate-sources (default-generate-sources) on project my-android-application: Execution default-generate-sources of goal com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.6.0:generate-sources failed: A required class was missing while executing com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.6.0:generate-sources: Lorg/sonatype/aether/RepositorySystem;