Commit Graph

144 Commits

Author SHA1 Message Date
huangweijie
17ad91da61 fix bug of Unrecognized option: --only-main-classes 2019-11-15 08:47:22 -05:00
IgorEisberg
a33141646b Fix JDK 11 build 2019-10-20 21:23:30 +03:00
IgorEisberg
232e801e4d build: update to smali/baksmali 2.3.4 2019-10-18 04:03:53 +03:00
Connor Tumbleson
9fcd7e4d36
style: grammar for "decompile" vs "disassemble" 2019-07-14 07:35:09 -04:00
Connor Tumbleson
bae5aab78a
fix: use only long builder for "--only-main-classes" 2019-07-14 07:29:47 -04:00
Connor Tumbleson
4d1e6ccbe4
refactor: remove pollution of global command and move to advanced
- removes "-onlymainclasses" for long "--only-main-classes"
2019-07-14 07:23:18 -04:00
Daniel Malmqvist
d79724549c
Added new option to skip non classes[0-9]*.dex files 2019-07-14 07:17:20 -04:00
Connor Tumbleson
25a1cb02ef
fix: License 2019 update 2019-07-13 12:19:41 -04:00
Connor Tumbleson
81acde7613
fix: add deprecation notice into code for #2129 2019-07-13 12:08:59 -04:00
Connor Tumbleson
0aad85a0a0
fix: add more missing modules
- thanks http://cr.openjdk.java.net/~mr/jigsaw/ea/module-summary.html
2019-07-13 08:54:19 -04:00
Connor Tumbleson
4888a5a9f0
build: add desktop/sql jmod files 2019-07-13 08:47:16 -04:00
Connor Tumbleson
24c3c0dbc9
fix: properly determine greater than java8 2019-07-13 08:37:59 -04:00
Connor Tumbleson
6aeb7d39d7
fix: remove deprecated shadowJar features 2019-07-13 08:22:30 -04:00
Connor Tumbleson
e3bead4b5b
build: support for jdk9+ build 2019-07-13 07:54:41 -04:00
Connor Tumbleson
1b4f8ec68c
fix: move outjars to end of proguard file 2019-06-01 10:57:19 -04:00
Connor Tumbleson
cc194daf83
fix: document 2.4.0 change on "api-level" for build
- fixes: #2027
2019-03-03 07:03:12 -05:00
IgorEisberg
0efccc2d93
feat: allow configurable api-level for smali 2019-02-16 18:43:25 -05:00
Connor Tumbleson
6d1792a98d fix: add headless call in beginning of execution
- fixes: #1997
2019-01-25 15:42:07 -05:00
Seb Patane
b0fd764df4 feat: Expose the aapt --no-crunch option
- Add a --no-crunch/-nc flag to apktool which gets passed through to aapt
- This allows apktool to make a byte-for-byte copy of resource files
- refs: #1232
2018-07-24 13:54:37 +10:00
Connor Tumbleson
4403329e2e aapt2: enable --use-aapt2 command 2018-02-28 18:40:25 -05:00
Connor Tumbleson
f8edbc9332 aapt2: add support for "--use-aapt2" option 2018-02-22 11:22:40 -05:00
Connor Tumbleson
9fc1ede991
License 2018 update 2018-02-16 08:26:53 -05:00
Connor Tumbleson
a0cd772205 Remove duplicate manifest-only parameter 2017-12-08 16:31:25 -05:00
Nic Allen
88eed24625 Patch APKTool to allow repeated entry offsets to appear 2017-12-07 15:38:25 -08:00
Ruben Anagua
dd81dbfc9c Add ability to force decoding of manifest 2017-12-07 11:33:04 +00:00
Connor Tumbleson
f0f87c844e Adds ability to skip asset files
- fixes #1605
 - prevents rebuild
