4
Xoka
3y

Debugging native Android app is just a pain in the ass -_-

Comments
  • 1
    I was actually surprised how easy and well it works. What's the reason you feel like that?
  • 0
    You don't have to put your phone up there for debugging
  • 0
    @jespersh been using Java since 2016 for native Android app development
  • 1
    @foox I agree with you that it's easy but it's painfully slow compared it to flutter or react native. Every build takes like 1-3 minutes to run and then debug
  • 0
    @electrineer I didn't, I was using an emulator
  • 0
    @Xoka isn't it a pain in the ass emulator then? I fail to see how that would help the debugging process either way.
  • 1
    On the other hand, debugging flutter code (native aswell) is a dream
  • 0
    @Xoka think this is just normal for native and compiled executables. If not already done, try to use "make" or similar and make sure you use all cores for building.
  • 0
    man, this is java, read a book about OOP and structure your code in a way that everyone could understand.
    If you can't debug your own code, you have to write a better code.

    On the other hand the android studio is fucked
  • 0
    Oh and for native libraries... build tests in that native language (c or go or whatever) and run them separately wherever it is easier to debug the tests!
  • 0
    @D3adCode the thing is, I'm debugging someone else's code. And yes, Android studio, specially the more updates ones are really messed up
Add Comment