Commit Graph

1806 Commits

Author SHA1 Message Date
Connor Tumbleson
37e700424a
build: update jdk on windows from 191 to 201 2019-02-16 18:01:38 -05:00
Connor Tumbleson
b0f22918cc
fix: win builds off master branch of AOSP 2019-02-16 18:01:38 -05:00
Connor Tumbleson
2253b66e50
fix: rebuild windows binaries to fix linking issue 2019-02-16 18:01:38 -05:00
Connor Tumbleson
43c3b9644c
Merge pull request #2000 from vbarthel-fr/issue-1994
fix: issue 1994
2019-01-30 10:04:58 -05:00
Vincent Barthelemy
13e356f2ef fix: use the res type spec name to create res bag value
Starting with the version 28.0.3 of the Android SDK build tools,
the internal ids of the items of an array bag seems to have changed.

Because of those changes, array resources were no longer decoded correctly.
They were decoded as style resources.

Instead of using the id of the first item within a resource bag,
the name of the res type spec is now used to choose the correct
resource bag value to create.

Note: a list of "legal names" for resource types  can be found in the source code of aapt2.
2019-01-29 10:07:40 +01:00
Vincent Barthelemy
72368fc0d4 bug: reproduce the bug were array resources are decoded as style bag 2019-01-29 10:06:32 +01:00
Connor Tumbleson
896569a822
Merge pull request #1998 from iBotPeaches/issue-1997
fix: add headless call in beginning of execution
2019-01-25 15:52:57 -05:00
Connor Tumbleson
6d1792a98d fix: add headless call in beginning of execution
- fixes: #1997
2019-01-25 15:42:07 -05:00
Connor Tumbleson
29355f876d
Merge pull request #1980 from iBotPeaches/windows
Windows Support for Travis
2019-01-09 18:10:53 -05:00
Connor Tumbleson
e79d3fa977 fix: use "shell" for windows 2019-01-09 17:54:21 -05:00
Connor Tumbleson
d3f88b20dc fix: allow windows to fail for now 2019-01-09 17:44:29 -05:00
Connor Tumbleson
cfea3e0831 build: initial attempt at getting travis windows support
build: force windows onto the bash environment

build: update permission (+x) of clean-test file

build: "bat" instead of "exe" extension

build: attempt to support long-path names on windows

build: another attempt at long filepaths on windows

build: force +x on scripts prior to execution

build: exit with return code of last command

build: dump out current path

build: dump out current path - part 2

fix: remove 5 chars from path to drop down from 260 windows max path

build: correct gradlew.bat path and remove unneeded lines

fix: remove long path global configuration

fix: restore PATH setting for windows env

