```Warning: <http://com.google.common.io|com.googl...
# android
s
Copy code
Warning: <http://com.google.common.io|com.google.common.io>.ReaderInputStream: can't find referenced method 'java.nio.ByteBuffer clear()' in library class java.nio.ByteBuffer
Warning: <http://com.google.common.io|com.google.common.io>.ReaderInputStream: can't find referenced method 'java.nio.CharBuffer position(int)' in library class java.nio.CharBuffer
Warning: <http://com.google.common.io|com.google.common.io>.ReaderInputStream: can't find referenced method 'java.nio.CharBuffer limit(int)' in library class java.nio.CharBuffer
Warning: <http://com.google.common.io|com.google.common.io>.ReaderInputStream: can't find referenced method 'java.nio.ByteBuffer flip()' in library class java.nio.ByteBuffer
Warning: there were 16 unresolved references to library class members.
         You probably need to update the library versions.
         (<http://proguard.sourceforge.net/manual/troubleshooting.html#unresolvedlibraryclassmember>)
:kotlin-compiler:proguard FAILED
:kotlin-compiler:proguard (Thread[Task worker for ':' Thread 4,5,main]) completed. Took 17.994 secs.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':kotlin-compiler:proguard'.
> <http://java.io|java.io>.IOException: Please correct the above warnings first.

* Try:
Run with --debug option to get more log output. Run with --scan to get full insights.

* Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':kotlin-compiler:proguard'.
	at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:100)
	at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:70)
	at org.gradle.api.internal.tasks.execution.OutputDirectoryCreatingTaskExecuter.execute(OutputDirectoryCreatingTaskExecuter.java:51)
	at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:62)
Hi, I was trying to build source code using Gradle, I encountered the above error, can someone please guide me Why it is occurring? and What can be done?
r
probably tell proguard not to touch java.nio package
i mean the com.google.common
s
Thanks, Can you elaborate it a bit more?