PrototypeZ / AppJoint

🔧 Cross module Android development made easy!
764 stars 120 forks source link

Ambiguous method overloading for method java.io.FileInputStream#<init>. #17

Closed breeze1988 closed 5 years ago

breeze1988 commented 5 years ago

下载源码 将core引入工程,运行出现报错 Ambiguous method overloading for method java.io.FileInputStream#. Cannot resolve which method to invoke for [null] due to overlapping prototypes between: [class java.io.FileDescriptor] [class java.io.File] [class java.lang.String]

sisel commented 5 years ago

same issue appjoint:1.5, gradle:4.10.1

PrototypeZ commented 5 years ago

这个问题是由于在应用了 apply plugin: 'app-joint' 插件的 application 模块,无法引用到 implementation "io.github.prototypez:app-joint-core:{latest_version}" 引起的