Skip to content

Commit 9c4bb2f

Browse files
committed
修复上传fir icon失败的问题
1 parent 6a44569 commit 9c4bb2f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,9 @@ android {
5757
def appversion=project.android.defaultConfig.versionName
5858
def appbuild=project.android.defaultConfig.versionCode
5959
def apitoken="368967b71745181a78ea8cb01ab237c5"
60-
def apklogo="app/src/main/res/drawable/icon.png"
60+
def apklogo="D:/studioProject/AndroidJetPack/app/src/main/res/drawable/icon.png"
6161
def apkpath = applicationVariants.first().outputs.first().outputFile
62+
println("路径:" + applicationVariants.first())
6263
//调用python脚本 这个脚本需要放在app工程目录下,不要放在project目录下
6364
def process="python UploadToFir.py ${appname} ${apppackage} ${appversion} ${appbuild} ${apitoken} ${apklogo} ${apkpath}".execute()
6465
//打印Python脚本日志,便于出错调试

0 commit comments

Comments
 (0)