-
Notifications
You must be signed in to change notification settings - Fork 1.5k
升级 Android Gradle 插件版本到 3.4.0 后,编译出错 #810
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
Comments
也遇到同样的问题
|
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':demo:rpGenerate_devDebugBuiltinJson'.
> Cannot cast object 'property(interface org.gradle.api.file.Directory, fixed(class org.gradle.api.internal.file.DefaultFilePropertyFactory$FixedDirectory, E:\project\UIKitDemo\demo\build\intermediates\merged_assets\_devDebug\out))' with class 'org.gradle.api.internal.file.DefaultFilePropertyFactory$DefaultDirectoryVar' to class 'java.io.File' |
issue 描述有说, |
3.3发布不久3.4就发布了。可以先降到3.3,然后升级到最近的 replugin2.3.2 。 巧的是,这件事发生在我们对3.3的适配刚完成并发布(replugin 2.3.2)后。 3.4的适配会在下个版本发布。 |
|
Cannot cast object 'property(interface org.gradle.api.file.Directory, fixed(class org.gradle.api.internal.file.DefaultFilePropertyFactory$FixedDirectory, ****\intermediates\merged_assets\debug\out))' with class 'org.gradle.api.internal.file.DefaultFilePropertyFactory$DefaultDirectoryVar' to class 'java.io.File' |
问题详细描述 Detailed description of the problem
升级 Android Gradle 插件版本到 3.4.0 后,编译不过(3.3.2 版本可用
复现问题步骤 Steps to reproduce the problem
其它重要信息 Other important information
replugin-host-lib/gradle Version: 2.3.2
rePlugin-plugin-lib/gradle Version: 2.3.2
Android API Version:28
Android 手机型号&ROM(Phone model & ROM):
Logcat上下文 Logcat context
The text was updated successfully, but these errors were encountered: