Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
wxiaoguang committed Jun 9, 2016
1 parent 217c727 commit 537fbc7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Built application files
*.apk
*.ap_
*.zip

# Files for the ART/Dalvik VM
*.dex
Expand Down
9 changes: 6 additions & 3 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ if [ ! -f $ASSETS_BIN_ARM/busybox ]; then
fi

echo "Assembling AndroidTcpdumpGui ..."
gradle :app:assembleRelease

echo "Done"
if gradle :app:assembleRelease; then
cp app/build/outputs/apk/app-release-unsigned.apk ./AndroidTcpdumpGui.apk
echo "Done"
else
echo "Error"
fi

0 comments on commit 537fbc7

Please sign in to comment.