Eclipse IDE: Where is Android Remote Device Settings? - android

I am using the most up-to-date version of Eclipse (and ADT) and have not been able to find where to add a remote android device for debugging. I'm hoping to use YouWave as the AVD emulator is too slow on my PC. In the past I've been able to add a host and port of my own choosing for a remote device though I can no longer find where to do this.
Any help would be much appreciated.

you can't do it from within eclipse. ive been working on a plugin but not ready yet. for now use he command line.
adb connect 192.168.1.5:5555
you will see it from within eclipse.

Hi you can refer to this tutorial they have give how to create a Android remote device and also debugging use it click here

Related

CommandInvokationFailure: : Unable to forward network traffic to device in Unity

I installed Unity and following tutorial from GoogleAR.
I faced some difficulties and managed till installation of app in mobile by lot of internet search.
Now, the app is installed in my Android mobile by unity, but not opening by itself due to the following error
CommandInvokationFailure: Unable to forward network traffic to device.
Please make sure the Android SDK is installed and is properly
configured in the Editor. See the Console for more details. /home/_____/Android/Sdk/platform-tools/adb -s "number" forward "tcp:34999" "localabstract:Unity-com.example.helloAR"
What causes this issue and how to overcome it?
Note that I did un-check Development Build, but still not working.
Looks like a bug in UnityEditor on Linux, where it opens port 34999, and adb fails to do the port forwarding because it's in use.
https://issuetracker.unity3d.com/issues/android-linux-unable-to-forward-network-traffic-to-device-when-trying-to-build-and-run-a-development-build
While it's being fixed, workarounds:
The app should be successfully installed to the device, so you can run it manually from the Apps menu.
Close Unity editor, run adb forward "tcp:34999" "localabstract:Unity-com.your.packagename" and open the editor again. This way you make the port used by adb so that later it works when building.
For Windows: just kill adb.exe and Build&Run again. Work for me every time :) You don't even need to restart the Editor.
Ctrl+Alt+Del -> Task Manager
kill this task
On Windows, I was able to fix the issue by simply restarting the Editor.

How to attach to an app on android phone from MacOS terminal using lldb?

I am trying to attach to an app running on my android phone using lldb on my MacOSX. This link explains a little but its not clear on how to deploy lldb on my android phone. It explains a little about lldb-server but I cant seem to find that file anywhere. I don't want to use android studio because the app I am trying to attach to is not mine. Does anyone have any ideas?

Android studio's emulator is not connecting to internet

I'm using windows 10 and android studio 3.0.1.
In past, I was able to use internet at my Android emulators but now, I'm not !
I saw similar topic in stackoverflow but answers not working for me,
what should I do ?
try this command on windows cmd while replace the path with your own.
C:\Users\prashant\AppData\Local\Android\sdk\emulator\emulator.exe -avd Nexus_5X_API_25 -dns-server 8.8.8.8
If this doesn't work try genymotion, it's best. Here
Finally I found the answer!
I'm using proxy in my android studio and emulators by default using android studio proxy setting too!
I just disabled proxy in emulator and problem solved!
you need to enable your internet conection to share with another conected devices, once you do it restart the emulator and you got internet
this works for windows
go to your conection properties
go to sharing tab
click in "Allow other network users to connect through this compueters connection
I had this issue and finally I realized the problem is because of my firewall (Kaspersky).
Go to in firewall application settings and search 'Android studio'.
You may find several applications with the same name, allow all of them to access Internet.
For me, there were 2 apps including JetBrains extension, which i had blocked long time ago!
This problem appeared out of nowhere for me after updating Android Studio to Chipmunk. After a great deal of searching and trying different solutions, I found one on Medium.com that solved it! This is a very similar fix that Prashant posted (setting the DNS server to 8.8.8.8), but it gave a step-by-step solution without using terminal, and included adding 8.8.4.4 as well.
DNS fix for Windows or Mac

GameMaker: Studio Android fail to build ProcessException

I've been trying for the last several days to build and run the GameMaker: Studio Android Google Mobile Ads app demo on my Samsung Galaxy S6. I finally have all the correct things installed I believe, and I've managed to solve a few other build errors before this, but I've hit a brick wall and despite all my searching I have not found an answer. My problem is very similar to this post's which poster said he solved by setting the build tools to the latest version. I don't know what he means by that.
The full compile form is too long to fit in a StackOverflow question, but I believe the only really relevant bit is the exception line:
com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Users\gunna_000\AppData\Local\Android\sdk\build-tools\23.0.1\aapt.exe'' finished with non-zero exit value 1
I've been pulling my hair out with this and any help would be immensely appreciated.
I followed the GameMaker: Studio Android instructions perfectly, with the only hiccup being the local IP address, which is supposed to be in the format xxx.xxx.xxx.0/24 such as 192.168.1.0/24. My IPv4 adress is 10.0.1.129. Not knowing what to do, I entered 10.0.1.0/24 into the Web Server IP allowed list, ignoring the last number. However I do not believe that really has anything to do with this problem, as I'm trying to run the GM:S app on my Android device over USB cable.
I believe I have all the right modules installed in the Android SDK Manager:
And my JDK, SDK, NDK, and Keystore are all accepted it seems:
I've been able to run and install Android apps made in Android Studio from this computer to this Android device (Android version 6.0.1), but GameMaker: Studio is just not having it. (And just to verify, I have bought GameMaker: Studio Professional and Android)
I don't have any weird extensions or plugins. I'm simply trying to run a GameMaker: Studio application on my Android device. Please help. Thank you.
If you still haven't solved this:
Make sure your PC doesn't have a pending Windows update (if you use Windows).
Make sure your phone is in the right mode to accept files and install from GameMaker.
Try to run a very simple project with only an empty room.
Make sure to have all packages up-to-date.
Potentially reinstall the hole Android SDK lib.
Make sure that your device is connected and is found by the ADB.
If GameMaker tries to start the network connection between your PC and the Android device, it means that it failed doing so over the cable.

Android studios doesn't update app on mobile device

My problem is that when I ran my app and use my mobile device the app isn't updated with any of the changes I've made to the code. I've checked the 'Android Device Monitor' and it sees my phone. Yesterday I downloaded 'universal adb driver' because I was trying to print a logcat. I thought that downloading this driver despite already having USB google driver might have caused the issuse. I've uninstalled univeral adb driver but the problem persists. Can anybody help me
I know I am late, but if anyone else comes here, run Build>Clean project.
It's a bug in Android studio. That crap is ancient, and still not fixed.
You need to go to Run > Edit configurations... and disable the "Allow parallel run" checkbox at the right top corner of that window, it will even solve the problem that your activity don't run after app build. It's only one solution which was helped to me.
Simply uninstall the application from your mobile device and then run your app again with your device connected and make sure to select the correct device when Android Studio prompts you to.
Try Re-build the gradle. I should work for you. Sometimes if the build id processing and your usb cable is removed or not connected properly, there might be chance to get this issue.
Also, Check the error logs in the studio. They will tell you what exactly you need to do.

Categories

Resources