Use aapt2 in repo building script (#1712)
Use aapt2 in repo building script
This commit is contained in:
parent
c547da3714
commit
5494c46052
|
@ -15,7 +15,7 @@ APKS=( ../apk/*".apk"* )
|
||||||
|
|
||||||
for APK in ${APKS[@]}; do
|
for APK in ${APKS[@]}; do
|
||||||
FILENAME=$(basename ${APK})
|
FILENAME=$(basename ${APK})
|
||||||
BADGING="$(${TOOLS}/aapt dump badging $APK)"
|
BADGING="$(${TOOLS}/aapt2 dump badging $APK)"
|
||||||
|
|
||||||
PACKAGE=$(echo "$BADGING" | grep package:)
|
PACKAGE=$(echo "$BADGING" | grep package:)
|
||||||
PKGNAME=$(echo $PACKAGE | grep -Po "name='\K[^']+")
|
PKGNAME=$(echo $PACKAGE | grep -Po "name='\K[^']+")
|
||||||
|
|
Loading…
Reference in New Issue