2017-09-19 15:51:04 -04:00
Andrei Conache
5a17843284 Merge branch 'master' of https://github.com/xpirt/Apktool 2017-08-27 18:20:23 +02:00
Andrei Conache
5cdbca30fd fix #970 and add long api level option 2017-08-27 18:20:20 +02:00
Andrei Conache
14c5f87e6e fix indentation 2017-08-27 16:21:54 +02:00
Andrei Conache
c6b2f26021 update CLI commons API and optimize imports
- fixed deprecated API warnings
2017-08-27 16:12:06 +02:00
Connor Tumbleson
d0d84bf569 slight formatting cleanup 2017-07-05 16:00:02 -04:00
Connor Tumbleson
1597c12472 changed all license files 2017-07-05 12:05:52 -04:00
Connor Tumbleson
e7e8747792 Exit application only after version command 2017-07-05 11:06:34 -04:00
Connor Tumbleson
dfbcf298c2
Move to shadowJar, leaving fatJar behind
- plugin was deprecated
2017-05-08 08:33:12 -04:00
Connor Tumbleson
90b7d4b9b5
move common output to fine LOG level
- only visible in VERBOSE
2017-05-05 07:51:24 -04:00
Connor Tumbleson
e4db1fa8d6 Prevent closing objects that may not exist. 2017-05-04 17:53:54 -04:00
Marc Miltenberger
66c1b46865 Closing Framework and APK after use
This commit should fix https://github.com/iBotPeaches/Apktool/issues/1160
2017-05-02 08:21:09 +02:00
Connor Tumbleson
74f76ae71d
Upgrade to smali 2.2 2017-03-27 09:16:11 -04:00
Connor Tumbleson
6361fa9725
Evolve Update-Framework to Empty Framework Directory
- allows emptying of framework via (empty-framework-dir)
 - checks in place to only delete files that are APKs, non recursive
