I am trying to debug my ionic app on an Android device.
I am using console.log()
to display an array:
console.log("List of recipes: " + this.recipes);
When I run the app in the web browser (ionic serve
), "List of recipes" is logged to the console, & displays the array.
However, when I run this on my Android device (ionic capacitor android run -l
), "List of recipes" is logged, but the array isn't.
Can someone please tell me why the array is printed out in the browser console, but not in the Android Studio console?
You can see the outputs on browser console.
Try this:
adb devices
in command prompt/consoleIf you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With