Sorry but I have been searching this from last two days but found no answer.
What I am trying to do is connect to a ADB device over internet which is far away from me.
We are team of two people and I want my colleague to run the app on my emulator or my phone. But she is unable to do that. I tried connecting over TCP but I think only devices on same network can connect with TCP.
Any help will be appreciated! Thank You!!
Below is one of the solution which solves the same problem,
They call it AstroFarm, its used to share the devices over the internet for development, manual QA or automation or DevOps in CICD pipeline as well.
https://techblogs.42gears.com/how-we-solved-the-challenge-of-remotely-providing-devices-for-devops-employee-onboarding-and-customer-support/
But looks like this tool is paid one.
Related
am having problems with when connection my phone to laptop(screen goes crazy) and its impossible to test apps, so I was wondering is it possible to connect via bluetooth so that apk is built and I can test them on phone? ty
These links will help you. For Linux:
http://zcourts.com/2013/07/19/android-debugging-over-bluetooth-without-root/#sthash.ZPG8TrnC.dpbs
For Windows:
http://blog.wijono.org/2014/01/android-connecting-adb-to-physical.html
possible duplicate question. I just want to detect USB connected and get information which device connected to Android phone. I followed lots of tutorials but no luck. Also, i followed this as well.
Thank youin Advance.
If you have Eclipse go to DDMS there you see youre device
I have a game built on Unity running in an android device. In theory it should be possible to step through the unity code by attaching to AndroidPlayer at runtime.
Well I followed the rules on how to do this.
1) Created development build with script debugging enabled.
2) run the app with script debugging on wifi that has the player.
Initially it worked. Then perhaps a change or two in my network, and I no longer see AndroidPlayer as an option in MonoIDE to attach to. Its vanished and for several days now I am not able to debug. Not only that but i really don't know where to check this. I yanked out the ethernet cable so device and Mac are both on same wifi running on single subnet. Nothing seems to help. But what really dissappoints me is there is really nothing to check in Unity when this type of thing happens. It just try to attach to proess. Hope AndroidPlayer process is there and if its not. Tough luck.
PS: I should add I am on Unity Pro 4.2.04f. It worked fine, then who knows what and it stopped finding the AndroidPlayer. What a mess!
PS: Things I have tried. Pinging to ip address, and telneting to port (successfully to ip:5555)
Note: This is not the Android Debugger I am talking about but a player that needs to be running in the app, and visible to MonoIDE in order to debug.
What I am really trying to understand is what are my options when I cannot see AndroidPlayer as an process to attach to?How does one debug this problem? Are there things in the logg if AndroidPlayer is sucessfully running? How could monodebug not see it? How do I know it it is or is not running on the devices.
Thanks
Have you looked at the IP address of the Android device and attempted to ping it? I find that, here in the UK, our BT provided "home hub" will often, randomly, stop routing traffic between devices on the same network.
I find that if I can't debug (and I believe Unity 4.2 still used wifi debugging) then I usually can't print either and it's because the router has stopped routing traffic.
A quick reboot of the router usually fixes it.
PS Just read about the ping being successful. Have you downloaded and run "wireshark" to see what network traffic is happening? At least that will show you what is happening on the network layer.
Other thought, any sort of firewall running on the debugging machine?
Try to:
1) Disable antivirus
2) Disable firewall
3) Deinstall Xamarin (in case when you use VS for debugging)
That did help me when I had the same problem
I've been using a server - client structure programmed in java back in the office for a while now and it worked perfectly. I'm currently trying to use it from home and it doesn't. Furthermore, I've noticed I can ping my phone from the computer, not so much the other way around. But the phone is able to ping the gateway. Anyone has any idea what might be happening?
After #Ernest Friedman-Hill brought to my attention the issues might have to do with the firewall, silly me, I created a new incoming rule in the advanced settings section of the Windows firewall for the TCP port I'm using in the application. It all works like a charm now.
I was trying to connect an ad-hoc network from Nexus S. However I realized the unpleasant news that Android does not support ad-hoc networking. After a quite amount of research, I found a work around which is:
a) Root the device and
b) Copy wpa_supplicant to system bin.
I'm totally unsure how much successful that would be. Being fairly apprehensive to further this method, I returned back to research and, unfortunately, ended up in vain.
Has anyone dealt this before? Is there any fix for ad-hoc networking in Android?
While Adnroid (at least 2.3) does not have interface for setting up Ad-hoc or Master modes, sometimes (like on my SE Xperia X10) you can just use iwconfig (need to be copied to device manually) and set it to Ad-hoc mode.
I use it sometimes, having scripts that ad-hoc mode on and off (there is even dhcp server configured on the device)
Well, I am facing the problem too. and was googling around and could not find anything worth sharing with you. Just a work around, Use ConnectifyME to create an AP in your PC and then you can use that AP (can say virtual AP) to share internet on your android device.
Hope this helps you.
There is a GUI program called Virtual router that is open source program and could be used to create WiFi, it uses virtual Wi-Fi feature in Windows 7.
For more description have a look at my post:
http://algorithmsea.blogspot.in/2012/12/ad-hoc-network-from-android-devices-i.html
adhoc isn't supported in android os but typing 2 lines DOS commands should solve the problem.
I tested this and it works.. type these 2 lines on DOS COMMAND PROMPT
netsh wlan set hostednetwork mode=allow ssid=NAME key=PASSWORD
netsh wlan start hostednetwork
I found this here : For Android users:Internet via adhoc is working without any app! : http://androiditnow.blogspot.com/2012/09/for-android-usersinternet-via-adhoc-is.html#.UXV0bUqlrGI