2016-10-06 09:18:16 -04:00
Connor Tumbleson
daa1e1d753
Updating Framework Support 2016-10-06 07:21:10 -04:00
amorris13
94c67415f9 Remove redundant condition (A || A) 2016-09-30 14:28:50 +01:00
Benjamin Dobell
032a3e5e25 Reinstate minimalistic debug option to inject android:debuggable with aapt 2016-04-28 08:21:21 -04:00
Connor Tumbleson
cd852cd658 Removes SmaliDebugging
- fixes #1061
2016-02-27 20:20:53 -05:00
Andrei Zhukouski
ce66e17ee0 Hacky fix FileNotFoundException if file name ends with space (issue #1145) 2016-01-26 11:02:19 +03:00
CzBiX
7b116d974f update url of Google Code to GitHub 2015-10-24 15:36:00 +08:00
Connor Tumbleson
0003d56389 Switch to Proguard Gradle 2015-05-01 10:26:10 -05:00
Connor Tumbleson
7f487daaf2 [skip] put new github page project url 2015-04-05 10:21:50 -05:00
Connor Tumbleson
40fdfc50a1 Options Cleanup
- remove ugly Hashmap passing
 - create ApkOptions
 - refactor based on ApkOptions
2014-11-01 21:07:02 -05:00
Connor Tumbleson
9031c22365 [skip] update all copyrights to 2014 2014-10-23 18:14:48 -05:00
Connor Tumbleson
aba540885e Gradle Refresh
- move common functions to functions.gradle
 - use dependency aliases whenever possible
 - update to gradle 2.1
 - cleanup build.gradle files with proper spacing
 - remove duplicated blocks
 - compile incrementally (java)

Gradle Refresh v2

 - alphabetical order dependencies
 - added jdk8 to build tests
 - moved script to file for travis

Gradle Refresh v2a

 - fix travis
 - remove pointless logging

jdk8 isn't ready for travis
2014-10-23 17:43:37 -05:00
Connor Tumbleson
70eaab9971 Multiple Dex Support
- CS fixes
 - added decode support for multiple dexes
 - decoded to smali_[dex name]
2014-08-15 20:24:12 -05:00
Connor Tumbleson
b1d1a0863d remove old hashed binaries during proguard build, update gradle wrapper url 2014-02-08 18:05:57 -06:00
Connor Tumbleson
e3ed1a448a refactor gradle version system for release, snapshots and non-git snapshots 2014-02-04 09:54:00 -06:00
Connor Tumbleson
2ef25fe5e2 fix jar disassembling 2013-10-16 19:48:43 -05:00
Connor Tumbleson
acd335f92d output as stdout instead of stderr 2013-09-14 12:37:49 -05:00
Connor Tumbleson
be4ae922de stderr for error messages 2013-09-07 08:54:07 -05:00
Connor Tumbleson
acea65f63a fix NPE for outputting to a folder that already exists. 2013-08-15 10:16:52 -05:00
Connor Tumbleson
743e67ac9e adapt build.gradle for new dexlib2 changes 2013-08-12 12:27:07 -05:00
Connor Tumbleson
932ef75635 remove extra - from --match-original 2013-06-25 08:29:45 -05:00
Connor Tumbleson
832978a549 fixes issue 469, added -m / --match-original
fixes xml output not having newline after xml declaration
2013-06-12 10:04:28 -05:00
Ryszard Wiśniewski
89133557ca Added debugLinePrefix CLI option. 2013-05-04 22:04:26 +02:00
Ryszard Wiśniewski
fed7f763b9 Fixed "apktool b" with default app_path argument. 2013-05-02 17:49:30 +02:00
Connor Tumbleson
ccb76e1abb adjust output for if|install for --frame-path 2013-05-02 07:08:14 -05:00
Connor Tumbleson
722369fbd7 set console width to 120 to allow documentation to fit perfectly 2013-05-01 21:55:33 -05:00
Connor Tumbleson
51013d9e0a remove console width formatting 2013-04-03 22:57:27 -05:00
Connor Tumbleson
9a6fd7de63 updated to isAdvanceMode() and updated spacing on file 2013-04-01 16:44:19 -05:00
Connor Tumbleson
a48c11dc1c cleanup of various functions
Removed attr sorting that was never enabled and never worked, added @todo elements for unknown file handling, updated usage output
2013-04-01 16:41:27 -05:00
Connor Tumbleson
c420a039e0 set --max-res-version if maxsdk version is present 2013-03-21 06:32:18 -05:00
Connor Tumbleson
669d6400d2 minor cosmetic changes to usage output, added publicize-resources 2013-03-21 06:12:35 -05:00
Connor Tumbleson
43993551bd updated changes, removed license from usage output 2013-03-21 05:44:58 -05:00
Connor Tumbleson
82eb3af7e7 forgot addition of --quiet and --verbose 2013-03-20 21:56:39 -05:00
Connor Tumbleson
b6afd4b580 removed unused imports in Main.java 2013-03-20 21:41:48 -05:00
Connor Tumbleson
8b182cacae usage redo fixed #403 2013-03-20 21:36:20 -05:00
Connor Tumbleson
74493651e6 moar cli work 2013-03-20 20:37:52 -05:00
Connor Tumbleson
6757c0a79f finished cli usage printout 2013-03-20 16:58:24 -05:00
Connor Tumbleson
dca0182339 progress on #403 2013-03-20 08:53:39 -05:00
M1cha
3578010262 add support for automatically patch signatures
Conflicts:
	brut.apktool/apktool-lib/src/main/java/brut/androlib/Androlib.java
2013-03-19 12:55:44 -05:00
Connor Tumbleson
e4d506ab27 removed --original 2013-03-19 08:52:24 -05:00
Connor Tumbleson
69ee710e30 fixes #427, correctly handles --frame-path on build 2013-03-14 16:50:27 -05:00
Connor Tumbleson
e82c0754de Code cleanup of 2013
Signed-off-by: Connor Tumbleson <connor.tumbleson@gmail.com>
2013-02-12 21:12:17 -06:00
Connor Tumbleson
dbce4479b2 added -version to print out raw version number 2013-01-30 20:22:13 -06:00
Connor Tumbleson
484feea284 removing dead code, code cleanup 2013-01-19 16:35:48 -06:00
Connor Tumbleson
cb5bad5555 added ability to use --frame-path during install of frameworks 2013-01-18 08:19:19 -06:00
Connor Tumbleson
92eae964a9 fixes issue #394, and changes building script to fatJar (instead of build) 2013-01-17 07:58:50 -06:00
Connor Tumbleson
bbee938b5c deleted not-needed smali stuff, renamed license for smali to prevent conflicts, worked on Proguard 2013-01-16 21:51:04 -06:00
Connor Tumbleson
3947b4c941 cleaning up gradle build files, removing proguard 2013-01-16 19:18:32 -06:00
Connor Tumbleson
6744b2469c gradle redo (moved each to their own project for organization) 2013-01-16 16:06:32 -06:00
Connor Tumbleson
f82b2e1855 fixes issue #67 - only compresses resources.arsc if original apk had compressoin 2013-01-13 08:19:42 -06:00
Connor Tumbleson
2a7cf75682 ugh SpringSuite is half-commiting. Adjusting null -> "" for strings 2012-12-23 16:02:00 -06:00
Connor Tumbleson
3b1a8be980 Updated unit-tests for 4.2 APK support, added -a / --apt during build for location to aapt, reverted fix regarding <uses-sdk> 2012-12-23 15:13:01 -06:00
Connor Tumbleson
04b5508c3a Android 4.2 support finally ? updated some internal libs, fixed --renamed-package 2012-12-18 19:40:42 -06:00
Robert Mays Jr
f83383a33b Support for --framework <dir> command line argument to specify the location of the framework files (previously forced you to keep them in the home folder) 2012-11-29 18:30:21 -05:00
Connor Tumbleson
1a9901a75d updated github location and commented out --original function 2012-11-12 21:34:33 -06:00
Connor Tumbleson
4db49ab347 Adding brut.apktool :/ 2012-09-19 20:27:35 -05:00