Skip to content

Commit

Permalink
fix: resolve exception when androidmanifest.xml is not found (PR #1978)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mino260806 authored Jul 31, 2023
1 parent 63fc7e0 commit 95db98e
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,10 @@ private static Document parseAppStrings(ResContainer appStrings) {
}

private static Document parseAndroidManifest(ResourceFile androidManifest) {
if (androidManifest == null) {
return null;
}

String content = androidManifest.loadContent().getText().getCodeStr();

return parseXml(content);
Expand Down

0 comments on commit 95db98e

Please sign in to comment.