WEBSITE : https://apk-spectrum.github.io/apk-scanner/
WIKI : https://github.com/apk-spectrum/apk-scanner/wiki
The APK scanner analyzes the APK file to show all the APK information,
And provides functions such as installing in the device and extracting and analyzing the installed apps,
It is a tool to dramatically streamline APK management. (more..)
This project uses the Maven. And include the Maven Wrapper (MVNW).
[Windows]
> .\mvnw.cmd compile[Ubuntu/Mac]
$ ./mvnw compile
You can build on IDE such as VSCODE or ECLIPSE.
JDK 8 or later
If using VSCode with "Extension Pack for Java"
- source code download with submodule
git clone --recurse-submodule https://github.com/apk-spectrum/apk-scanner
- Open project
by VSCODE)
VSCODE > File > Open Folder > Select "apk-scanner path"
> Wait open the "JAVA PROJECTS" into the EXPLORER side bar > more(…) > Clean Workspace > Reload and deleteRun Configuration)
Run and Debug(Ctrl + Shift + D) > "create a launch.json file" > Java > Select "Launch Main" in combobox
> Run > Start Debugging(F5) or Run Without Debugginng(Ctrl + F5)
Set JVM Options)
Add line below into each configuration of launch.json
"vmArgs": ["-Dfile.encoding=UTF-8"]
OR
Add this line below into your user setting json file
"java.debug.settings.vmArgs": "-Dfile.encoding=UTF-8"
by ECLIPSE)
Eclipse > File > Open Projects from File System... > Directory... > Select "apk-scanner path" > Finish
> Right click in Project Explorer > Maven > Update Project...(Alt + F5) > OKRun Configuration)
Run > Run As > Java Application(Alt+Shift+X, J) > Select a "Main - com.apkscanner" > OK
Press F12 key on main window focused.
[Windows]
> .\mvnw.cmd package[Ubuntu/Mac]
$ ./mvnw packageOutput : target/APKScanner.jar
[ALL Platform on Ubuntu/Mac]
Requirements : NSIS, dpkg
Ubuntu :
$ sudo apt update && sudo apt install -y nsis
MacOS :
$ sudo brew install makensis dpkg
$ target/package.sh 2.x.x v2xxxx_r1_yyyymmdd
OR
$ APP_VERSION=2.x.x FILE_VERSION=v2xxxx_r1_yyyymmdd target/package.sh
Output :
target/APKScanner_v2xxxx_r1_yyyymmdd_win_setup.exe
target/APKScanner_v2xxxx_r1_yyyymmdd_win_portable.zip
target/APKScanner_v2xxxx_r1_yyyymmdd_ubuntu_setup.deb
target/APKScanner_v2xxxx_r1_yyyymmdd_mac.dmg [Only on Mac]
[Windows]
Requirements : NSIS 3 or later - https://nsis.sourceforge.io/Download
> .\target\package.bat 2.x.x v2xxxx_r1_yyyymmdd
Output :
target/APKScanner_v2xxxx_r1_yyyymmdd_win_setup.exe
target/APKScanner_v2xxxx_r1_yyyymmdd_win_portable.zip
[Windows Installer]
: on Windows10
Requirements : NSIS 3 or later - https://nsis.sourceforge.io/Download
> .\target\win_setup.bat
: on Ubuntu/Mac
Requirements : NSIS
Ubuntu :
$ sudo apt update && sudo apt install -y nsis
MacOS :
$ sudo brew install makensis
$ target/win_setup.sh
Output : target/APKScanner_win_setup.exe
[Windows portable archive]
: on Ubuntu/Mac
$ target/win_portable.sh
: on Windows10
> target\win_portable.bat
Output : target/APKScanner_win_portable.zip
[Ubuntu debian package]
: on Ubuntu/Mac
$ target/debian_setup.sh
Output : target/APKScanner_ubuntu_setup.deb
[MacOS DMG image]
: on Mac
$ target/mac_setup.sh
Output : target/APKScanner_mac.dmg
Supported OS : Windows10, Linux Ubuntu 18.04, macOS Catalina(10.15.7)
※ Based on tested OS version.
- Launch APKScanner_xxx_win_setup.exe
- Uncompress APKScanner_xxx_win_portable.zip
- Launch ApkScanner.exe
$ sudo dpkg -i APKScanner_xxx_linux_setup.deb
- Double click to an APK File on the explorer.
Using following tools & libraries
Android Asset Packaging Tool, Android Debug Bridge
- http://developer.android.com/tools/help/adb.html
JD-GUI
- http://jd.benow.ca/
dex2jar
- https://sourceforge.net/projects/dex2jar/
ddmlib
- https://android.googlesource.com/platform/tools/base/+/master/ddmlib/
guava
- https://github.com/google/guava/
jna
- https://github.com/java-native-access/jna/
mslinks
- https://github.com/BlackOverlord666/mslinks/
RSyntaxTextArea with AutoComplete, RSTAUI
- http://bobbylight.github.io/RSyntaxTextArea/
json-simple
- https://code.google.com/archive/p/json-simple/
commons-cli
- https://commons.apache.org/proper/commons-cli/
luciad/webp-imageio
- https://bitbucket.org/luciad/webp-imageio/
Toolbar icons : https://dribbble.com/shots/1925117-Filo-Icon-Set-Free
Othres : https://github.com/ioBroker/ioBroker.icons-open-icon-library-png
APK Sanner are released under the Apache 2.0 license.