Running eclipse project on android device - eclipse

i'm new into programming for android. And i have few problems with connecting and debugging my eclipse project on android device - which is my phone Samsung Galaxy SIII. According to this link I tried to launch my app on my phone. Saddly when i press run button it tells me that there's no android device connected. And as you may know im not that dumm to not plug it into my computer. Additionally i have USB Debug mode ticked in options. My PC recognises it as "SAMSUNG Android ADB Device".
Some of you might say that i should start using emulator to have better view how this app will work on other phones/versions of android/etc. Thing is that my PC is quite old, and running an emulator makes it respond so slowly that it's nearly impossible to do anything on this emulated device. Plus... im quite sure that i wont publish this app on play store so i dont need to know if it will work on other devices. I just want to make a weather widget for me since stock one that uses accuweather.com tends to fail weather forecast for my country (like it says heavy rain on sunny day).
So here are the things that i have done so far to try to launch:
1. Uninstalled device and set some new drivers that should have helped me - saddly not ;]
2. Tried launching it via command line
3. I found somewhere on the Internet that it is possible to connect and test your app via WiFi using tcpip over 5555 port... saddly it failed too.
Any ideas what else should i try to make it work?

Related

how to debug in other window desktop device

i'm making windows app works like kiosk with serial port with card reader, printer and barcode reader.
I had a experience with ios and android application but it is my first time to make windows app.
Building and debug windows app in local has no problem. However, making a serial port code was a problem, i thought it will be similar with other phones like just connect the phone and run it but connecting the window device was not.
try to connect with usb, but cant see in avalable devices.
i was planing to make the code(like response code and return code) while looking debug log.
is there any way to debug like which we do debuging like android or IOS.
Or is there other way?
Follow the steps:
Found the app.so file in ..\build\windows
Copied the file and pasted it in ..\build\windows\runner\Debug\data
Original Source

Disable Serial Console on an Android Emulator

I've been learning and working with Flutter for a few weeks now. I used some of the Android Emulators that Android Studio provides and it was doing fine.
But recently, I opened an emulator to run a Flutter project while a memory card was connected with my laptop, and suddenly a notification was shown in the emulator of detecting a SD card and with that another notification was shown saying:
Serial console enabled
Performance is impacted. To disable, check bootloader
The notification is not clickable, and neither it removes even after I deleted all the emulators that I installed using the AVD manager. And as the notification says, it really is impacting the performance of the emulators. Before it showed up, I could see the changes in the app immediately after making changes to the code and saving it, but now, it takes so much time to show the changes even if I use hot reload or hot restart.
Is there any way to get rid of this? How can I disable the Serial console?
Enter engineer mode (*#801#) and disable the option that says serial. Google it how to access engineer mode if the code doesn't work for you.

Android Device can't able to connect with Profiler Window

I want to get performance analytics of my game using Profiler so I have exported build with Autoconnect Profile setting enabled.
After this process build installed within an Android device but it can't able to run the game, it just displaying black screen nothing else. Profiler can't able to connect with the connected Android device, I was getting this kind of list within Unity profiler:
Now android device showing just black screen and profiler not moving ahead, it just remains connected with Editor only.
I have tried to connect and disconnect my Android device multiple time but nothing changed in this. Please give me some suggestion into this so I can start my debugging process.
I have already gone through this post:
Profiler window
I believe you need to build in DevelopmentBuild enabled to be able to attatch profiler

Eclipse not detecting HTC desire as device

I've been developing an Android app on Ubuntu 10.10 with Eclipse (using HTC Desire) for the past few months without any major problems. Today however, I was testing some stuff and for some reason Logcat wasn't outputting certain messages (timing logs to measure performance). So I foolishly thought there might be something wrong with the adb connection. I went into the phone settings and unticked USB debugging and then re-ticked it. Now Eclipse will refuse to detect the device.
I have the proper udev rules set up, and I've tried restarting both the phone and computer to no avail. Changing USB ports doesn't help. Like I said, this was working fine for the last few months and now all of a sudden because I reapplied a setting, it went kaput.
Fixed it. Had to do a factory reset on the phone. No biggie but annoying nonetheless.

Captivate's ID coming up as "?????????" in manual emulator selector in Android Eclipse Manager

Solution: Why is Eclipse's Android Device Chooser not showing my Android device?
THis is getting annoying. My device shows up in eclipse on all
platforms.. Except when I am on my Ubuntu laptop.. when I "run
configurations" with it set to Manual.. I can see that there is an
Emmulator running that I can Install the App to.
Problem is, the Emulator is a pile of horse crap when it comes to
testing on real devices like my Samsung Captivate.
When the Captivate is plugged in via USB.. it shows via ICON, except
the ID is set to ??????????? and nothing else seems to be registering.
I can highlight it, but I can't launch it.
The captivate I am using is Rooted and running the LagFix Kernal..
However this has never hindered me on Windows or OSX.
Help.. I am trying to go completely Linux.. if it kills me.
See screenshot below: http://img265.imageshack.us/i/sdkbugeclipse.png/
UPDATE: Device is showing in the manager even when not connected?!?!
This has to be some weird Eclipse bug.. PLEASE HELP!
Solution (in case you missed my edit) need to add the correct Samsung Device ID when using the SDK with Ubuntu: link