WARNING: API 'variant.getMappingFile()' is obsolete and has been replaced with 'variant.getMappingFileProvider()'.
It will be removed in version 5.0 of the Android Gradle plugin.
For more information, see https://d.android.com/r/tools/task-configuration-avoidance.
To determine what is calling variant.getMappingFile(), use -Pandroid.debug.obsoleteApi=true on the command line to display more information.
[Bugly Plugin] Pick a mapping file: \app\build\outputs\mapping\BetaDebug\mapping.txt
[Bugly Plugin] Read all upload records.
[Bugly Plugin] Number of upload records is: 2
[Bugly Plugin] Read all symbol records.
[Bugly Plugin] Number of symbol records is: 0
[Bugly Plugin] Processing file: \app\build\outputs\mapping\BetaDebug\mapping.txt
[Bugly Plugin] Uploading file: \app\build\outputs\mapping\BetaDebug\mapping.txt
[SymtabTool-I] Upload symbol file: Beta(64b)-mapping.txt
[SymtabTool-D] key = fileName, value = Beta(64b)-mapping.txt
...
[SymtabTool-D] key = channel, value = Beta(64b)
[SymtabTool-D] key = api_version, value = 1
[SymtabTool-D] key = symbolType, value = 1
[SymtabTool-D] url = https://api.bugly.qq.com/openapi/file/upload/symbol?app_key=yvVmicK0r7erRVgm&app_id=1103451156
[SymtabTool-I] Uploading..
[SymtabTool-D] Response message from server for uploading: {"rtcode":0,"msg":"Success","data":{"reponseCode":"0"}}
[SymtabTool-I] Successfully uploaded.
[Bugly Plugin] Successfully uploaded.
[Bugly Plugin] Record uploaded file: \app\build\outputs\mapping\BetaDebug\mapping.txt
错误描述 :
使用符号表插件自动上传mapping成功,并且在管理页显示了该文件,其状态为制作完成。但是在下载该文件后发现文件大小为1KB,内容为:{"reponseCode":-1,"reponseDesc":"system error"}。
复现方式:
同一个渠道多次上传
上传log:
WARNING: API 'variant.getMappingFile()' is obsolete and has been replaced with 'variant.getMappingFileProvider()'. It will be removed in version 5.0 of the Android Gradle plugin. For more information, see https://d.android.com/r/tools/task-configuration-avoidance. To determine what is calling variant.getMappingFile(), use -Pandroid.debug.obsoleteApi=true on the command line to display more information. [Bugly Plugin] Pick a mapping file: \app\build\outputs\mapping\BetaDebug\mapping.txt
[Bugly Plugin] Read all upload records.
[Bugly Plugin] Number of upload records is: 2
[Bugly Plugin] Read all symbol records.
[Bugly Plugin] Number of symbol records is: 0
[Bugly Plugin] Processing file: \app\build\outputs\mapping\BetaDebug\mapping.txt
[Bugly Plugin] Uploading file: \app\build\outputs\mapping\BetaDebug\mapping.txt
[SymtabTool-I] Upload symbol file: Beta(64b)-mapping.txt
[SymtabTool-D] key = fileName, value = Beta(64b)-mapping.txt
...
[SymtabTool-D] key = channel, value = Beta(64b)
[SymtabTool-D] key = api_version, value = 1
[SymtabTool-D] key = symbolType, value = 1
[SymtabTool-D] url = https://api.bugly.qq.com/openapi/file/upload/symbol?app_key=yvVmicK0r7erRVgm&app_id=1103451156
[SymtabTool-I] Uploading..
[SymtabTool-D] Response message from server for uploading: {"rtcode":0,"msg":"Success","data":{"reponseCode":"0"}}
[SymtabTool-I] Successfully uploaded.
[Bugly Plugin] Successfully uploaded.
[Bugly Plugin] Record uploaded file: \app\build\outputs\mapping\BetaDebug\mapping.txt