首页
社区
课程
招聘
[求助]使用apktool box 和 andiroid killer都会出现的错误
发表于: 2018-10-5 15:16 4850

[求助]使用apktool box 和 andiroid killer都会出现的错误

2018-10-5 15:16
4850
1,描述:使用apktool box 和android killer 进行对程序修改参数 之后重新打包得到apk的时候出现的错误

放出错误:


apktoolbox :

正在努力的工作中,请等待

NetEase ApkSigner1.3
开始从数据库中读取缓存..java.lang.ClassNotFoundException: org.sqlite.JDBC
 用时:4毫秒
开始签名:C:\Users\Hauk\Pictures\CFF_100.apk
Exception in thread "main" java.lang.reflect.InvocationTargetException
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:566)
    at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(Unknown Source)
Caused by: java.lang.NoClassDefFoundError: sun/misc/BASE64Encoder
    at apksigner.h.a(Unknown Source)
    at apksigner.h.a(Unknown Source)
    at apksigner.ApkSigner.a(Unknown Source)
    at apksigner.ApkSigner.main(Unknown Source)
    ... 5 more
Caused by: java.lang.ClassNotFoundException: sun.misc.BASE64Encoder
    at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:471)
    at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:588)
    at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
    ... 9 more
获取更新版本号失败

完成!

并不会出现打包好的apk



2,androidkiller出现的错误
当前 Apktool 使用版本:Android Killer Default APKTOOL
正在编译 APK,请稍等...
>I: 使用 ShakaApktool 2.0.0-20160601
>I: 编译 smali 到 classes.dex...
>I: 正在编译资源...
>I: Can't set aapt binary as executable
>Exception in thread "main" com.rover12421.shaka.b.l:
>    at b.a.d.a.a(Unknown Source)
>    at b.a.d.a.a(Unknown Source)
>    at b.a.a.a(Unknown Source)
>    at b.a.a.a(Unknown Source)
>    at b.a.a.e(Unknown Source)
>    at b.a.a.a(Unknown Source)
>    at b.b.a.b(Unknown Source)
>    at b.b.a.a(Unknown Source)
>    at com.rover12421.shaka.cli.Main.main(Unknown Source)
>Caused by: com.rover12421.shaka.b.l: Can't set aapt binary as executable
>    at b.a.d.a.a(Unknown Source)
>    at b.a.d.a.e(Unknown Source)
>    at b.a.d.a.a(Unknown Source)
>    ... 9 more
>Caused by: java.lang.NullPointerException
>    at org.b.a.c.a.a(Unknown Source)
>    at org.b.a.c.a.b(Unknown Source)
>    at org.b.a.c.a.a(Unknown Source)
>    at com.rover12421.shaka.b.f.a(Unknown Source)
>    at com.rover12421.shaka.b.i.a(Unknown Source)
>    at com.rover12421.shaka.b.i.c(Unknown Source)
>    at com.rover12421.shaka.b.i.a(Unknown Source)
>    ... 12 more
APK 编译失败,无法继续下一步签名!


我的java是java11 可以通过jd-gui查看源代码

希望大神帮忙





[培训]内核驱动高级班,冲击BAT一流互联网大厂工作,每周日13:00-18:00直播授课

收藏
免费 0
支持
分享
最新回复 (1)
雪    币: 200
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
2
升级apktool!
2018-10-7 11:15
0
游客
登录 | 注册 方可回帖
返回
//