Debugging your android app on a physical device in 2021

Поделиться
HTML-код
  • Опубликовано: 11 сен 2024
  • Find here how to use your android phone to debug your android app. We show you the detail steps on how to do that. The physical device helps you to test some features which are not possible to be tested with the virtual device and its appropriate for slow computers and fast testing.

Комментарии • 88

  • @religion15
    @religion15 3 года назад +22

    Thanks african man, greetings from Venezuela

    • @NathanInAction
      @NathanInAction  3 года назад +2

      Thanks @jeannex-15. My pleasure to hear from you.

  • @llama7206
    @llama7206 2 года назад +6

    Beautiful stuff.... NOTE: Make sure your cable can transfer data. After turning on dev mode/usb debugging, the second you plug your cable in you should get the 'Allow USB Debugging?' dialog message... if you dont I bet you cable doesnt transfer data

  • @sebastianbuzinski6278
    @sebastianbuzinski6278 2 года назад +2

    Thank you so much for this video! My PC somehow cant run Emulator. I even reinstaled everything on my PC. Now I can continue work! BLESS YOU!

  • @bilelrahmouni01
    @bilelrahmouni01 2 года назад +4

    quick tip: i tryed everything and it didnt work, i changed the cable to an original one and it worked, thks for the vid bro, big love from Tunisia

    • @llama7206
      @llama7206 2 года назад

      After turning on dev mode/usb debugging, the second you plug your cable in you should get the 'Allow USB Debugging?' dialog message... if you dont I bet you cable doesnt transfer data

  • @rxphi5382
    @rxphi5382 2 года назад +2

    There's no way I would have found this without you, thanks man!

  • @noobgameplay8584
    @noobgameplay8584 Год назад

    really worth. i was about to make a decision before buying macbook and thought android studio with physical device is not gonna work. but you resolved my issue. thanks man GG

  • @_nduwayo
    @_nduwayo Год назад +1

    Thanks 🙏 bro,wre getting u from 🇧🇮 🇧🇮 🇧🇮

  • @prem_kumar
    @prem_kumar Год назад +1

    thank you so much my brother ❤️ from India

  • @rohitchavan1034
    @rohitchavan1034 Год назад

    Thanks man it was a lot of help thankyou so much I wish your dream may come true and stay happy ❤️ Love From INDIA

  • @sharadtripathi6277
    @sharadtripathi6277 3 года назад +8

    Great Man , God Bless you , Thanks a Ton

  • @amandubey1103
    @amandubey1103 3 года назад +6

    U r lifesaver dude ❤️❤️❤️

  • @kjkj2300
    @kjkj2300 3 года назад +2

    Thumbs up for you from italy, thank you a lot

  • @agwatimumbeja8397
    @agwatimumbeja8397 3 года назад +2

    ...And that's how you got a new subscriber...

  • @sary6256
    @sary6256 2 года назад

    Thank you this worked! from the US

  • @johnsonklopper1896
    @johnsonklopper1896 2 года назад +2

    is there a software already installed on your computer for this action? I did everything and the issue remains, how do I debug my phone?

  • @sohailelkashef3722
    @sohailelkashef3722 3 года назад +4

    Thank you man♥️♥️

  • @adamhasro278
    @adamhasro278 3 года назад +5

    thank you so much

  • @VictorDurowaiye
    @VictorDurowaiye 4 месяца назад

    I have a question hope you reply my phone under select debug app is showing nothing how can change it

  • @thembajoel2912
    @thembajoel2912 Год назад

    Easy to follow, thank you!

  • @latashinde3312
    @latashinde3312 2 года назад +1

    How to move this adb connection on internet to my dev friend can access my lab phone?

  • @milenasavic-dragic1480
    @milenasavic-dragic1480 2 года назад +1

    Great video. I followed all steps in video. My phone doesn't appears in devices. What can I do? Have I missed something while installing Android Studio?

    • @NathanInAction
      @NathanInAction  2 года назад

      May be you have to check again the whole process. Make sure developer mode is activated on your phone and make sure debugging is activated when you plug your phone your PC

  • @jabokrecordz1842
    @jabokrecordz1842 11 месяцев назад

    Thank you sir, you are great.

  • @sayooj3716
    @sayooj3716 2 года назад

    Great man really helpful.

  • @furiosob4670
    @furiosob4670 3 года назад +3

    Thanks bro

  • @ravikantsingh4621
    @ravikantsingh4621 3 года назад +1

    Superb

  • @penielngeleka3515
    @penielngeleka3515 2 года назад +1

    I have one problèmes when i connect internet on USB by my phone , i lose my physiquecal device who fix that ?

  • @takyieric1763
    @takyieric1763 3 года назад +1

    thank you very much
    please i try codes for my notebook android app but it is responding to my virtual device.please i need your help

  • @Ali-vj8hs
    @Ali-vj8hs 6 месяцев назад

    thank you so much!!

  • @jaiyjethva8633
    @jaiyjethva8633 Год назад

    What is debug log....i'm seeing in my phone com.android.camera.remote in debug log.... kindly tell what is this?

  • @anilkumarsaketi1181
    @anilkumarsaketi1181 3 года назад +2

    Tq u bro

  • @emmy_verse
    @emmy_verse 3 года назад +2

    Good day Sir
    I followed the steps and cross checked multiple times..for some reason I don't receive the notification to allow debugging once I plug my usb cord just the usual file transfer in the notification...pls any suggestions

    • @NathanInAction
      @NathanInAction  3 года назад

      Hello, in this case, if the developer options is already activated on your device, then once you connect you android phone to your pc, you need to navigate to the Develper setting and activate debugging mode.

  • @GABRIEL1030
    @GABRIEL1030 8 месяцев назад

    Thanks !

  • @kilowamd4737
    @kilowamd4737 2 года назад

    thanks bro
    your the best

  • @shanali8973
    @shanali8973 2 года назад

    Sir i have huawei nova 7i physical device when i connect my physical device with android studio the issue i am facing that "No Development Server connected write on my screen " kindly tell me how i can solve it

  • @leokailash4960
    @leokailash4960 Год назад

    Bro i want to inspect an app but idk how yo use the android studio

  • @AbirHasnat95
    @AbirHasnat95 2 года назад

    how do you see your phone display on your monitor too?

  • @Stasilho
    @Stasilho 3 года назад +2

    When my app fails on the physical device - I see no logs in Android Studio. Any ideas?

    • @NathanInAction
      @NathanInAction  3 года назад +2

      Hello MC Stassenko, It's true that sometimes your app crashes on your device without leaving any message in the logcat. I suggest you restart the app again making sure that the Logcat is in Verbose mode and the application selected is your application. I'm saying so because in some cases, the error message is displayed not in red and in this case you can see it when Verbose is selected in Logcat.

    • @Stasilho
      @Stasilho 3 года назад +1

      @@NathanInAction Thanks for the answer bro. The problem was with code which is not supported for current api level. But it was tricky to find it since it doesn't produces any compilation errors.

    • @NathanInAction
      @NathanInAction  3 года назад

      @@Stasilho Happy you found the solution

  • @ganesh_vk
    @ganesh_vk 2 года назад +1

    thank you

  • @webpixels9894
    @webpixels9894 2 года назад

    But Bro how can we run react native cli app using this USB cable in your Mobile

  • @_MonjilaMoni
    @_MonjilaMoni 3 года назад +2

    Thnaks a lot

  • @randalltomur9732
    @randalltomur9732 7 месяцев назад

    mine is not working.debugging

  • @thushankalana4940
    @thushankalana4940 Год назад

    Thank you so much Brother ❤️❤️❤️

  • @chrislam8442
    @chrislam8442 2 года назад

    thanks bro

  • @dhairyshrivastava
    @dhairyshrivastava Год назад

    Can this be hot reloaded , is it possible to see changes if i change the code
    Or wud i have to wait again for it to install it on my phone first

  • @user-vb6gc7zh9r
    @user-vb6gc7zh9r 11 месяцев назад

    thanks

  • @hasnaebouhmady9812
    @hasnaebouhmady9812 2 года назад

    thaaank uu so much man

  • @anonyanony8857
    @anonyanony8857 3 года назад +1

    If my phone disconect when debugging is active what can i do

    • @NathanInAction
      @NathanInAction  3 года назад +1

      Does it happen all the times? if yes then you should check your cable

  • @jeyanthan360
    @jeyanthan360 2 года назад

    Thanku bro!

  • @Eze-pe3gy
    @Eze-pe3gy Год назад

    hi can i run an app on my phone without installing or is necesary?

    • @NathanInAction
      @NathanInAction  Год назад

      Hi, you can’t run an app on a phone without installing it. When you debug your app using a physical device, it install the app on your device and run the app.

  • @harshithanoo4616
    @harshithanoo4616 3 года назад +2

    Installation did not succeed.
    The application could not be installed: INSTALL_FAILED_USER_RESTRICTED
    Installation via USB is disabled.

    • @NathanInAction
      @NathanInAction  3 года назад

      Please, make sure USB debugging is enabled. Also, always check your device when android studio say "Install...". Some devices may still require the user to approve the installation. So you may see a promt on your device(if screen is active) for you to accept or reject installation.

  • @globemasterybusinessformul7352

    helpfull

  • @prabuubarp3840
    @prabuubarp3840 3 года назад

    SQLite database app keep on restart and closes when I tried to run directly to Android device

    • @swayammm__
      @swayammm__ 3 года назад

      then dont use it use postgress

  • @germancastaned1587
    @germancastaned1587 3 года назад +2

    You are a heroooooo!!!

  • @zex1ck
    @zex1ck Год назад

    i love you

  • @dollarlovers
    @dollarlovers 6 месяцев назад

    👍👍

  • @AlekThink
    @AlekThink 3 года назад +1

    I would like if smart guys as u *stay in our colonial empire*

  • @enissaycula
    @enissaycula 2 года назад +1

    beesst like

  • @bundustv1096
    @bundustv1096 6 месяцев назад +1

    Thank you very much appreciate please 🙏 do you have WhatsApp or telegram group so i can join

  • @zer0k58
    @zer0k58 3 года назад +2

    Thanks african man, greetings from Brazil