What is the best way to debug native application?

Hi there! I’ve been working with native for some time now but I’ve come across a weird bug/error that I don’t know how to debug. When I open a detail page (which works perfectly fine in the make it native app) on my physical device it just crashes and gives me the error “the application keeps stopping”. So I was wondering how can you check for errors when it only crashes on your device with the apk file and doesn’t crash on the make it native app?
1 answers

You mention APK so this is about Android. Did you try running your app in the Android Studio emulator? Is your device running the latest Android release? I'm about to create an app which should support Android release several years back. By default, the Android Studio project targets the latest Android SDK releases.