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
Related
I need to connect the avd wear emulator with my smartphone. When I searched the documentation for this at this link https://developer.android.com/training/wearables/get-started/creating#pair-phone-with-avd ,it said go to settings then device setting then tap emulator. I don't understand which settings and device settings it is talking about. The wear os app in my phone keeps showing "waiting for the emulator to connect". I am really stuck at this. Any help would be highly appreciated.
You can use Android Studio pairing assistant.
From document:
From the device dropdown in Android Studio, click Wear OS emulator
pairing assistant. Select a phone and a Wear AVD to pair with one
another. If none are available, click View AVD Manager to set up a
phone or watch AVD. Then click Next.
Android Studio attempts to launch and set up a bridge between the two
devices. If you do not have the Wear OS app installed on the phone,
you will be prompted to download the Companion app from the Play
Store.
If prompted, open the Companion app once it is downloaded. On the
phone, in the Wear OS app, begin the standard pairing process. For
example, on the welcome screen, tap the Set It Up button.
Alternatively, if an existing watch is already paired, in the upper
left drop-down, tap Add a New Watch. On the phone, in the Wear OS app,
tap the Overflow button, and then tap Pair with Emulator.
https://developer.android.com/training/wearables/get-started/creating#pairing-assistant
This feature is only available for Android 11+
It finally worked. I enabled the developer options in my avd emulator and enabled adb debugging and debugging over bluetooth from the developer options. Then followed the steps and the avd emulator connected with my phone. Thanks #selcukokuyucu for your help but unfortunately I have android 7.1.1 in my smartphone.
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.
I have been developing RN project.
Previously, I used honor phone, but I have some trouble on this phone.
So I use new samsung phone, but when I tried to check devices as follows.
adb devices
But I couldn't find any real device, I only could find MEMU emulator connected to adb service.
How can I connect my samsung phone to adb Service?
Thank you in advance.
How to access developer settings on the Galaxy S7
Launch the settings app from your Home screen or the app drawer.
Tap on About Device. It's all the way down at the bottom of the menu.
Tap on Software info.
Tap on Build number 7 times.
This should allow you to access the developer menu.
Once inside the developer menu, you can enable usb debugging. Make sure you you enable it otherwise it won’t be visible to adb.
It should now appear in adb devices -l
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 just received my ChromeCast and I am wanting to start developing with it. The problem is that in order to integrate it into your app and use it for testing, your device must be whitelisted. This process can take up to 5 days and it should be just a simple form to request whitelisting:
https://developers.google.com/cast/whitelisting
My issue is that in order to register it, I need to retrieve the device's MAC address from the Debug view. To access the Debug view I have to enable "Developer Mode". Step 2 in the process states:
On the Apps label, click seven (7) times. The message, "developer mode
enabled" appears.
but inside the ChromeCast app there is no Apps label? Has anyone figured out how to turn on developer mode yet?
--UPDATE--
The original instructions on the Whitelisting page were meant for the Android App and I was using the Mac app. Inside the ChromeCast Android app, if you click the Apps label 7 times it does enable Developer Mode.
In the Mac version you can find the Chromecast MAC address in Device Settings.
Plug in your Chromecast - make sure it has power and is setup. Download the free "Chromecast" app from Google Play.
The app will find any devices on the network. As of this writing the app will show what devices it finds at the top of the screen. At the bottom it show's "Apps" including YouTube, Netflix an Google Play Movies & TV.
If you tap on the "Apps" header 7 times it will put the device into Developer Mode as described.
The Windows version of the chromecast app shows the MAC address to the left of the help button in the device specific screen even without developer mode.
In new ChromeCast app click on DEVICES Tab 7 times. It will enable devloper mode.