How to Debug APK on PINE64 via LAN?
#1
I am a android programmer and I want to debug my app in pine64, but I dont know how to get started, any iedas?

should I just USB Debugging? or LAN Debugging? if I use USB, what kind of the cable should I use and which slots should I plug in?

if I use LAN, how to do it?
#2
i can do an adb shell via network but i have not been able to connect via usb so i would also like to hear about usb connection. what do you wish to be able to do in order to debug?
#3
(11-04-2016, 08:20 PM)dkryder Wrote: i can do an adb shell via network but i have not been able to connect via usb so i would also like to hear about usb connection. what do you wish to be able to do in order to debug?

I want to use break point, and adb as well Smile

network debugging is even better so I dont have to buy a new cable. could u please tell me how you do debugging via network?
#4
i do not use the pine64 as an android development platform. when i build/debug it is on a windows 10 laptop with android studio and some unity. what are you trying to accomplish? to connect simply ,
adb connect <ip address> i find using 5.1 7/11/16 build [rooted] serves my needs the best. i think you should try each build until you find one that fits your needs.
#5
-- open Android Studio, and click 'terminal' on bottom of the screen.
setup connection with device by command:
adb connect device_ip:5555
eg: adb connect 192.168.0.16:5555

and now when you try to 'run app' (shift+f10) you can see your device on the list.

-- another option

enter to shell:
adb shell

and debug via logcat:
logcat | grep package_name
eg: logcat | grep com.example.testapp


Possibly Related Threads…
Thread Author Replies Views Last Post
  Pine64+ 1G and Pine LCD with Android 6.0.1 Tanveer 0 2,991 09-03-2018, 05:05 AM
Last Post: Tanveer
  2nd ethernet in PINE64 with android daniele 2 4,066 12-07-2017, 05:09 AM
Last Post: daniele
  Pine64 + Youtube TV Performance mikedice417 0 2,111 11-25-2017, 10:36 AM
Last Post: mikedice417
  USB GPS dongles that work with Android on Pine64+ ? trondkj 2 4,431 11-16-2017, 02:14 PM
Last Post: Skivholme
  Android 7.1 reboot on Pine64 2GB rkbren81@gmail.com 2 4,080 11-07-2017, 06:33 AM
Last Post: rkbren81@gmail.com
  Connecting external DVDRW drive via USB to Pine64 galbez 4 6,155 10-12-2017, 12:35 PM
Last Post: Luke
  Does snapchat work on pine64 with android? user875545 1 4,193 08-29-2017, 12:05 AM
Last Post: tllim
  Boot hangs on pine64, how to debug? olh 1 3,573 08-29-2017, 12:04 AM
Last Post: tllim
  Pine64+ 1G: boot loader details required Tanveer 4 6,785 07-29-2017, 09:07 PM
Last Post: Tanveer
  Android 6.0 for Pine64+ 1G and Pine LCD Tanveer 1 3,581 07-29-2017, 09:12 AM
Last Post: MarkHaysHarris777

Forum Jump:


Users browsing this thread: 1 Guest(s)