Skip to content

Commit 537fbc7

Browse files
committed
fix build
1 parent 217c727 commit 537fbc7

2 files changed

Lines changed: 7 additions & 4 deletions

File tree

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Built application files
22
*.apk
3-
*.ap_
3+
*.zip
44

55
# Files for the ART/Dalvik VM
66
*.dex

build.sh

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ if [ ! -f $ASSETS_BIN_ARM/busybox ]; then
1717
fi
1818

1919
echo "Assembling AndroidTcpdumpGui ..."
20-
gradle :app:assembleRelease
21-
22-
echo "Done"
20+
if gradle :app:assembleRelease; then
21+
cp app/build/outputs/apk/app-release-unsigned.apk ./AndroidTcpdumpGui.apk
22+
echo "Done"
23+
else
24+
echo "Error"
25+
fi

0 commit comments

Comments
 (0)