有人能解释一下这些错误吗
03-23 14:24:53.641 31726-32030/com.vpn W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/nio/file/Path;)
03-23 14:24:53.644 31726-32030/com.vpn W/dalvikvm: VFY: unable to find class referenced in signature ([Ljava/nio/file/OpenOption;)
03-23 14:24:53.647 31726-32030/com.vpn I/dalvikvm: Could not find method java.nio.file.Files.newOutputStream, referenced from method okio.Okio.sink
03-23 14:24:53.647 31726-32030/com.vpn W/dalvikvm: VFY: unable to resolve static method 22324: Ljava/nio/file/Files;.newOutputStream (Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljava/io/OutputStream;
03-23 14:24:53.647 31726-32030/com.vpn D/dalvikvm: VFY: replacing opcode 0x71 at 0x000a
最佳答案
OkHttp supports some APIs that require Java 7+ or Android API 20+. If you run OkHttp on earlier Android releases, dalvikvm's verifier will warn about the missing methods. This isn't a problem and you can ignore the warnings.
希望这对您有所帮助!
关于java - 无法找到签名中引用的类 (Ljava/nio/file/Path;),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36186037/