Can't process class


#1
  • What went wrong:
    [2016-12-07 12:09:55,291] DEBUG Thread-16478 //opt/applog//115/670/49/11567049-android - Execution failed for task ‘:transformClassesWithMultidexlistForRelease’.
    [2016-12-07 12:09:55,291] DEBUG Thread-16478 //opt/applog//115/670/49/11567049-android - > java.io.IOException: Can’t read [/ram_disk/temp/9BVIMI8920Kw/WebkitCorePalmild/intermediates/transforms/jarMerging/release/jars/1/1f/combined.jar] (Can’t process class [com/aprilbrother/aprilbrothersdkrvices/ABeaconUartService$1.class] (Unknown verification type [16] in stack map frame))

#2


README.md
Proguard
-libraryjars libs/ab-sdk-beta1.6.x.jar
-keep class com.aprilbrother.aprilbrothersdk.**
-keep class com.aprilbrother.aprilbrothersdk.Utils{*;}
if have this question (Can’t process class com/aprilbrother/aprilbrothersdk/services/ABeaconUartService$1.class) repalce the proguard.jar


#4

我看github上面proguard.jar还是11个月前的。
我们尝试把proguard.jar也放入工程中也不行啊。
您能用中文回答下吗?英文理解起来有点歧义。


#5

把你sdk中的proguard.jar替换为github中的


#6

我把sdk中的proguard.jar替换为github中的,但是仍然报这个错
ProGuard, version 5.3.2
Reading input…
Reading program jar [C:\Users\Richie\Desktop\AprilBeacon-Android-SDK-master\AprilBeaconDemos_android_studio\app\libs\ab-sdk-beta1.6.8.jar] (filtered)
Warning: Exception while processing task java.io.IOException: Can’t read [C:\Users\Richie\Desktop\AprilBeacon-Android-SDK-master\AprilBeaconDemos_android_studio\app\libs\ab-sdk-beta1.6.8.jar(;;;;;;**.class)] (Can’t process class [com/aprilbrother/aprilbrothersdk/services/ABeaconUartService$1.class] (Unknown verification type [16] in stack map frame))


#7

ATD直接替换就可以了 android studio的话可以参考这个博客
http://blog.csdn.net/ecjtuhq/article/details/53770836