-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
构建插件时报错Failed to notify project evaluation listener com/android/builder/dependency/ManifestDependency #25
Comments
插件的构建请参考:Demo 工程运行须知 |
@VincentLoveAndroid 主要是由于Gradle以及buildTools的版本所导致的问题,请按照建议版本来。 |
@singwhatiwanna 你好,按照demo配置了gradle 以及 buildTools版本,插件执行:
|
@singwhatiwanna |
我也遇到你这个错误,改了tool版本之后出现了下面的错误:
|
和你一样遇到这样的错误
|
@qq634421026 @TheBloodElf @singwhatiwanna 对于Cannot invoke method getAt() on null object 这个问题最终发现要在插件app build.gradle加上:compile 'com.didi.virtualapk:core:0.9.0'依赖 文档没写😓,org.gradle.api.internal.tasks.DefaultTaskInputs$TaskInputUnionFileCollection cannot be cast to org.gradle.api.internal.file.collections.DefaultConfigurableFileCollection 这个问题则应该是本地gradle版本和使用的不一致造成 |
增加 compile 'com.didi.virtualapk:core:0.9.0'之后执行./gradlew clean assemblePlugin还是报Cannot invoke method getAt() on null object错 |
@singwhatiwanna 希望尽快解决这个问题,因为很想接入此库 |
出现 |
我的qq1149598411,我也遇到Execution failed for task ':app:processReleaseResources'. |
好像还没人来解决这个问题啊。 |
估计滴滴自己写的那个gradle插件版本的问题。只能希望他们开发人员将版本升上去了。 |
Caused by: java.lang.NoClassDefFoundError: com/android/builder/dependency/ManifestDependency |
@singwhatiwanna Gradle以及buildTools 版本你们有升级计划吗?真心希望你们能升级上去。现在开发的一般都是用的新版本 |
@slksir 正在支持中,这个工作比较复杂,需要一些时间。 |
不降到2.14.1是不行的,降后解决。 |
插件宿主路径配置正确,
构建插件时候使用图形界面:assemblePlugin命令,报错如下:
Error:A problem occurred configuring project ':app'.
The text was updated successfully, but these errors were encountered: