找不到方法 java.nio.file.Files.newInputStream,引用自方法 okio.Okio.source
Could not find method java.nio.file.Files.newInputStream, referenced from method okio.Okio.source
我想使用 Retrofit 2-beta
上传视频。我在 LogCat "Could not find method java.nio.file.Files.newInputStream, referenced from method okio.Okio.source" 中得到了这个。我发现我的项目中没有 java.nio 中的 Files 这样的包,但我也找不到它的 jar 文件。你知道如何将它添加到我的项目中吗?
编辑:我的错误与 Github 上的 this 未回答的问题完全一样。
它们实际上不是错误,可以安全忽略。来自链接 FAQ --
This isn't a problem and you can ignore the warnings.
我想使用 Retrofit 2-beta
上传视频。我在 LogCat "Could not find method java.nio.file.Files.newInputStream, referenced from method okio.Okio.source" 中得到了这个。我发现我的项目中没有 java.nio 中的 Files 这样的包,但我也找不到它的 jar 文件。你知道如何将它添加到我的项目中吗?
编辑:我的错误与 Github 上的 this 未回答的问题完全一样。
它们实际上不是错误,可以安全忽略。来自链接 FAQ --
This isn't a problem and you can ignore the warnings.