项目作者: apk-spectrum

项目描述 :
The APK Scanner show the APK information via double click on your PC.
高级语言: Java
项目地址: git://github.com/apk-spectrum/apk-scanner.git
创建时间: 2019-01-01T12:41:32Z
项目社区:https://github.com/apk-spectrum/apk-scanner

开源协议:Apache License 2.0

下载


APK Scanner

Software License
Welcome to the APK Scanner!

WEBSITE : https://apk-spectrum.github.io/apk-scanner/
WIKI : https://github.com/apk-spectrum/apk-scanner/wiki

Introduce the APK Scanner

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..)

Build

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.

Requirements

JDK 8 or later
If using VSCode with “Extension Pack for Java”

Open a project in IDE

  1. source code download with submodule

    git clone —recurse-submodule https://github.com/apk-spectrum/apk-scanner

  2. 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 delete

Run 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)

  1. Set JVM Options)
  2. Add line below into each configuration of launch.json
  3. "vmArgs": ["-Dfile.encoding=UTF-8"]
  4. OR
  5. Add this line below into your user setting json file
  6. "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) > OK

Run Configuration)
Run > Run As > Java Application(Alt+Shift+X, J) > Select a “Main - com.apkscanner” > OK

Show log for debugging

Press F12 key on main window focused.

Package

1. maven package

[Windows]
> .\mvnw.cmd package

[Ubuntu/Mac]
$ ./mvnw package

Output : target/APKScanner.jar

2. Make an installer or archive

  1. [ALL Platform on Ubuntu/Mac]
  2. Requirements : NSIS, dpkg
  3. Ubuntu :
  4. $ sudo apt update && sudo apt install -y nsis
  5. MacOS :
  6. $ sudo brew install makensis dpkg
  7. $ target/package.sh 2.x.x v2xxxx_r1_yyyymmdd
  8. OR
  9. $ APP_VERSION=2.x.x FILE_VERSION=v2xxxx_r1_yyyymmdd target/package.sh
  10. Output :
  11. target/APKScanner_v2xxxx_r1_yyyymmdd_win_setup.exe
  12. target/APKScanner_v2xxxx_r1_yyyymmdd_win_portable.zip
  13. target/APKScanner_v2xxxx_r1_yyyymmdd_ubuntu_setup.deb
  14. target/APKScanner_v2xxxx_r1_yyyymmdd_mac.dmg [Only on Mac]
  15. [Windows]
  16. Requirements : NSIS 3 or later - https://nsis.sourceforge.io/Download
  17. > .\target\package.bat 2.x.x v2xxxx_r1_yyyymmdd
  18. Output :
  19. target/APKScanner_v2xxxx_r1_yyyymmdd_win_setup.exe
  20. target/APKScanner_v2xxxx_r1_yyyymmdd_win_portable.zip
  1. [Windows Installer]
  2. : on Windows10
  3. Requirements : NSIS 3 or later - https://nsis.sourceforge.io/Download
  4. > .\target\win_setup.bat
  5. : on Ubuntu/Mac
  6. Requirements : NSIS
  7. Ubuntu :
  8. $ sudo apt update && sudo apt install -y nsis
  9. MacOS :
  10. $ sudo brew install makensis
  11. $ target/win_setup.sh
  12. Output : target/APKScanner_win_setup.exe
  1. [Windows portable archive]
  2. : on Ubuntu/Mac
  3. $ target/win_portable.sh
  4. : on Windows10
  5. > target\win_portable.bat
  6. Output : target/APKScanner_win_portable.zip
  1. [Ubuntu debian package]
  2. : on Ubuntu/Mac
  3. $ target/debian_setup.sh
  4. Output : target/APKScanner_ubuntu_setup.deb
  1. [MacOS DMG image]
  2. : on Mac
  3. $ target/mac_setup.sh
  4. Output : target/APKScanner_mac.dmg

Setup & Launch

Supported OS : Windows10, Linux Ubuntu 18.04, macOS Catalina(10.15.7)
※ Based on tested OS version.

Setup

for Windows

Using SetupWizard
  1. Launch APKScanner_xxx_win_setup.exe
    Using portable
  2. Uncompress APKScanner_xxx_win_portable.zip
  3. Launch ApkScanner.exe

for Linux (ubuntu)

Using Debian installer

$ sudo dpkg -i APKScanner_xxx_linux_setup.deb

Launch

  1. Double click to an APK File on the explorer.

External Tools & Resources

Using following tools & libraries

External Execute Tools

Android Asset Packaging Tool, Android Debug Bridge Software License
- http://developer.android.com/tools/help/adb.html
JD-GUI Software License
- http://jd.benow.ca/
dex2jar Software License
- https://sourceforge.net/projects/dex2jar/

External Dependency Libraries

ddmlib Software License
- https://android.googlesource.com/platform/tools/base/+/master/ddmlib/
guava Software License
- https://github.com/google/guava/
jna Software License
- https://github.com/java-native-access/jna/
mslinks Software License
- https://github.com/BlackOverlord666/mslinks/
RSyntaxTextArea with AutoComplete, RSTAUI Software License
- http://bobbylight.github.io/RSyntaxTextArea/
json-simple Software License
- https://code.google.com/archive/p/json-simple/
commons-cli Software License
- https://commons.apache.org/proper/commons-cli/
luciad/webp-imageio Software License
- https://bitbucket.org/luciad/webp-imageio/

Images

Toolbar icons : https://dribbble.com/shots/1925117-Filo-Icon-Set-Free
Othres : https://github.com/ioBroker/ioBroker.icons-open-icon-library-png

License Software License

APK Sanner are released under the Apache 2.0 license.