suchen

Heim  >  Fragen und Antworten  >  Hauptteil

android - E/dalvikvm: Could not find class java.nio.file.Path,

安卓项目中要用到jackson库,但是运行时报错
E/dalvikvm: Could not find class 'java.beans.Transient', referenced from method com.fasterxml.jackson.databind.ext.Java7SupportImpl.<init>
E/dalvikvm: Could not find class 'java.nio.file.Path', referenced from method com.fasterxml.jackson.databind.ext.Java7SupportImpl.getClassJavaNioFilePath
W/Java7Support: Unable to load JDK7 types (annotations, java.nio.file.Path): no Java7 support added

stackoverflow上有一个帖子,但是并不明白该怎么处理
http://stackoverflow.com/ques...

伊谢尔伦伊谢尔伦2802 Tage vor2662

Antworte allen(1)Ich werde antworten

  • ringa_lee

    ringa_lee2017-04-18 09:19:42

    他的意思是:

    如果这些 Warning信息打扰到你,你可以将log级别调为ERROR,并不影响功能使用,只是Android 缺少这些api。

    proguard 中忽略这些Warning日志:

    -dontwarn java.nio.file.**

    Antwort
    0
  • StornierenAntwort