I have an Android Studio project that has both a wear and mobile module. I am installing to a physical handheld device connected via usb that is connected to a wearable emulator. Bothe the wearable emulator and the handheld device say they are in fact connected, but when i build my project to the handheld device it doesn't show the app in the "start.." menu on the wearable.
I am not sure if i have to install it manually on the wearable or not. It would seem to me that the project should automatically install both if i build to the handheld.
Anyone have experience with this?
https://developer.android.com/training/wearables/apps/creating.html has some useful info
Make sure you're forwarding adb to the emulator by using this adb command:
adb -d forward tcp:5601 tcp:5601
You also need to deploy the app you're debugging separately to the emulated wearable. Every Android wear project has two modules. Mobile goes to the phone or tablet, wear to the watch. You need to deploy the mobile apk to the phone and the wear apk to the watch.
Under the run menu, selecting debug should allow you to choose witch module you build, select wear then pick your emulated environment when it asks your target
Related
I work in unity, but i never develop for windows tablet, i need to launch an app build in unity on windows tablet, is a custom app, is possibile build in unity an app and install manually into tablet windows without pass from store?
thank you
If tablet SO is Windows and not Windows Mobile, you can build your proyect with PC build (https://docs.unity3d.com/Manual/BuildSettings.html) and go on.
tldr:
I have an Acer Chromebook laptop which can also be used as a tablet. Can I connect it to my Mac as a device for Android Studio?
Detailed version:
I have a Mac on which I've installed Android Studio for developing Android and Chrome-OS applications. I want to debug an app for chrome-os, but not on the emulator, but on a real device. Can I connect the Acer Chromebook to my Mac for debugging (it's possible to connect Android phone to the Mac, but I don't know about Chrome-OS devices).
If it's not possible, what's the best way to debug an app the that specific device?
The ways to debug apps on Chromebook from another device are debugging via USB or debugging via WIFI.
In Visual Studio when I want to run my project, my only choice now is the Android_Accelerated_X86_Oreo emulator. I would like to deploy to my cell phone. I have been able to do that but suddenly I cannot. I have Dev Options enabled and the USB connection is in File Transfer mode. What am I doing wrong?
I created DirectX universal apps in VS2013. I can only find emulators to debug my apps. There is no "device" to select so I failed to test my phone apps on a real phone.
How can I connect to a device? Thanks in advance.
Make sure you are building for 'ARM' when trying to build and deploy to a physical device. If you have 'Win32' or 'x86' for your build configuration you will only be able to build and deploy to the emulators.
I have a working Internet connection on my Phone and it is connected fine to my Android Wear Emulator. However, Dev Tools and Speech Recorder Application on the wear emulator get closed with an error when I launch any of them from "Start". Also "Voice actions" on the Android Wear app installed on the phone are not working. What is the issue?