I created an Augmented reality application using Unity. The app works perfectly when testing on my windows platform. However, after finishing it I am trying to build and run it on an android device I keep getting the following message:
PS. debugging mode is enabled, the device is also accepted by the computer and it appears for me when I am fetching for connected devices. (I had also try several devices and change the USB cable but the problem remains)
Does anyone know what should I do to build successfully the app?
Make sure that your device has the USB Debugging option enabled in the Developer Options
If your device hasn't the developer options enabled, follow these steps:
1- Go to device settings, in your device.
2- In the menu About phone you have to find the Build number
3- Click repeatedly on the Build Number until Developer Options are enabled.
Related
I don't even know if there is a solution for this, but seeing software like Vysor and others, I was wondering, is it possible to run my USB connected android phone as an emulator, using Android Studio for example? How can I achieve this?
Edit: I don't want to debug or run apps from android studio in my physical phone, I know I can do that. What I want is to run my phone ( with it's data, other apps installed, etc) in mt laptop, as I would with an AVD.
yeah, you can run as a physical device on your android studio. the first thing which you have to do is go your phone settings and click on about device in that press 5-6 times on build number. after clicking on that you get a pop up that your developer mode has turned on.
in next you will see a developer options on your physical device setting.
go into developer options and click a mark on USB debugging.
after that connect your USB cable to your PC. and open the logcat options in the android studio.
you can see that your physical device is connected to your android studio.
yes ,
first go to mobile setting in your mobile device there you find software information
in software information press Build number for 5 times then it shows some toast message you are a developer
after that you will find developer options in settings go to it in that you will find usb debugging ( turn it on)
3)connect device with laptop using usb in and allow all the permissions that required for connection
4)go to android studio you will find your device name .If your device is not found go to run as multiple device there you find your device just click it
Thats all
Enable programmer mode on Your device and enable usb debugging there
If you mean the Physical device to use as a alternatives of Emulator then it is okay. You can use a Android Device to run the apps for debugging. Here is a detailed documentations how to connect your device with android Studio.
Check this link....
I am using Windows 10 with Android Studio's latest version.
I have configured my LG device to be in developer mode (clicked 7 times on the build number and got message that I am in developer mode).
When I try to debug my app on the LG device, I get popup that tells me that there is "No connected device".
What could be the reason for that?
I can see the device on My Computer as a media device.
In addition to being a developer, you must also enable debugging. Try going into Developer Options and turning on USB Debugging.
You just enabled Developer Options. You need to enable USB Debugging.
Go to Your phone's Settings then go to Developer options and enable USB debugging there.
Also sometimes if you connect a new device to your pc it will install some built-in drivers for the device. So make sure you allow that process to be finished.
Still if the problem persists try another port of your computer.
P.S. For first time connection your phone will ask you to allow debugging permission from pc.
How can I connect my phone to Android Eclipse, That The Projects Executed In My Phone Instead Of Android Virtual Device
thanks.
1- Enable USB debugging On your Android device, select Settings > Developer options.
2- Connect the Android device to your development machine using a USB cable.
more: https://developer.chrome.com/devtools/docs/remote-debugging
Note: On Android 4.2 and later, the developer options are hidden by default. To enable the developer options, select Settings > About phone and tap Build number seven times.
first of all you have to go settings then turn on debugging option in your mobile then press run option in eclips then select your device then you will see your app will run in your mobile for more assistant go to here http://www.developer.com/ws/android/connecting-your-android-device-to-eclipse.html
The first thing to consider is whether you have installed the OEM USB drivers for any devices you wish to use, as specified here. Then you must enable USB debugging on your phone (details will differ slightly depending on phone manufacturer and Android version).
The bigger elephant in the tent is that support for Android development in Eclipse ended in December so you will want to move to Android Studio as soon as possible.
I have a hp slate 6 voicetab running android 4.4 and I would like to use it to test an android app that I am developing. The Android phone is not showing up on the list of devices next to the emulator.
Can someone please help me.
P.S I am using android studio and running windows 8.1
Make sure you have USB Debugging Mode and Allow Mock Locations turned-on on your android device. To do that go to settings on the device and scroll down to developer options, then enable usb debugging. Also enable Allow mock locations.
Note if Developer options is not visible, enable it by going to About Phone and tap on the build number repeatedly 5 times.
I have managed to get it working. I used a software called ADBDriver installer, and I disabled the windows certificate check, then enabled developer options on the phone and it was able to show. Thanks for all your help
I am trying to develop android wear application with handled app.
My Android wear device (Samsung Gear Live) was not detected by ADB.
So , I am signing the wear app and adding it to handled app and signing handled app separately.
Now How to get crash logs from the wear app?
Any body can help on this issue?
You need to enable developer options and adb debugging on you Wear device to be able to use adb.
Open the Settings app and scroll to the bottom.
If it doesn't have a Developer Options setting, tap About Phone (or About Tablet), scroll to the bottom, and tap the build number 7 times.
Go back and tap Developer Options.
Enable USB debugging.
When that is done you can either connect your watch with a usb cable, just like you connect your phone or enable bluetooth debugging like described here: https://developer.android.com/training/wearables/apps/bt-debugging.html