I need to publish an app that is made with QT/C++ in Google Play. While developing and testing beta in Google Play, I used a debug version and lots of logs to spot bugs. I either connected to the testers' devices via adb or asked them to send me a log that was stored in system "Download" directory. I am worried about several issues if my app is published:
You can use other techniques or features like firebase or fabric for crash reporting and other things no need to send logs, Whenever any crash occur they will provide logs also
For better performance disable all logs in production build
Solution: 1 : Yes you can do this by changing all debug logs to error logs (Log.d() -> Log.e() ). because debug logs are not visible in Release build but you can see error logs in any variant. Hope it will help.
Solution 2: You can use Fabric and see all your logs to Fabric account . This can be done by using its Answer module .
Note : I have used both scenarios in live projects and they are working fine.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.