本帖最后由 bl4cks1mth 于 2023-11-30 20:33 编辑
正看着正己老哥的安卓逆向教程,发现jeb在m1上安装直接抛异常的问题,体现在激活之后进入界面,记录一下解决的过程
给我抛了个类定义没找到,然后我开始尝试换版本...
Exception in thread "main" java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:
no swt-cocoa-4934r6 in java.library.path: [/Users/xx/Library/Java/Extensions, /Library/Java/Extensions, /Network/Library/Java/Extensions, /System/Library/Java/Extensions, /usr/lib/java, .]
no swt-cocoa in java.library.path: [/Users/xx/Library/Java/Extensions, /Library/Java/Extensions, /Network/Library/Java/Extensions, /System/Library/Java/Extensions, /usr/lib/java, .]
Can't load library: /Users/xx/.swt/lib/macosx/aarch64/libswt-cocoa-4934r6.jnilib
Can't load library: /Users/xx/.swt/lib/macosx/aarch64/libswt-cocoa.jnilib
Can't load library: /Users/xx/.swt/lib/macosx/aarch64/libswt-cocoa-4934r6.jnilib
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:342)
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:256)
at org.eclipse.swt.internal.C.<clinit>(C.java:19)
at org.eclipse.swt.widgets.Display.<clinit>(Display.java:107)
at com.pnfsoftware.jeb.rcpclient.extensions.app.App.onPreDisplayCreation(App.java:93)
at com.pnfsoftware.jeb.rcpclient.JebApp.onPreDisplayCreation(JebApp.java:54)
at com.pnfsoftware.jeb.rcpclient.extensions.app.App.<init>(App.java:70)
at com.pnfsoftware.jeb.rcpclient.JebApp.<init>(JebApp.java:35)
at com.pnfsoftware.jeb.rcpclient.Launcher.main(Launcher.java:33)
还是有问题,但是换了个问题,看着像是动态链接库没找到,然后搜了下报错
发现网上有帖子跟我情况一样,点开来一看果然是库的问题.
但是...csdn抽象起来了.搞付费.好好好 你这么玩是吧...
然后去网上找了找确实找到了对应的库
地址
然后替换下文件
cd /到报错的位置 && mv ~/Downloads/dataloader_mac/swtmac_aarch64/*.jnilib .
备份下原来的文件,将新copy过来的再改回原来的名字
-rwxr-xr-x 1 xx staff 51K Nov 15 2021 libswt-awt-cocoa-4934r6.jnilib
-rwxr-xr-x 1 xx staff 581K Nov 15 2021 libswt-cocoa-4934r6.jnilib
-rwxr-xr-x 1 xx staff 543K Nov 30 19:26 libswt-cocoa-4934r6.jnilib.bak
-rwxr-xr-x 1 xx staff 580K Nov 30 19:17 libswt-cocoa-4944r26.jnilib.bak
-rwxr-xr-x 1 xx staff 276K Nov 15 2021 libswt-pi-cocoa-4934r6.jnilib
-rwxr-xr-x 1 xx staff 276K Nov 30 19:17 libswt-pi-cocoa-4944r26.jnilib.bak
然后再打开,按照正常流程激活就行
|