I developed a watch face and it works on Android emulator.
I have Fossil Explorist Gen4 watch which has no usb connections, only bluetooth/wifi. How can I run this watch face on my device? I exported signed apk and tried to install on my phone but it doesn't install. Also running from Android Studio is no success, I don't see the watch on the device list.
I figured out that first I need to connect to adb over wifi via command line, then in Android Studio my watch appears in device list and I can upload the app.
Related
My client's app is crashed. That crash is a device-specific issue and his device is a Chinese device. I want to log that device into my laptop and testing. Is there any way to connect his device to my laptop(android studio and xcode)?
You cant connect remote devices.
You can try Firebase Crashlytics to report and identify crashes
https://firebase.google.com/products/crashlytics
I create new watch face for android wear using Android Studio. It runs in emulator. I generate signed APK and installs it manually in my phone with connected smart watch (Sony SW3). It installs successfully but it does not shown in face part of Android Wear application. also in smart watch face settings
When you release your app on the Play Store, the wear apk is bundled in the phone apk and is automatically sent and installed on the wearables, but on debug builds, only the handset apk is deployed to the device. You need to also install the wear apk on the wearable.
If your watch has USB support (LG G Watch, Huawei Watch, Asus Zenwatch 2...), you can plug it just like any handset, enable adb debugging and let's press the run button in Android Studio.
If your watch doesn't have USB support (Moto 360 and other induction only charging), you need to enable Bluetooth debugging (slower than through USB though). You can learn more about all of this on the official Android Developers website.
I use my Android phone to debug in Xamarin. I recently published one version of my app to the Play Store, so I changed the build configuration to Release beforehand.
After publishing, I changed it back to debug, but now my device no longer shows up in the list. I've made sure the configuration is set to debug and android:debuggable is true..my phone has USB debugging turned on and is being recognized by my computer, it just doesn't show up in Xamarin.
Did you install new software on your phone or laptop? New drivers? It happens allot to me too, that xamarin fails to detect my devices. Usually a pc reboot will do the trick. If not, and you are sure that your phone's settings are correct, i would suggest re-installing the newest usb drivers for your phone on your pc.
I need to install an android application running in my local machine on to my new android htc handset, how to do this,and i also need to give this application to someones htc device who is not near to me.
On your device, go to Settings > Applications. Tick Unknown sources. Go to Development. Tick USB Debugging.
Connect your device to your PC via USB cable.
If using Eclipse, when running your application you should get a dialog asking you which device to use where you'll be able to select your phone.
If not using Eclipse, build your app to an APK file (it mustn't be signed) and run adb -d install /path/to/myApp.apk in a terminal or command line
Send the .apk and these instructions to your friend.
Another easy way to do this, without an USB cable. Upload your .apk to somewhere on the internet, and make your friend visit the link with his browser.
Ex. http://mydomain.com/apk/myappk.apk
He will automatically download the app and be promptet for install.
He needs to enable application from unknown sources. It does not need to be signed. (step1 from Felix)
#Felix applications are indeed signed using a debug key during development.
I have hard time installing .wgt file on TV with USB. App works normally on emulator. I have all required certificates. My distributor certificate has public privilege level with DUID of my emulator and my tv (where I want to test my app). In my USB root i created userwidget folder and copied .wgt file in it. When I plug USB in tv it detects it but after a few seconds I get message something like this: Installation with USB package is failed.
I have tried almost everything and I am running out of ideas what could be wrong. I assume is something with certificates/permissions but don't know what. My tv model is UE48J5570.
Updated:
I have also developer mode enabled on tv and signed in as develop user.
USB installation is no longer supported on Tizen TVs. The only way to run is through the IDE.
Forum Post:
Hello.
USB installation of application is abandoned from new firmware.
You should use SDK and developer mode to run application.
http://www.samsungdforum.com/TizenGuide/tizen3511/index.html