mirror of
https://github.com/iBotPeaches/Apktool.git
synced 2024-11-23 04:30:04 +00:00
* feat: treat warnings as warnings during aapt2 build * test: add invalid fragment to manifest to confirm warning
This commit is contained in:
parent
bf1041e4fb
commit
72d0bc164d
@ -178,6 +178,9 @@ public class AaptInvoker {
|
||||
|
||||
cmd.add("--no-compile-sdk-metadata");
|
||||
|
||||
// #3427 - Ignore stricter parsing during aapt2
|
||||
cmd.add("--warn-manifest-validation");
|
||||
|
||||
if (mApkInfo.sparseResources) {
|
||||
cmd.add("--enable-sparse-encoding");
|
||||
}
|
||||
|
@ -6,6 +6,7 @@
|
||||
android:name="android.accessibilityservice"
|
||||
android:resource="@xml/accessibility_service_config" />
|
||||
</service>
|
||||
<fragment android:name=".views.Issue3427"/>
|
||||
<meta-data name="test_int_as_string" value="\ 12345" />
|
||||
<meta-data name="test_int" value="12345" />
|
||||
</application>
|
||||
|
Loading…
Reference in New Issue
Block a user