cancel
Showing results for 
Search instead for 
Did you mean: 

how to debug an app in android studio ,generated by HAT

0 Kudos

Hi All,

     I have deployed an application using local HAT for android platform and ran it on the emulator ,unfortunately i am facing some problem while running. I have tried to debug the app using the android studio where i was able to put the break points only in activities but not in the application files likes index.html ,component.js,views and controllers. So may i knew the procedure to debug the application in android studio.

Accepted Solutions (1)

Accepted Solutions (1)

sven_petersen
Explorer
0 Kudos

If you want to debug the Web application (basically the JavaScript) you might want to check out Chrome Remote Debugging (Remote Debugging on Android with Chrome - Google Chrome).

tl;dr: Assuming that you have the Android SDK properly set up try the following:
-Open Chrome

-Open the following url: chrome://inspect

-you should see your emulator listed there (as soon as it is started)

-Run the app on the emulator. In Chrome you should find a corresponding entry for your app.

-Click Inspect on the respective entry in the chrome device overview.

Answers (1)

Answers (1)

0 Kudos

Thanks for the reply Sven. I have already found the answer.