Issue setting up the development environment for ProjectTango developemnt Device - google-project-tango

I have a Project Tango development Kit. I am interested in working on the depth data from the sensors.
I have ADB setup on my machine. But the Eclipse android emulator doesn't detect the Tango Development tablet.
Can anyone suggest me how to set things up for the device!.
Thank you in advance.

Please ensure that USB debugging is enabled in order to enter ADB, go to Settings > About tablet > Build number and then press Build number seven times. Then press back and go to Developer options > USB debugging.

Go to your device manager (if on Windows) and look for Android Composite ADB Interface (under Android Device).
I found the driver for this at http://developer.android.com/sdk/win-usb.html
Right click Android Composite ADB Interface, go to the driver tab, and click update driver. Then select Browse my computer for driver software and point it to the location where you extracted the usb driver package.
After doing this confirm that ADB can see your device by opening a command prompt, navigate your android sdk folder, and then go into a folder called platform-tools. Then run the command "adb.exe devices". If the tango is listed there then your drivers are correctly installed and adb can see the Tango.

I had the same issue on Windows 7 and it only saw the Tablet as a storage device. I had enabled developer options in the tablet as described above, but I had missed the step on turning on USB debugging. The moment I did that it appeared as a ADB device and I installed the Google USB driver and then I could see it and deploy onto it from Android Studio.
I previously had issues with the Peanut but if you followed the instructions for that EXACTLY it would work You have to specify the device driver file exactly,
not let windows chose one for you or let it tell you that its driver is better :-)

You need to update the driver in your device manager.
Click start
Right-click "Computer"
Select "Manage"
Select "Device Manager"
Find your device
Right-click "Update Driver Software"
Choose "Browse my computer"
Now search for the Android SDK you installed (on mine it is in c:\users\MyName\AppData\Local\Android\SDK) and select the sub folder Extras\Google\USBDriver

Related

How to debug React Native Project (developed using Visual Studio Code) in Android Device

Can anyone help me with the steps of how to debug React Native application in Android mobile. https://github.com/microsoft/vscode-react-native has helped me to debug to an Emulator but it does not say anything on Android Devices. At one point they asked me to enable Debug JS Remotely but I couldn't find this feature in Android.
if your app is already running on a physical device follow steps from step 5
step 1. Enable Debugging over USB
step 2. Plug in your device via USB
step 3. Check that your device is properly connecting to ADB
List of devices attached
emulator-5554 offline # Google emulator
14ed2fcc device # Physical device
Seeing device in the right column means the device is connected. You must have only one device connected at a time.
step 4. Run your app
react-native run-android
If you get a "bridge configuration isn't available" error, see Using adb reverse.
step 5. After the app is running on your device Physically shake your device to see options
step 6. Keep Chrome open
step 7. select Debug JS Remotely from the options
Debugger will open on chrome

Error: there were deployment errors

When I tried to run any sample application or a new one it shows this error. Can anyone help please?
The error is telling you that you have not selected a device:
"Please select a valid device before running the application"
You need to choice a physical phone (or Android emulator) to deploy the application to.
Ref: Debug on Device
you have to have the android virtual device downloaded.
here are a few options:
Xamarin Android player
Bluestacks
Andy
Genymotion
Now that you have the virtual device. you need to start one before you run or debug.
The specific error you are seeing is because you've not started the device properly before you debug, you should be able to see the device.
Now run the project, and you wont meet this error.
This is because of Hyper V. Things you need to do are:
1.Turn off your Hyper V.(http://www.poweronplatforms.com/enable-disable-hyper-v-windows-10-8/)
2.Update your android SDK to desired platform.
That set. Now run your app. It will work.
Please let me know if still you have same error.
I would advise you to use the Visual Studio Emulator for Android (get it here), it plays very nice with Xamarin and Visual Studio and sets up your system automatically. As an added benefit it is very fast!

Galaxy Gear not recognized by adb and odin after last update

Today I updated my galaxy gear to latest version and since then adb and odin are not recognizing it. I tried almost everything, changing cable, restarting, usb debugging on/off, i have no idea what could it be.
ADB always returns an emtpy list on "adb devices" and error:no device on adb:shell.
Any idea?
If anyone has a problem to this, I solved it. As I updated my Galaxy Gear from android to Tizen OS, Gear is no longer listed as an android device and you can not see it by running adb command, instead you can see it by running sdb command( its available once you download tizen SDK for wearable).
I downgraded from Tizen OS to Android OS via this method without any problem because I wanted to be able to run full APKs on my Gear.
http://forum.xda-developers.com/showthread.php?t=2776157
Cheers

Genymotion 2.0 "drag and drop"

anyone tried this website to install Google play store and works?
http://blog.zeezonline.com/2013/11/install-google-play-on-genymotion-2-0/
The drag and drop doesn't work as it just shows a "no entry" sign whenever I try to drop an apk or zip file on the home-screen.
any solutions?
You can't drag and drop under windows if one application is started as administrator.
Start Genymotion without administrator and it will work.
More about that: http://www.eightforums.com/general-support/15434-drag-drop-problem.html
Open Oracle VM Virtual Box, right click on your device emulator and click on shared folders, and create a folder to share with the emulador. Check the auto mount option.
After this, reboot your emulator and try to use drag' and drop again.
That works for me.
You need to open Oracle VM Virtual Box that was installed with GenyMotion (or manually).
Select the emulator and go to "configuration -> Advanced" and check "enable drag and drop" or something like that.
Relaunch the emulator and drag n drop should be available !
Enjoy !
#superwayne you're right ...
You can't drag and drop under windows if one application is started as
administrator. Start Genymotion without administrator and it will
work.
But, In my Windows 10, (I do not know why), Genymotion always start as Administrator, then my solution was:
Run any explorer process as Administrator
Drag a file from that application, which is also run as administrator
This happens because you are using custom ANTROIDSTUDIO SDK.
So change this into Genymotion default Android tools
Open Genymotion Click Settings --> ADB
select default Genymotion Android tools
Drag'n'Drop feature is available since Genymotion 2.0.
I had the same problem. Try to update your Genymotion.

Android: Within Android Device Chooser the same device shows up several times

I am using Eclipse to program for the Android OS. I use a real device to test my application on.
To test my application I click on run, then the target project i wanna run and then the Android Device Chooser pops up, where I can choose the device or emulator that I want to run the application. (like probably every programmer here).
But sometimes when my app crashes because of some exception, the Android Device Handler gets some weired behavior. Now everytime I connect my device to the computer via USB a new device shows up in the Android Device Chooser, but all them (which are the same) are "unknown", so I cant use my device for testing anymore.
(source: yfrog.com)
The only way to solve this is by restarting my computer. Isnt there any other way to solve the problem? Am I missing something?
In your command line. (assuming ADB is on your path)
Try:
adb kill-server
adb start-server
adb devices
Unplug the device from the system.
Restart the eclipse IDE.
Goto the device development setting, uncheck and then check the USB debugging.
Issue will be resolved.

Resources