Skip to content

Commit 2ee7f41

Browse files
committed
[Android]adjust ci config.
1 parent c4d2489 commit 2ee7f41

File tree

2 files changed

+17
-10
lines changed

2 files changed

+17
-10
lines changed

.github/ci/build/build_android.sh

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -58,16 +58,23 @@ python3 $WORKSPACE/artifactory_utils.py --action=download_file --file=$sdk_url
5858
unzip_name=`ls -S -d */ | grep Agora`
5959
echo unzip_name: $unzip_name
6060

61-
mv $unzip_name/rtc/** $unzip_name
62-
rm -rf $unzip_name/rtc
63-
rm -rf ./$unzip_name/bin
64-
rm -rf ./$unzip_name/demo
65-
rm ./$unzip_name/commits
66-
rm ./$unzip_name/package_size_report.txt
67-
mkdir ./$unzip_name/samples
68-
mkdir ./$unzip_name/samples/API-example
61+
#mv $unzip_name/rtc/** $unzip_name
62+
#rm -rf $unzip_name/rtc
63+
#rm -rf ./$unzip_name/bin
64+
#rm -rf ./$unzip_name/demo
65+
#rm ./$unzip_name/commits
66+
#rm ./$unzip_name/package_size_report.txt
67+
#mkdir ./$unzip_name/samples
68+
#mkdir ./$unzip_name/samples/API-example
69+
#cp -rf ./Android/APIExample$(echo $sdk_url | cut -d "/" -f 9 | grep audio_only | cut -d "_" -f 1 | sed -e 's/a/-A/g')/** ./$unzip_name/samples/API-example
6970

70-
cp -rf ./Android/APIExample$(echo $sdk_url | cut -d "/" -f 9 | grep audio_only | cut -d "_" -f 1 | sed -e 's/a/-A/g')/** ./$unzip_name/samples/API-example
71+
rm -rf ./$unzip_name/rtc/bin
72+
rm -rf ./$unzip_name/rtc/demo
73+
rm ./$unzip_name/rtc/commits
74+
rm ./$unzip_name/rtc/package_size_report.txt
75+
mkdir ./$unzip_name/rtc/samples
76+
mkdir ./$unzip_name/rtc/samples/API-example
77+
cp -rf ./Android/APIExample$(echo $sdk_url | cut -d "/" -f 9 | grep audio_only | cut -d "_" -f 1 | sed -e 's/a/-A/g')/** ./$unzip_name/rtc/samples/API-example
7178

7279
7za a -tzip result.zip -r $unzip_name
7380
cp result.zip $WORKSPACE/withAPIExample_$zip_name

Android/APIExample/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ dependencies {
4545
implementation fileTree(dir: "${localSdkPath}", include: ['*.jar', '*.aar'])
4646
}
4747
else{
48-
def agora_sdk_version = "4.0.0.3"
48+
def agora_sdk_version = "4.0.0.+"
4949
// case 1: full single lib
5050
implementation "io.agora.rtc:full-sdk:${agora_sdk_version}"
5151
implementation "io.agora.rtc:full-screen-sharing:${agora_sdk_version}"

0 commit comments

Comments
 (0)