Your data. Anywhere you go.

New Relic for iOS or Android

Download on the App Store    Android App on Google play

New Relic Insights App for iOS

Download on the App Store

Learn more

Close icon

Unable to open your mapping.txt file



Task :app:newRelicProguardScanTask
[newrelic.error] Unable to open your mapping.txt file: Encoding GBK is not supported yet (feel free to submit a patch)
[newrelic.error] To de-obfuscate your builds, you’ll need to upload your mapping.txt manually.


你好, @zhangyuhangqing: It sounds like you are uploading a mapping.txt file encoded with GBK encoding, which is not supported by the Apache commons-io library. We use this library to parse the mapping.txt file.

The New Relic Mobile agent uses a Java call to write the build_id to the footer of the file. You may be able to override the default encoding by setting the JAVA_TOOL_OPTIONS environment variable to -Dfile.encoding=UTF8.