Commit 76b9d002 authored by QA—索 文涛's avatar QA—索 文涛

modified: qa_shell_script/app/XyqbAndroidBuild.sh

parent 92b19e55
......@@ -38,7 +38,7 @@ function replace_config()
echo "正在替换配置文件,请稍后......"
sed -i "s/apply plugin\: 'newlens'/\/\/apply plugin\: 'newlens'/g" ${BuildGradle_file}
sed -i "s/artifact = 'com.tencent.mm:SevenZip:1.1.13'/\/\/artifact = 'com.tencent.mm:SevenZip:1.1.13'/g" ${BuildGradle_file}
#sed -i "s/\/\/path = \"\/usr\/local\/bin\/7za\"/path = \"\/usr\/local\/p7zip_9.20.1\/bin\/7za\"/g" ${BuildGradle_file}
sed -i "s/\/\/path = \"\/usr\/local\/bin\/7za\"/path = \"\/usr\/local\/p7zip_9.20.1\/bin\/7za\"/g" ${BuildGradle_file}
else
echo "${BuildGradle_file} 文件不存在,请联系管理人员查看"
exit -1
......@@ -61,9 +61,9 @@ function build_android()
echo "开始使用gradle进行编译该版本的代码"
#gradle resguard
echo "=================== ${GRADLE_HOME}"
gradle resguardRelease
gradle clean resguardRelease
if [ $? = 0 ]; then
echo "成功构建APK包".
echo "成功构建APK包"
echo "开始重命名对应的渠道包"
cd ${BuildApk_path}
#if [[ ! -z ${product_flavors} ]]; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment