Regression after migration to shadow jar in #1868,
instead CreateStartScripts task from 'application' plugin
'startShadowScripts' task should be modified.
More lenient AXML parsing: allow for non-standard attributes sizes and avoid index exceptions when decoding some strings
* The attributes size of an XML element is now accounted for. This size must be at least 20 (0x14) bytes but can be greater. Extra bytes are just skipped. When decoding a string, if such decoding is impossible a placeholder string is returned instead of throwing an exception. This is necessary because some malware purposely add android:tag attributes with invalid string index to throw parsers off. They also employ non-standard attribute sizes.
* Minor code restyling
---------
Co-authored-by: qfalconer <knm241@gmail.com>
* wip: finished with factories
* wip: bundleconfig.pb
* wip: jadx-aab-input, separate BundleConfig parser
* wip: removed test apks
* wip: proto xml pretty print
* wip: fixed getNamedValues NPE
* minor fixes
* spotless
* enabled zip64 for gui shadow jar
* spotless
* spotless
* reverted manifest identification since signature parsing not working at the moment
* replace static methods with new API methods
---------
Co-authored-by: Skylot <118523+skylot@users.noreply.github.com>
* ADBDialog->launchApp() if multiple devices presented should let user select the one they desire.
* compare objects directly instead parsing
---------
Co-authored-by: Ömer Faruk KAYIKCI <omer.kayikci@tubitak.gov.tr>
Co-authored-by: Skylot <118523+skylot@users.noreply.github.com>
* fix: Ignore invalid files
Avoid NullPointerException when using "Open files" or drag-n-drop
* refactor: Replace Stream API chain with loop
IntelliJ
* fix: Ignore invalid files
Avoid NullPointerException when using "Add files"
* fix: Fall back to complete path string
Instead of empty project name
* fix: Render tree
Project tree (sidebar) didn’t load
Toggling "View > Show flatten packages" threw a NPE here
* fix code formatting
---------
Co-authored-by: Skylot <skylot@gmail.com>