-
Notifications
You must be signed in to change notification settings - Fork 147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upload with debugSymbols return "Error: Validation of uploaded file failed." #204
Comments
I too am getting same message. I feel like its coming from async function uploadDebugSymbolsFile(appEditId: string, versionCode: number, options: EditOptions) {
if (options.debugSymbols != undefined && options.debugSymbols.length > 0) {
const fileStat = lstatSync(options.debugSymbols);
let data: Buffer | null = null;
if (fileStat.isDirectory()) {
data = await createDebugSymbolZipFile(options.debugSymbols);
}
if (data == null) {
data = readFileSync(options.debugSymbols);
}
if (data != null) {
core.debug(`[${appEditId}, versionCode=${versionCode}, packageName=${options.applicationId}]: Uploading Debug Symbols file @ ${options.debugSymbols}`);
await androidPublisher.edits.deobfuscationfiles.upload({
auth: options.auth,
packageName: options.applicationId,
editId: appEditId,
apkVersionCode: versionCode,
deobfuscationFileType: 'nativeCode',
media: {
mimeType: 'application/octet-stream',
body: Readable.from(data)
}
})
}
}
} What is the easiest way to turn on DEBUG logging? |
If the error really is coming from Steps to enable debug logging can be found here: https://docs.github.com/en/actions/monitoring-and-troubleshooting-workflows/enabling-debug-logging |
Same problem here I also tried to use a zip instead of a folder path but both returns the same. |
@koraybalci I get the following error messages:
But still the result is |
It cost me a day to find the problem for flutter build
The native debug symbols are here in my build , will need to zip them. |
Hey there,
I am trying to add upload debug symbols and getting the following error:
debugSymbols
param, all good. no issues.debugSymbols
, I get a different errorUnable to find 'debugSymbols'
. So, I presume have the folder and everything correctly generated.Here's how I create my bundle before the upload step:
Is there a way to get more info on what's wrong? Any insights would be appreciated.
The text was updated successfully, but these errors were encountered: