Connor Tumbleson
4403329e2e
aapt2: enable --use-aapt2 command
2018-02-28 18:40:25 -05:00
Connor Tumbleson
448d14592f
aapt2: don't rebuild compile stage unless needed
2018-02-28 18:40:13 -05:00
Connor Tumbleson
646eb54102
aapt2: refactor testsuite
...
- split from aapt1/aapt2 (those that do building)
- tests that just test decode (no aapt) split
- categories for androlib/encdoers/util for various others
2018-02-28 15:11:39 -05:00
Connor Tumbleson
09148902ef
aapt2: start of tests for aapt2
2018-02-28 13:27:13 -05:00
Connor Tumbleson
d2c808dd7d
aapt2: refactor loading of aapt/aapt2 binaries
...
- change: die out if invalid aapt path is provided
2018-02-28 11:25:56 -05:00
Connor Tumbleson
f05bd31e59
aapt2: sparse resource pulling from yaml
2018-02-28 11:05:07 -05:00
Connor Tumbleson
3c84590a1a
aapt2: treat verbose output as fine
2018-02-28 10:58:38 -05:00
Connor Tumbleson
6f45869068
aapt2: update binaries
...
- refs: 595581e599
2018-02-22 11:22:41 -05:00
Connor Tumbleson
dc9d1866a5
test: rewrite test suite to use BaseTest extending
2018-02-22 11:22:41 -05:00
Connor Tumbleson
593b357ed1
support test for lib/libs folder
2018-02-22 11:22:41 -05:00
Connor Tumbleson
828ba8aef3
aapt2: kill off aapt1 testsuite, rebuild from scratch
2018-02-22 11:22:40 -05:00
Connor Tumbleson
200ad0250b
aapt2: add linux/windows binaries
...
- very buggy
2018-02-22 11:22:40 -05:00
Connor Tumbleson
5d95b388aa
aapt2: beginning use of aapt2 vs aapt1 params
2018-02-22 11:22:40 -05:00
Connor Tumbleson
5a8bc45653
aapt2: aapt2 is a staged build (compile and link).
...
- we destroy the "compile" stage item after a link, but keep the pending directory
- apktool then cannot complete link stage
- if aapt2 is used, lie to system and re-process
- todo: rethink this
2018-02-22 11:22:40 -05:00
Connor Tumbleson
a8bdad628a
aapt2: wire up zipPackage() instead of using aapt1 for final apk package
2018-02-22 11:22:40 -05:00
Connor Tumbleson
9e5df69d17
aapt2: remove unneeded newline
2018-02-22 11:22:40 -05:00
Connor Tumbleson
f5caccbc2e
aapt2: flag for aapt2 and sparse resources to meta-info/apkOptions
2018-02-22 11:22:40 -05:00
Connor Tumbleson
0827b2b7a2
aapt2: read the type spec and infer if sparsely packed
2018-02-22 11:22:40 -05:00
Connor Tumbleson
88987e60b3
aapt2: Add a flag to determine if sparse resources or not
2018-02-22 11:22:40 -05:00
Connor Tumbleson
f8edbc9332
aapt2: add support for "--use-aapt2" option
2018-02-22 11:22:40 -05:00
Connor Tumbleson
f57c73d421
aapt2: copy "BuildAndDecodeTest" to aapt2 for temporary testing
2018-02-22 11:22:40 -05:00
Connor Tumbleson
ac1402aa7e
aapt2: binary install for mac
2018-02-22 11:22:40 -05:00
Connor Tumbleson
34a2d03b31
Support for applications with an empty resources.arsc file
...
- fixes #1730
2018-02-19 06:45:48 -05:00
Connor Tumbleson
b7b449eaaf
We are ignoring typeIdOffset
...
- missing sample that experiences this
- needs tests
- samples requested: https://github.com/iBotPeaches/Apktool/issues/1728
- refs: f90f2f8dc3
2018-02-16 08:38:07 -05:00
Connor Tumbleson
9fc1ede991
License 2018 update
2018-02-16 08:26:53 -05:00
Connor Tumbleson
1d485d21e9
cleanup formatting in smali-res-tagger
...
- experiment rewriting resIds in smali to remove need of public.xml
2018-02-16 08:25:34 -05:00
Connor Tumbleson
65fb5c25c2
Revert "switch to "startsWith" to stop AndroResGuard tricks"
...
This reverts commit c7f4dfe1db
.
2018-02-13 08:47:43 -05:00
Connor Tumbleson
085e8f66ef
Switch to loop for checking extensions we are treating as raw
...
- 9patch (samsung)
- regular (apple)
- I imagine this list will grow over time
2018-02-13 08:47:02 -05:00
Connor Tumbleson
c7f4dfe1db
switch to "startsWith" to stop AndroResGuard tricks
2018-02-13 08:46:52 -05:00
Connor Tumbleson
e7d511adf8
Remove unused line
...
- refs: no issue
2018-02-08 15:17:51 -05:00
Connor Tumbleson
d1857102dd
Add spaces where missing to make logic easier to read
...
- refs: no issue
2018-02-08 15:14:19 -05:00
Connor Tumbleson
bca474272e
Support for rebuilding root depth kotlin folder
...
- refs: #1703
2018-02-07 09:42:56 -05:00
Connor Tumbleson
895af9c975
refactor test
2017-12-14 14:07:32 -05:00
Connor Tumbleson
2838d292a0
new test apk
2017-12-14 10:55:35 -05:00
Connor Tumbleson
7d22fc66b5
Initial testing of private namespace
...
- added sample (removed attribute names)
2017-12-14 10:55:35 -05:00
Connor Tumbleson
d46ba2fb82
add small test for #1157
2017-12-13 14:41:36 -05:00
Connor Tumbleson
b525f235f8
code style cleanup
2017-12-08 16:38:31 -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
Connor Tumbleson
23486830a9
Passing test for #1587
...
- fixes #1587
- refs: 0fa6418553
2017-12-07 17:10:30 -05:00
Connor Tumbleson
d414bbd3b4
add unit-tests for 1680
2017-12-07 16:38:38 -05:00
Ruben Anagua
dd81dbfc9c
Add ability to force decoding of manifest
2017-12-07 11:33:04 +00:00
Connor Tumbleson
2b9728e9f3
Prevent ugly "Content is not allowed in prolog" warning
...
- fixes : #1634
2017-12-01 15:21:47 -05:00
Connor Tumbleson
3264f142cb
Remove useless null warning
2017-11-29 07:56:24 -05:00
Connor Tumbleson
ee2b7206f1
Add test for #1674
2017-11-29 07:43:45 -05:00
Connor Tumbleson
ef9be883cd
update internal framework to API 27 (Android Oreo - 8.1)
...
- fixes #1667
2017-11-23 08:37:08 -05:00
Connor Tumbleson
0a3adab84c
Add test changes to detect encoding of raw font files
...
- refs #1662
2017-11-23 06:48:56 -05:00
Matt Insko
5e1a47a827
Treat fonts as raw data, fixes #1662
2017-11-16 09:35:16 -05:00
Connor Tumbleson
c23c1303dd
Merge branch 'master' into issue-1639
2017-10-24 15:39:28 -04:00
Connor Tumbleson
0271e55370
Fix regression when --frame-path points to non existing directory
...
- fixes #1639
2017-10-14 12:36:54 -04:00