Advertisement

Ubuntu 64位上 jd-gui 工具打开出现的问题解决方法

阅读量:

近期在进行APK反编译相关研究时,首先需要构建相应的实验环境,下载并配置了dex2jar与jd-gui两款工具。其中,dex2jar能够将APK文件中的classes.dex转换为jar格式文件,但运行jd-gui时却出现了错误提示:

error while loading shared libraries:

libgtk-x11-2.0.so.0:cannot open shared object file: No such file or directory.

该问题实质上源于64位系统对32位库的兼容性缺失。网络上曾有建议通过执行命令 sudo apt-get install ia32-libs-gtk 进行修复,但实际操作后仍未能解决此问题,并提示以下依赖关系未满足:

............

The following packages have unmet dependencies:

ia32-libs:Denpens:ia32-libs-multiarch

最终,在某国外技术论坛中发现了解决方案,具体步骤如下:

首先需进行版本回退操作,具体实施方式为创建名为'preferences'的配置文件:

复制代码
    sudo vi /etc/apt/preferences
    
    

and insert the followi

全部评论 (0)

还没有任何评论哟~