How to debug a signed apk on a device?

Hi,

currently, when building an apk with --prod --release this package is not installed due to being a “corrupted package”; it gets installed when signing it, but it only shows a white screen when the splash screen is hidden.

Trying to debug this with
ionic cordova run --prod --release android --device -address=192.168.254.15 -l -c
does not produce the problem.
Trying to install the unsigned package… see above.

So it seems I need to debug the signed apk, which brings me to the question of this topic: How can I debug a signed apk on a device?

Thanks in advance!

as per my knowledge you can’t debug signed apk.
once you signed your apk ,it will automatically remove all your debugger and console from the app so it’s not possible :grinning:

2 Likes