-
Notifications
You must be signed in to change notification settings - Fork 580
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
Unable to find method 'kotlin.io.ByteStreamsKt.readBytes(Ljava/io/InputStream;)[B'. #80
Comments
buildscript { allprojects { apply plugin: 'com.android.application' |
这个问题已经 fix 了, |
可以了,谢谢!也可以在项目的build.gradle下面配置了,是不是每次打包都要确认一次才可以?> Task :app:installCwebp 是否确定(Y/N)? |
Duplicate of #29 这个问题之前处理过,可能跟
谢谢! |
echo y | cacls app/build/bin/cwebp.exe /t /p everyone:f |
你是 win 10 什么版本? |
专业版的 |
试试:
或者:
|
echo yes | cacls app/build/bin/cwebp.exe /t /p everyone:f |
应该是一样的 |
如果在打包时没有做选择,引入的插件会不会生效? |
不会 |
就是必须要选择Y才会有效果? |
这 是个 bug,原来的设计是自动选择 |
好的,到时fix了的话,麻烦通知一声,谢谢! |
OK |
Booster |
|
是的 |
是自动选择的还是需要手动输入 |
自动 |
好的,谢谢! |
能正常使用了吗? |
导入booster-task-compression这个库后,使用0.21.3这个版本与之前的版本相比,都是能够对资源实现压缩的,都是在自动选择的情况下进行的 |
使用0.21.0时,编译不通过,如下:
Unable to find method 'kotlin.io.ByteStreamsKt.readBytes(Ljava/io/InputStream;)[B'.
Possible causes for this unexpected error include:
Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.)
Re-download dependencies and sync project (requires network)
The state of a Gradle build process (daemon) may be corrupt. Stopping all Gradle daemons may solve this problem.
Stop Gradle build processes (requires restart)
Your project may be using a third-party plugin which is not compatible with the other plugins in the project or the version of Gradle requested by the project.
In the case of corrupt Gradle processes, you can also try closing the IDE and then killing all Java processes.
Re-download dependencies and sync project没有效果。
使用0.19.0这个版本没有这个问题;
使用0.21.0时,引入时不能单独放在项目的build.gradle下面,只能放在app的build.gradle下面
Originally posted by @HQLIE2018 in #78 (comment)
The text was updated successfully, but these errors were encountered: