91超碰碰碰碰久久久久久综合_超碰av人澡人澡人澡人澡人掠_国产黄大片在线观看画质优化_txt小说免费全本

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

如何解決android代碼混淆報錯java.io.IOException: Please correct the above

發布時間:2021-10-14 14:34:10 來源:億速云 閱讀:232 作者:柒染 欄目:編程語言

今天就跟大家聊聊有關如何解決android代碼混淆報錯java.io.IOException: Please correct the above,可能很多人都不太了解,為了讓大家更加了解,小編給大家總結了以下內容,希望大家根據這篇文章可以有所收獲。

android代碼混淆報錯:

java.io.IOException:Please correct the above warnings first

[2012-06-01 14:06:03 - geoTest6.3] Warning: org.apache.log4j.lf5.viewer.LogFactor5InputDialog$1: can't find referenced class java.awt.event.KeyAdapter

[2012-06-01 14:06:03 - geoTest6.3] Warning: org.apache.log4j.lf5.viewer.LogFactor5InputDialog$1: can't find referenced class java.awt.event.KeyEvent

[2012-06-01 14:06:03 - geoTest6.3] Warning: org.apache.log4j.lf5.viewer.LogFactor5InputDialog$1: can't find referenced class java.awt.Dialog

[2012-06-01 14:06:03 - geoTest6.3] Warning: org.apache.log4j.lf5.viewer.LogFactor5InputDialog$1: can't find referenced class java.awt.event.KeyAdapter

[2012-06-01 14:06:03 - geoTest6.3] Warning: org.apache.log4j.lf5.viewer.LogFactor5InputDialog$1: can't find referenced class java.awt.event.KeyEvent

[2012-06-01 14:06:03 - geoTest6.3] Warning: org.apache.log4j.lf5.viewer.LogFactor5InputDialog$1: can't find referenced class java.awt.Dialog

[2012-06-01 14:06:03 - geoTest6.3] Warning: org.apache.log4j.lf5.viewer.LogFactor5InputDialog$1: can't find referenced class java.awt.event.KeyEvent

[2012-06-01 14:06:03 - geoTest6.3] Warning: org.apache.log4j.lf5.viewer.LogFactor5InputDialog$1: can't find referenced class java.awt.event.KeyEvent

[2012-06-01 14:06:03 - geoTest6.3]       You should check if you need to specify additional program jars.

[2012-06-01 14:06:03 - geoTest6.3] Warning: there were 1773 unresolved references to classes or interfaces.

[2012-06-01 14:06:03 - geoTest6.3]          You may need to specify additional library jars (using '-libraryjars'),

[2012-06-01 14:06:03 - geoTest6.3]          or perhaps the '-dontskipnonpubliclibraryclasses' option.

[2012-06-01 14:06:03 - geoTest6.3] Warning: there were 1 instances of library classes depending on program classes.

[2012-06-01 14:06:03 - geoTest6.3]          You must avoid such dependencies, since the program classes will

[2012-06-01 14:06:03 - geoTest6.3]          be processed, while the library classes will remain unchanged.

[2012-06-01 14:06:03 - geoTest6.3] java.io.IOException: Please correct the above warnings first.

[2012-06-01 14:06:03 - geoTest6.3]  at proguard.Initializer.execute(Initializer.java:308)

[2012-06-01 14:06:03 - geoTest6.3]  at proguard.ProGuard.initialize(ProGuard.java:210)

[2012-06-01 14:06:03 - geoTest6.3]  at proguard.ProGuard.execute(ProGuard.java:85)

[2012-06-01 14:06:03 - geoTest6.3]  at proguard.ProGuard.main(ProGuard.java:499)

[2012-06-01 14:12:33 - geoTest6.3] Proguard returned with error code 1. See console

解決辦法:因為采用了三方的jar包,需要我們在 proguard.cfg 中添加"-dontwarn"

如下:

proguard.cfg 全部配置

-dontwarn 

-optimizationpasses 5

-dontusemixedcaseclassnames

-dontskipnonpubliclibraryclasses

-dontpreverify

-verbose

-optimizations !code/simplification/arithmetic,!field/*,!class/merging/*

-keep public class * extends android.app.Activity

-keep public class * extends android.app.Application

-keep public class * extends android.app.Service

-keep public class * extends android.content.BroadcastReceiver

-keep public class * extends android.content.ContentProvider

-keep public class * extends android.app.backup.BackupAgentHelper

-keep public class * extends android.preference.Preference

-keep public class com.android.vending.licensing.ILicensingService

-keepclasseswithmembernames class * {

    native <methods>;

}

-keepclasseswithmembers class * {

    public <init>(android.content.Context, android.util.AttributeSet);

}

-keepclasseswithmembers class * {

    public <init>(android.content.Context, android.util.AttributeSet, int);

}

-keepclassmembers class * extends android.app.Activity {

   public void *(android.view.View);

}

-keepclassmembers enum * {

    public static **[] values();

    public static ** valueOf(java.lang.String);

}

-keep class * implements android.os.Parcelable {

  public static final android.os.Parcelable$Creator *;

}

可解決! 

看完上述內容,你們對如何解決android代碼混淆報錯java.io.IOException: Please correct the above有進一步的了解嗎?如果還想了解更多知識或者相關內容,請關注億速云行業資訊頻道,感謝大家的支持。

向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

通山县| 通许县| 石屏县| 荥经县| 海城市| 东明县| 华容县| 东莞市| 鹤壁市| 梅州市| 石门县| 泌阳县| 德安县| 阳高县| 元谋县| 沾化县| 麻阳| 孝感市| 永和县| 岐山县| 温州市| 阿合奇县| 砀山县| 昭苏县| 正镶白旗| 神农架林区| 乐都县| 临汾市| 北票市| 上杭县| 永丰县| 长沙市| 洪湖市| 孟津县| 丰城市| 沾化县| 仪征市| 平顺县| 麟游县| 上蔡县| 蚌埠市|