i want to connect Sony Ericsson xperia x10 (android mobile) to the eclipse (emulator)
i was able to connect htc mobile to the eclipse.but i could not connect the sony mobile to the eclipse.can you please help me?
Connect the xperia x10 with an USB cable, enable the connection on the mobile and switch on debug mode on the mobile (you'll find the switch somewhere in the settings - can't give more details right now, MobileOutOfReachError on my side ;) ).
This was all I had to do - just started the application on eclipse and the app was installed and executed on the real phone.
Wait - I installed the PC companion. If the above steps don't work, then maybe this is necessary too.
Related
I am stuck here. I connect a USB drive from my laptop to the android device but still vs code shows no device. Image Attached
Considering that you have successfully installed Flutter and Dart and their respective VS Code Plugins.
There are 2 ways to do it
If you have a physical Android Device, you must enable USB debugging on your device and then you can connect it directly to your machine. Once the device is successfully connected and detected by your machine, then its name would appear on bottom right corner in VS Code window.
If you don't have a physical device, then you must create an emulator image of Android platform of your choice. The emulator image must be created from AVD manager present in Android SDK. Once the AVD image is ready and running, the name of the AVD would appear on bottom right corner of VS Code window.
If you see your device name on bottom corner of VS Code, then press F5 and wait for the app to load on the device/emulator.
There are basically two ways before the app is released.
USB Debugging
Wireless Debugging
Connect via USB: adb tcpip 5555
Disconnect USB, Get Phone Ip Address Settings > About Phone > Status.
Now adb connect <Your IP Address>
Refer:
How to connect a device with ADB over WiFi when making app with Flutter?
https://appmaking.com/run-flutter-apps-on-android-device
I have a OnePlus X device, which I use with Eclipse for debugging my apps. I had a Nexus 4 which worked perfectly.
I have a late-2012 macbook pro, and I tried to plug my device directly in the usb port of the computer, and with an external alimented hub.
When I plug my OnePlus and I use the command "adb devices" I can see my device. Troubles comes when I run the Android app from eclipse... At this point, my device is disconnected and the app is not launched. And I can't see my device anymore with adb device. All I can do is restarting the adb server, but it will still disconnect after I tried to run the app in Eclipse
I tried different cables, different usb in, but nothing change.
Anyone has a solution ?
I'm developing a Cordova Plugin for Android that interacts with a printer connected to my Android device's USB port. I also have Ionic in the mix running a working Anular application. I have the Plugin working, but getting to that point was painful. There were many iterations of deploying the app from my laptop (using ionic run Android) swapping the otg cable out and pluging in the printer and testing.
I'm looking for a better develop/debug story. I'm planning to add additional features to the Cordova plugin and would like to find a cable configuration that lets me keep the Android device connected to my laptop while the printer is also connected the Android device.
I've tried a few different after market cables, but everything seem to only support charging the device while connected to the peripheral devices. Nothing seems to allow me to stay connected to the laptop and have a peripheral connected simultaneously.
Is anyone aware of a USB Hub, Switch or Router that could help ease my pain, or have suggestions on how I can easily debug my Java based plugin while it is connected to the USB printer. At a minimum I'd like to be able to attach a debugger to my plugin and step through the Java code.
Using an Emulator is out of the question because the performance is simply unbearable.
Sorry in advance if this question is not appropriate here.
I think I have a better solution for you, you can deploy to your device using adb over Wi-fi and keep your printer cable connected to test your app, here is how:
Connect your android device to your computer using a USB cable
From a command line run adb tcpip 1234 // or any port of your chosing
disconnect your android USB cable
run adb connect <your-phone-ip>:1234
Connect your printer using the USB cable
run ionic run android to deploy your app.
I just tested this combo with a Mac and an Android Nexus 5 and it works like a charm.
I am trying to connect "HTC one V" with my Eclipse for Android Application Testing.. I followed following steps to connect my phone.
Installed Google USB Driver Package..
From Phone Settings Debugger Mode is on in Developer Options..
But still when i try to run application in Eclipse it runs in Emulator Not in HTC device.
I deleted all Emulators but still my device is not present in connected Devices.
what should i have to do now?
Here are some tips:
Enable usb-debugging.
Instal HTC phone drivers from their website.
The next step is very important: Exit HTC sync on your pc.
I have windows 7 64 bit and Android Debug Bridge version 1.0.26. My tablet is view pad 7
When I connect it with my computer it shows
usb debugging connected
But when I write adb logcat
it shows me
waiting for device -
When I connect my htc phone with the same computer and type
adb logcat
it shows me the log of my phone. Basically I think it something related to driver as the device is connecting properly but not showing me the logs.
I have also tried this with motodev and found same results.
Go to settings, development > enable usb debugging. If it's not there try REMOTE ADB. It's on the market for free, it works via WIFI.