Connor Tumbleson
dc3667dbd0
Support Spare Flags ( #2887 )
...
* support sparse flag
* style: cs changes
Co-authored-by: R0S <41138521+iamr0s@users.noreply.github.com>
2022-09-19 17:18:35 -04:00
Connor Tumbleson
3fff2f128e
Support malformed resource names/namespaces by falling back to resId ( #2886 )
...
* Correct falsely-referenced attribute into an entity which is an obfuscated name
* style: correct syntax for custom attributes
* fix: remove unused import
Co-authored-by: MyAnoneNeko <MyAnoneNeko@users.noreply.github.com>
2022-09-19 16:27:43 -04:00
Tvildo
5d6c6c04d2
Fixes Facebook apk deconstruction ( #2884 )
2022-09-19 12:34:14 -04:00
Connor Tumbleson
7a2c0c8bb8
fix: correct case when application has no ResPackages
...
- refs: #2701
2022-07-10 07:42:29 -04:00
Connor Tumbleson
f94cdc5cf3
refactor: mark skips as "fine" to not clog output
2022-07-10 07:38:05 -04:00
Connor Tumbleson
287d4a5922
style: fix missing throws statements on javadoc
2022-07-10 07:34:45 -04:00
Connor Tumbleson
dceff41a57
feat: lodge helpful information of built apk location
...
fixes : #2843
2022-07-10 07:32:40 -04:00
Connor Tumbleson
c3ce154b72
Binaries: aapt/aapt2 updates (July 5, 2022) ( #2846 )
...
* feat: new aapt/aapt2 binaries (win/linux)
* feat: new aapt/aapt2 binaries (mac)
* docs: optimization techniques for aosp clone
2022-07-10 07:21:24 -04:00
Connor Tumbleson
057b35fcec
feat: update internal framework to API 33 (Tiramisu Privacy Preview) ( #2845 )
2022-07-03 13:00:39 -04:00
Connor Tumbleson
b7c56c8928
Tests / Style for #2815 ( #2817 )
...
* style: reorg getAttributes (StyledString)
* test: assertion for aapt2 string (#2815 )
2022-05-23 07:09:27 -04:00
Igor Eisberg
c1f6dc792a
fix: redesign StyledString decoding ( #2816 )
...
* fix: redesign StyledString decoding
* optimize: avoid calling span.getName() twice
* fix: order spans due to aapt1/2 discrepancy
* fixes : #2815
2022-05-23 06:40:48 -04:00
erev0s
8fab4bfb3d
added option to include generic/permissive network security config file durin… ( #2791 )
...
* added option to include permissive network security config file during build
* added tests for app with existing network config and for app without
* minor fixes for pull 2791
* refactor: slim down test app for network config
* style: remove extra newlines
* refactor: moved network tests to aapt2
* refactor: remove unused exceptions
* test (aapt2): ensure aapt2 is used for net-sec-conf
* fix (cli): block use of net-sec-conf on aapt1
* fix conflict
Co-authored-by: Connor Tumbleson <connor@sourcetoad.com>
Co-authored-by: Connor Tumbleson <connor.tumbleson@gmail.com>
2022-05-07 06:52:07 -04:00
Connor Tumbleson
b910df79dd
New aapt/aapt2 binaries ( #2787 )
...
* feat: new aapt1/aap2 binaries for mac (static)
* feat: new aapt1/aapt2 binaries for unix/mac (static)
* feat (aapt2): allow reserved pkgIds
2022-03-28 06:53:42 -04:00
Connor Tumbleson
fc28ac56ef
Merge pull request #2785 from iBotPeaches/revert-2650-fix-private-reference
...
Revert "fix: decoding references to private resources"
2022-03-21 07:44:22 -04:00
Connor Tumbleson
49071d0fb0
feat: update internal framework to API 31 (12 Release) ( #2743 )
...
* feat: update internal framework to API 31 (12 Release)
* refactor: rename enums for new overlays/stagedAliases
* fix: introduce basic staged alias support
* feat: update internal framework to API 32 (12L Release)
* fix: add support for overlay spec skipping
2022-03-21 07:20:04 -04:00
Connor Tumbleson
c300184780
fix: add support for overlay spec skipping
2022-03-21 07:03:14 -04:00
Connor Tumbleson
26f39ee736
feat: update internal framework to API 32 (12L Release)
2022-03-21 07:02:54 -04:00
auermich93
e105768592
fixes issue #2473 ( #2783 )
2022-03-21 06:51:15 -04:00
Connor Tumbleson
df3b9f7c56
fix: introduce basic staged alias support
2022-03-13 08:34:45 -04:00
Connor Tumbleson
e9a3993da8
refactor: rename enums for new overlays/stagedAliases
2022-03-13 08:34:31 -04:00
Connor Tumbleson
951d063cbd
feat: update internal framework to API 31 (12 Release)
2022-03-13 07:55:51 -04:00
Connor Tumbleson
31af56a430
feat: introduce SDK_S_V2 ( #2780 )
2022-03-13 07:39:54 -04:00
Connor Tumbleson
4065717b45
Preventing instantiation of untrusted classes. ( #2760 - CVE-2022-0476)
...
* fix: enforce allowable classes during yaml parsing
* fix: rename class to reference escaping nature of strings
* test: assertion for parsing malicious yaml
2022-02-19 09:12:04 -05:00
Connor Tumbleson
a269a8e0d5
refactor: drop unused exceptions ( #2746 )
2022-01-18 08:18:33 -05:00
Connor Tumbleson
797fc3e332
fix: prevent file hold on tmpDir during build ( #2745 )
2022-01-18 07:32:41 -05:00
Connor Tumbleson
ddc4bb360a
Cleanup trailing temp files/folders ( #2742 )
...
* test: add missing afterClass to cleanup BRUT* directory
* fix: properly cleanup apkFile temp after buildManifest
2022-01-17 07:19:22 -05:00
Al Sutton
95874be448
Replace use of deprecated methods with their recommended replacements ( #2713 )
...
* Replace use of deprecated methods with their recommended replacements
* Add scripting jmod to proguard inputs
2021-12-13 06:27:19 -05:00
Connor Tumbleson
6cfe2987e5
fix: support for signature scheme v4 ( #2705 )
2021-11-27 07:41:15 -05:00
Yaroslav
d29411117e
fix: decoding references to private resources ( #2650 )
...
* fix: decoding references to private resources
* style: fix naming in constructor parameter
* test: add test to check build/decode private references
2021-10-17 12:01:54 -04:00
Connor Tumbleson
3b179f8750
refactor: rename ApkOptions -> Options/BuildOptions
2021-09-06 06:59:30 -04:00
Connor Tumbleson
3f09781939
docs: add missing docblocks for getHTML() in StringBlock
2021-09-01 07:40:41 -04:00
Connor Tumbleson
851309dde0
Merge branch 'master' into refine
2021-08-30 21:17:49 -04:00
itaybia
087142d4cf
fix wrong HTML start/end tags in strings.xml ( #2631 )
...
* fix wrong HTML start/end tags in strings.xml
2021-08-30 21:15:23 -04:00
Connor Tumbleson
0645821883
fix: remove unneeded depth/logic in serializer
2021-08-30 20:59:53 -04:00
Connor Tumbleson
2e3f22af7c
refactor: log first package if 2
2021-08-30 20:59:38 -04:00
Goooler
5c6d091f39
Merge branch 'master' into refine
2021-08-30 18:48:04 +08:00
Connor Tumbleson
a0c2fef83b
feat: new aapt1/aap2 binaries for mac (static)
2021-08-29 11:50:36 -04:00
Connor Tumbleson
f4a75fe761
refactor: remove SDK name from development sdk version
2021-08-29 07:22:05 -04:00
Connor Tumbleson
b80d13b56a
fix: add support for proper API 31/S (12) + API 32/T (13)
2021-08-29 07:22:05 -04:00
Connor
fc2f12363d
feat: new windows/linux aapt/aapt2 binaries
2021-08-28 14:27:30 -04:00
Connor Tumbleson
394394c3b5
feat: add new aapt/aapt2 binaries
2021-08-28 14:27:30 -04:00
Goooler
c3e8be3e8a
Reformat & Rearrange
2021-08-27 01:32:40 +08:00
Goooler
94ed86db28
Code cleanups
2021-08-27 01:16:46 +08:00
Goooler
e25c3636ff
Update docs & licenses to use https
2021-08-26 07:40:32 -04:00
Cody Lund
8d59882e5f
Fix: numeric string meta-data value corruption ( #2612 )
...
* Fix: handle numeric strings in manifest meta-data value
* fix regex
* scoped solution
* improve comment
Co-authored-by: Cody Lund <colund@microsoft.com>
2021-08-17 07:01:08 -04:00
Connor Tumbleson
e4654e0b5f
fix: write dummy resources as items
2021-07-04 09:49:59 -04:00
IgorEisberg
fad2f99541
style: return DexFile interface from SmaliDecoder
2021-07-04 14:12:38 +03:00
IgorEisberg
6cfa79e456
Determine minSdkVersion with baksmali for JARs + don't compress webp
...
We take advantage of the fact that baksmali can determine the minimum API version needed for a given collection of opcodes and extract it, then save to mMinSdkVersion, which is only used by smali via buildSourcesSmali.
This change, in addition to my previous change, allows to decompile and recompile JARs without worrying about specifying an API version via -api/--api-level.
As an extra, added webp file extension to NO_COMPRESS_PATTERN, according to AAPT2 standards, and since it's factually never compresses as it's an already compressed format.
https://cs.android.com/android/platform/superproject/+/master:frameworks/base/tools/aapt2/cmd/Link.cpp;l=2328
2021-07-04 02:14:56 +03:00
IgorEisberg
1ed1076a84
correction: don't clear resource table if it was already loaded
2021-07-04 00:16:22 +03:00
IgorEisberg
88d3d0038c
style: organize some using statements for consistency
2021-07-03 23:24:42 +03:00
IgorEisberg
83f9693633
clean: get rid of useless throws
2021-07-03 23:15:10 +03:00
IgorEisberg
1472b50541
fix: pass opcodes=null for baksmali to auto-determine by dex version
...
When DexBackedDexFile gets opcodes==null, it calls getDefaultOpcodes(dexVersion) which returns the appropriate opcodes for the given dex version. No hints are required for baksmali, but only needed for smali.
https://github.com/JesusFreke/smali/blob/master/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/DexBackedDexFile.java#L83
2021-07-03 23:05:04 +03:00
IgorEisberg
204b742cf0
Avoid abuse of getResTable calls and unneeded checks
2021-07-03 22:46:11 +03:00
IgorEisberg
1fd3f52b9d
clean: setTargetSdkVersion used before manifest was decoded
2021-07-03 22:35:59 +03:00
IgorEisberg
992de66bac
Handle setAnalysisMode properly
2021-07-03 22:17:00 +03:00
IgorEisberg
bb42159880
style: rename vars for consistency
2021-07-03 21:26:16 +03:00
Connor Tumbleson
a6138f3be4
feat: add helpful message if CantFindFrameworkResException is thrown
2021-06-26 07:02:46 -04:00
Connor Tumbleson
9f8ddb1bb0
feat: update internal framework to API 31 (S Beta 4)
2021-06-02 06:21:30 -04:00
Comnir
f10060fe8f
fix: when decoding with UTF-8 fails, create a new buffer for the retry with CESU-8.
...
If the decoding fails and there are UTF-8 decodable bytes before the bytes that couldn't be decoded, then the read index of the original buffer is incremented and those bytes will be missing from the decode result.
Now we create a new buffer and the decoding will start at the original start offset.
issue #2546
2021-04-03 13:28:22 +03:00
Connor Tumbleson
0a7b843786
fix: cleanup StringBlock from unused methods
2021-03-28 17:26:35 -04:00
Connor Tumbleson
d2288ef921
fix: remove unused smali builder methods
2021-03-28 17:26:19 -04:00
Connor Tumbleson
bddf575318
fix: remove no longer used resources on ResPackage
2021-03-28 17:26:08 -04:00
Connor Tumbleson
618d9b23e5
fix: remove unused methods from Res* data classes
2021-03-28 17:25:37 -04:00
Connor Tumbleson
edb4fc86cc
fix: remove unused methods/properties from AXmlParser
2021-03-28 17:25:16 -04:00
Connor Tumbleson
8a23d0dbc1
refactor: correct spelling mistake of aapt
2021-03-28 10:54:31 -04:00
Connor Tumbleson
f4c2f9bc50
fix: remove declared exceptions that aren't thrown
2021-03-12 07:47:19 -05:00
Connor Tumbleson
4d11c13e44
refactor: remove duplicated code
2021-03-12 07:37:47 -05:00
Connor Tumbleson
447ba50332
refactor: drop author tags and support javadocs
2021-03-07 15:06:45 -05:00
wangyilei
e0e6cfd03f
only log string decode warning when failed
2021-03-06 22:00:54 +08:00
wangyilei
5a66b2c42d
support lib/specType chunk out-of-order reading
2021-03-06 21:58:23 +08:00
Connor Tumbleson
98aa7acb22
fix: skip files that violate safe filepath
2020-12-11 07:10:05 -05:00
Comnir
f1321c8437
fix issue 2299: Unicode code points higher than 0x10000 decoding fails.
...
- Use CESU8 decoder instead of UTF-8 in StringBlock.
- DEX uses Modified UTF-8 which is close to CESU-8 (https://source.android.com/devices/tech/dalvik/dex-format#mutf-8 )
2020-12-10 12:38:55 +02:00
Comnir
201b5976bb
Add tests for StringBlock#decodeString with failing tests for code points above 0x10FFFF (issue 2299).
2020-12-10 12:29:34 +02:00
Connor Tumbleson
6d4e503b16
fix: rename duplicate attributes to not start with numeric
2020-12-04 06:14:27 -05:00
Connor Tumbleson
d1c006b260
build: add latest linux/windows/mac aapt|aapt2 binaries ( #2450 )
...
* build: add latest linux/windows aapt|aapt2 binaries
* build: add latest mac aapt|aapt2 binaries
2020-12-03 06:18:01 -05:00
Connor Tumbleson
d63088db9f
feat: method to list frameworks
2020-11-30 07:11:08 -05:00
Connor Tumbleson
734793c4bb
fix: survive if referent is null (flags)
2020-11-29 09:34:43 -05:00
Connor Tumbleson
5f7630e325
fix: survive if referent is null (enum)
2020-11-29 09:34:43 -05:00
Connor Tumbleson
3ab1a1a5e4
fix: fallback to res-auto namespace if non-android pkg
2020-11-28 16:58:31 -05:00
Connor Tumbleson
150ffc4fdc
style: remove weird indented code
2020-11-28 16:58:31 -05:00
Connor Tumbleson
f1393c3ca6
refactor: return null, if always null
2020-11-28 16:58:31 -05:00
Connor Tumbleson
2eac0339b4
refactor: use easier to read string decode
2020-11-28 16:58:31 -05:00
Connor Tumbleson
db70927699
style: remove unused imports
2020-11-28 16:58:31 -05:00
Connor Tumbleson
45ae71204e
chore: remove StringBlock unused m_stringOwns
2020-11-28 16:58:31 -05:00
Connor Tumbleson
7cf9a95710
fix: add better error message when can't write framework file
2020-11-28 16:19:29 -05:00
Connor Tumbleson
5a54b472d1
fix: set dummy attributes to same type (@null)
2020-11-28 08:59:18 -05:00
Connor Tumbleson
43010de4e8
style: remove unused import
2020-11-28 06:59:48 -05:00
Connor Tumbleson
b896b4491a
fix: prevent NPE during decode app with no matching resId for resource
2020-11-28 06:59:48 -05:00
Connor Tumbleson
cd7405d31b
build: update add latest mac aapt|aapt2 binaries
2020-11-27 15:55:36 -05:00
Connor Tumbleson
3043266ee5
build: update add latest linux/windows aapt|aapt2 binaries
2020-11-27 15:55:36 -05:00
Connor Tumbleson
9170c5a04b
build: fix chmod on mac binaries
2020-11-27 09:22:41 -05:00
Connor Tumbleson
1dfac6d8bf
build: add latest linux/windows aapt|aapt2 binaries
2020-11-27 09:22:41 -05:00
Connor Tumbleson
d7e27ffc69
build: add latest mac aapt|aapt2 binaries (API 30)
2020-11-27 09:22:41 -05:00
Connor Tumbleson
c501952c69
build: add latest linux/windows aapt|aapt2 binaries (API 30)
2020-11-27 09:22:41 -05:00
Connor Tumbleson
efeb09e037
build: add latest linux/windows aapt|aapt2 binaries
2020-11-27 09:22:41 -05:00
Connor Tumbleson
3101a05ef6
fix: add development next version (S) - API 31
2020-09-13 08:52:15 -04:00
Connor Tumbleson
6427a28beb
refactor: prevent casting by setting proper types
2020-09-13 08:45:30 -04:00
Connor Tumbleson
943b424172
fix: use proper array syntax
2020-09-13 08:45:05 -04:00
Connor Tumbleson
120c63df75
refactor: remove unused methods/variables
2020-09-13 08:44:40 -04:00
Connor Tumbleson
65eeb2fb4a
refactor: make constant values final
2020-09-13 08:44:08 -04:00
Connor Tumbleson
2720cf93a3
refactor: put same path switch on same line
2020-09-13 08:41:55 -04:00
Connor Tumbleson
35a4bd6718
style: re-org exceptions to have suffix ( #2400 )
...
* style: re-org exceptions to have suffix
* fix: add missing exception for ResResSpec
2020-09-13 08:40:03 -04:00
Connor Tumbleson
22fdee4d2e
feat: update internal framework to API 30 (11 Release)
2020-09-12 11:54:15 -04:00
Ankit Pati
87a9c659f5
convert CRLF line endings to LF in .java
file
2020-08-09 07:57:00 -04:00
Ankit Pati
8009a10a5d
remove executable bit set on .java
file
2020-08-09 07:54:51 -04:00
Connor Tumbleson
de5d0e41cf
fix: prevent nullying out sdk info when compileSdkVersion is found
2020-06-27 15:21:05 -04:00
Comnir
306959a6fb
fix the usage of debug flag (-d) when using aapt2
...
- when using aapt and debug flag, we remove the 'debuggable' attribute from AndroidManifest and aapt adds it back. (see issue 1621)
- when using aapt2 and debug flag, we add and set the value of 'debuggable' attribute ourselves.
2020-06-09 07:08:22 -04:00
Peter Retzlaff
408050ffde
Add tests to ensure empty, uncompressed files are put on the doNotCompress list.
...
Also, fix a bug where ext would retain its value from a previous
iteration of the loop, since we don't always overwrite it now.
2020-06-09 07:05:43 -04:00
Peter Retzlaff
5db19b3329
Put empty, uncompressed files on doNotCompress list ( fixes #2333 ).
...
We do not want one empty file to cause all files with that extension to
not be compressed, so we always put the full filename on the doNotCompress
list in this case.
2020-06-09 07:05:43 -04:00
Connor Tumbleson
83a45921ea
fix: put the resources.arsc file under STORED compression into framework
2020-04-12 07:27:28 -04:00
Connor Tumbleson
3f831c8221
refactor: copyright year should be year started, not current year
2020-04-11 06:33:05 -04:00
Frieder Bluemle
81ca785e02
Fix file header comment format
2020-02-29 17:37:46 -08:00
Connor Tumbleson
ee54853718
feat: update internal framework to API 29 (10 Release)
2019-11-29 11:43:31 -05:00
Connor Tumbleson
b05f19b80d
fix: patch aapt2 to not run custom commands on passed aapt2 binary
2019-11-20 06:46:06 -05:00
Peter Retzlaff
d6f38e38cd
Only attempt to use -e option when the packaged aapt binary is used.
2019-11-20 06:46:06 -05:00
Peter Retzlaff
5d488e5f22
Create file containing the do-not-compress extensions and pass it to aapt.
2019-11-20 06:46:06 -05:00
Connor Tumbleson
b02b265ae2
style: cleanup syntax
2019-11-19 06:55:27 -05:00
Connor Tumbleson
7910802648
Merge branch 'fix/uncompressed_files_bug' of https://github.com/realityJie/Apktool into realityJie-fix/uncompressed_files_bug
2019-11-19 06:53:00 -05:00
Connor Tumbleson
37505ff509
build: update aapt/aapt2 binaries to 71b16b59 (mac)
2019-11-18 19:48:33 -05:00
Connor Tumbleson
9e75e593a6
build: update aapt/aapt2 binaries to 71b16b59 (windows)
2019-11-18 19:48:33 -05:00
Connor Tumbleson
557b763c1c
build: update aapt/aapt2 binaries to 71b16b59 (unix)
2019-11-18 19:48:33 -05:00
Brian Pak
31a23ba493
Fix AXML parser to handle obfuscated attribute names
...
This adds an additional check if the attribute namespace belongs to
Android namespace, and if so we try to decode using attribute decoder.
Fixes #1576 .
2019-11-14 18:37:25 -05:00
huangweijie
5197e21d75
there files should not be compressed:
...
1.base on AOSP's frameworks/base/tools/aapt/Package.cpp: NO_COMPRESS_PATTERN = Pattern.compile("(jpg|jpeg|png|gif|wav|mp2|mp3|ogg|aac|mpg|mpeg|mid|midi|smf|jet|rtttl|imy|xmf|mp4|" +
"m4a|m4v|3gp|3gpp|3g2|3gpp2|amr|awb|wma|wmv|webm|mkv)$"); specifically this rule include 9patch files.
2.file has not ext
3.the compressive type is store
warning:
even if there are the same type of files, they are compressive type may different, just like this example:
-rw---- 1.0 fat 8343 b- 0% stor 80-Jan-01 08:00 assets/resources/assets/effect/common/ctp_trail15_1_tex.unity3d
-rw---- 1.0 fat 11526 b- 0% stor 80-Jan-01 08:00 assets/resources/assets/effect/common/ctp_trail15_tex.unity3d
-rw---- 2.0 fat 2483 bl 19% defN 80-Jan-01 08:00 assets/resources/assets/effect/common/cw_310300_cylq_ql01_mat.unity3d
-rw---- 2.0 fat 9467 bl 17% defN 80-Jan-01 08:00 assets/resources/assets/effect/common/cw_310300_cylq_ql03_fbx.unity3d
ctp_trail15_1_tex.unity3d and ctp_trail15_tex.unity3d are uncompressed, but cw_310300_cylq_ql01_mat.unity3d and cw_310300_cylq_ql03_fbx.unity3d are compressed.
That is why I modified recordUncompressedFiles Method.
2019-11-14 12:02:49 +08:00
IgorEisberg
232e801e4d
build: update to smali/baksmali 2.3.4
2019-10-18 04:03:53 +03:00
Connor Tumbleson
197d468727
Merge pull request #2175 from danielmalmq/master
...
Fixes issue with decoding apk containing a zero byte 9patch
2019-10-06 05:24:04 -04:00
yangjing.yeoh
9e39755750
bugfix, fix get wrong package ResPackage for multi-pkg resources.arsc.
2019-09-23 18:39:18 +08:00
Daniel Malmqvist
dc312a5336
Fixes issue with decoding apk containing a zero byte 9patch
2019-09-19 13:34:06 +02:00
Connor Tumbleson
fefc5e226a
refactor: use MultiDexContainer instead of DexBackedDexFile
2019-08-17 07:00:15 -04:00
Connor Tumbleson
c2065995ed
feat: update internal framework to API 29 (Q Beta 4)
...
- fixes : #2131
2019-07-20 12:32:14 -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
5a51c5f96d
style: add comment for explanation of 9patch minimization
2019-07-14 07:09:39 -04:00
Igor Eisberg
bc9f465f3e
Fix the massive list of uncompressed 9.png that prevents recompile on Windows
...
Windows has its limits, even Windows 10, at least on older versions before the max path length restriction was removed.
Because apktool failed to recognize the .9.png extension as a variety of the .png extension, those .9.png files were piling up in apktool.yml and then passed to aapt, which would fail to run on Windows because of an immense command length.
This fix makes a special exception for the .png exception and will allow the .9.png one to pass as another .png extension.
Before: http://dpaste.com/2BC3RRB
After: http://dpaste.com/177CVZQ
2019-07-14 07:04:49 -04:00
Connor Tumbleson
103aa978df
refactor: remove outdated ALLOWED_PACKAGES constant
2019-07-14 06:56:37 -04:00
Igor Eisberg
8084762274
Fix recompile of miui.apk by allowing package renaming
...
This old issue prevented the package to be renamed from com.miui.core to miui, making it impossible to recompile, as all attributes are refefred to as miui:*/*. This fixes it permanently.
2019-07-14 06:54:32 -04:00
Connor Tumbleson
3990598373
fix: restore licenses wiped by 2017 license change
2019-07-13 12:23:22 -04:00
Connor Tumbleson
25a1cb02ef
fix: License 2019 update
2019-07-13 12:19:41 -04:00
Shaheen Gandhi
2bc8feb549
Add attr resource type handling
2019-07-02 19:23:33 -04:00
Connor Tumbleson
5f43a1fbca
style: cleanup formatting
2019-06-01 09:27:41 -04:00
Adib Faramarzi
61088302e3
Add unit tests
...
- add APK file containing a simple app that tries to use coroutines every 2 seconds, and would fail with earlier versions of APKTool
- add unit test for decoding the app
- add unit test for building a decoded app
2019-05-30 22:18:04 +04:30
Adib Faramarzi
cfd50acd1d
Add unit tests
...
- add APK file containing a simple app that tries to use coroutines every 2 seconds, and would fail with earlier versions of APKTool
- add unit test for decoding the app
2019-05-30 22:12:57 +04:30
Adib Faramarzi
fa99bdd19d
Fix removal of META-INF/services folder
...
- copy the META-INF/services folder to the destination APK folder so it does not get dropped
2019-05-30 19:08:21 +04:30
Adib Faramarzi
154da4c643
Fix removal of META-INF/services folder
...
- copy the META-INF/services folder to the destination APK folder so it does not get dropped
2019-05-30 18:46:59 +04:30
Connor Tumbleson
6c17e1a14f
fix: prevent NPE when key-element is null
2019-04-26 15:17:03 -04:00
Connor Tumbleson
f1357109aa
style: reorganize MXSerializer
2019-04-26 14:26:20 -04:00
Connor Tumbleson
adbde1745f
fix: "qpm" can exist without 9patch, and use new "copyToDir"
2019-04-26 11:14:31 -04:00
Connor Tumbleson
73ac0d96fb
Merge pull request #2066 from iBotPeaches/issue-2045
...
Support for SDK_Q shorthand
2019-04-24 19:56:15 -04:00
Connor Tumbleson
f3f634f010
fix: add SDK_Q (test) value of 10,000
2019-04-24 18:46:48 -04:00
Connor Tumbleson
2e75f7b799
fix: create directory if doesn't exist, before error
2019-04-24 18:45:57 -04:00
Connor Tumbleson
8e00de38a0
Merge branch 'master' into patch-1
2019-02-27 18:26:02 -05:00
Igor Eisberg
400a463286
Fix APKs with SDK versions being reference values
...
This non-standard behavior is rare, but quite annoying.
The solution is simple - replacing the reference value with the actual value from integers.xml, just like Apktool already does for versionName.
2019-02-20 08:26:17 -05:00