Skip to content

Commit 96791d4

Browse files
author
luxiaoyu01
committed
add use custom keystore
1 parent 888e8f2 commit 96791d4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/run_demo_test.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ compile() # $keystore
2424
APK="$ANDROID_TOP/$apk"
2525

2626
if [ ! -z "$keystore" ];then
27+
zip -d $APK META-INF/*
2728
echo "jarsigner -verbose -keystore $keystore -signedjar $APK+_resigned $APK ${keystore##*/}"
2829
jarsigner -verbose -keystore $keystore -signedjar $APK"_resigned" $APK ${keystore##*/}
29-
echo "############# resign $APK with $keystore to $APK"_resigned
3030
APK=$APK"_resigned"
3131
fi
3232

@@ -54,6 +54,7 @@ make_project()
5454
# install
5555
ADB="adb -s $serial"
5656
$ADB uninstall $target_package
57+
echo "$ADB install $target_apk"
5758
$ADB install $target_apk&
5859

5960
# modify template project

0 commit comments

Comments
 (0)