我已经关注了这个答案,但我没有发现答案没有工作-> https://stackoverflow.com/a/58777598/12553303
我一直在尝试使用 gradle 方法使用应用程序分发将应用程序上传上传给测试人员
仍然出现错误:------------
服务凭证文件不存在。请检查服务凭据路径,然后重试
我也经历了 github 问题https://github.com/Triple-T/gradle-play-publisher/issues/141 但我的 json 文件已经是那种格式但是给出了错误
我的毕业生:--
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
firebaseAppDistribution {
appId = "1:53200681765.........."
serviceCredentialsFile = "C:/Users/Dell/GitProjects/xyzprojectname/app/googleservices.json"
releaseNotesFile="C:/Users/Dell/GitProjects/xyzprojectname/app/esters.txt"
testers="usercool@gmail.com"
}
}
}
需要帮助谢谢