build: PATH resets between scripts, fix for windows
2019-01-09 17:43:40 -05:00
Connor Tumbleson
d7f9be9200
Merge pull request #1977 from sebras/master
Adapt AXMLResourceParser to handle broken headers.
2019-01-09 17:40:01 -05:00
Connor Tumbleson
016dc25fa9
Merge branch 'master' into master 2019-01-09 17:18:19 -05:00
Connor Tumbleson
a09822ef7b
Merge pull request #1973 from iBotPeaches/issue-1952
XSD file support for both aapt1/aapt2
2019-01-09 17:17:31 -05:00
Connor Tumbleson
45152c269a refactor: use specific exceptions when decoding raw xml 2019-01-09 17:11:51 -05:00
Connor Tumbleson
c1f50a2810 style: remove unused LOGGER for PullStreamDecoder 2019-01-09 17:11:32 -05:00
Connor Tumbleson
6bb73b509d fix: throw specific errors during XMLPullParser error 2019-01-09 17:10:56 -05:00
Connor Tumbleson
ac3518e098 feat: add new exception types 2019-01-09 17:10:21 -05:00
Sebastian Rasmussen
b01dce7f3a Adapt AXMLResourceParser to handle broken headers.
Fixes #1976.
2019-01-08 21:20:50 +01:00
Connor Tumbleson
c833a32a6e style: syntax changes for review 2019-01-04 18:05:51 -05:00
Connor Tumbleson
39faff0a21 test: allow aapt2 xsd test to run 2019-01-04 18:00:33 -05:00
Connor Tumbleson
7cd8946849 fix: fallback to raw decoder if xml decoder failed
- prevents injection of false value
2019-01-04 18:00:19 -05:00
Connor Tumbleson
a5cfe41a8f test: add test for aapt1/aapt2
- ignore aapt2 due to failure
2019-01-04 17:45:51 -05:00
Connor Tumbleson
af4a506567 fix: add aapt1/aapt2 xsd file 2019-01-04 17:45:36 -05:00
Connor Tumbleson
261e163bc9
Merge pull request #1960 from iBotPeaches/android-9.0.0_r22
Sync aapt binaries with aapt1/aapt2 + no-crunch
2019-01-04 11:34:37 -05:00
Connor Tumbleson
61848cfa06 fix: allow AaptManager to find new naming of aapt binaries 2019-01-04 11:24:49 -05:00
Connor Tumbleson
ec0d58fbad feat: add 32/64bit binaries for aapt1/aapt2 2019-01-04 11:24:28 -05:00
Connor Tumbleson
f997e0aff1 fix: patch out bools on ResBooleans, as they must be empty
- refs: #1918
2019-01-03 16:57:23 -05:00
Connor Tumbleson
0dfa6c4656 test: add test to ensure empty ids.xml are generated for aapt1/aapt2 2019-01-03 16:56:25 -05:00
Connor Tumbleson
127192e07d build: add new patched aapt1 version for mac 2018-12-18 18:19:24 -05:00
Connor Tumbleson
d831fc92be docs: handle new location of 64bit binaries 2018-12-18 18:19:09 -05:00
Connor Tumbleson
bec8778d7a tests: update platformBuild* values to inherit from AndroidManifest 2018-12-18 18:07:40 -05:00
Connor Tumbleson
618de55bd3 fix: update AaptManager to handle flattened aapt structure 2018-12-18 17:37:04 -05:00
Connor Tumbleson
b0a7e64615 refactor: flatten directory structure of aapt binaries by 1 directory 2018-12-18 17:36:34 -05:00
Connor Tumbleson
e603463489 docs: minor spelling error for "Twitter" 2018-12-18 17:26:38 -05:00
Connor Tumbleson
25f0bc085e docs: add note about switching to r22 from r3 (9.0.0) 2018-12-18 17:01:29 -05:00
Connor Tumbleson
e82537e340 Merge branch 'no-crunch-aapt-option' of https://github.com/Novex/Apktool 2018-12-18 16:24:27 -05:00
a-bahmani
db553ebe8d
Fix null pointer
When I am decompiling an apk, I got this exception:
Exception in thread "main" java.lang.NullPointerException
        at brut.androlib.res.data.ResResSpec.<init>(ResResSpec.java:42)
2018-12-17 23:42:28 +03:30
Connor Tumbleson
3cf5cb6f78
Merge pull request #1943 from friederbluemle/update-project
Update Gradle wrapper to 4.10.2
2018-11-26 08:35:40 -05:00
Frieder Bluemle
6818691cc4
Update Gradle wrapper to 4.10.2 2018-11-26 16:10:16 +08:00
Connor Tumbleson
9fe399a27e
Merge pull request #1895 from iBotPeaches/issue-1894
Drop 1.7, Add 1.8
2018-09-18 13:48:16 -04:00
Connor Tumbleson
81aa208126 fix: remove java9 2018-09-14 16:23:04 -04:00
Connor Tumbleson
d1f7ac3d0f fix: don't trigger multiple builds 2018-09-14 15:55:41 -04:00
Connor Tumbleson
0d2a0e3a47 fix: silence java9 warnings for now
- refs: https://issues.apache.org/jira/browse/GROOVY-8339
2018-09-14 15:51:32 -04:00
Connor Tumbleson
97d7222da0
build: update to gradle 4.10 2018-09-06 07:13:26 -04:00
Connor Tumbleson
37c9d5f4c6
build: update proguard to 6.0.3 2018-09-06 06:54:49 -04:00
Connor Tumbleson
803f3506fa
ci: drop tests on 1.7, add 1.9 2018-09-06 06:43:08 -04:00
Connor Tumbleson
358ebea07d
build: minimum java version is now 1.8 2018-09-06 06:42:52 -04:00
Connor Tumbleson
3d15daccb3
build: update smali/baksmali to 2.2.5
- fixes: #1893
2018-09-05 20:12:00 -04:00