I am working on an app with a wear module, and would like to distribute to some users so they can install it on their devices. The thing is, when I try to generate the release version on Android Studio, I have to build one apk for app and one apk for wear, and I can't install the wear apk in the wearable device using the common tools I know for beta distribution. The user is able to download both apks, but only can install the app apk. Is there a way to distribute an android wear app for testing using those platforms without using Google Play Alpha/Beta distribution?
Related
I have made first release of Wear OS apk together with Mobile app apk. Wear Os apk isn't standalone but a companion app.
My questions is if I need to release a new update for Android app but not for Wear Os, should I include both Apks in release or it is enough to release Mobile app apk only.
Also other way around if I want to make a new release on Wear Os apk but I have no chance for Mobile apk. Can I only release Wear Os apk?
When I try with only Mobile Apk in my release and save it and review it.. Play Console shows me a warning icon as shown below. But there is not explanation for it. I am not sure what exactly it means. I googled but couldn't also find anything.
So my expectation would be here. If i release new version for Mobile apk, but not Wear Os. Wear Os should be still available with the older version or Is it tightly coupled with the same release Mobile Apk ?
I am trying to build apk for Chinese users. But I found some issue.
When the previous app is built from
Play Store
Android Studio
The apk file doesn't complete installation. And says it's not installed.
However, when I install older one by adb install my_app.apk or download the apk file from the internet and open/install, it installs successfully.
All the apk files has signed key(except for Android Studio build one). And I have no idea what's the problem. Or should it work & Am I wrong? I just tested Play Store one as Internal App Sharing. Since I can't test it out in the real market.
I have created a demo project of wear in Android studio. So the two projects created automatically, the phone and the Android wear are linked correctly.
When I generate the apk of the phone project, the two apks are generated.
The phone apk I signed it and uploaded it to Google Play Alpha.
In generated phone apk, inside res/raw I can se wear apk. So the mobile apk contains the wearable apk properly.
I have real physical phone and Android wear emulator linked. When I link real device to emulator, in Android wear emulator my phones apps that have wearable version are installed automatically.
I download my app upload from play store alpha to my phone, but in my wear emulator wear version of my app is not installed.
Additional info:
-The wearable emulator does not contain any app with the same package name.
-I have done several tests creating a new emulator.
-In the emulator if I install the application directly with the play button of Android studio works correctly
The packaging and distribution of wearable apps changed with Android Wear 2.0. Wearable apps are no longer synchronized from the phone. Instead you need to upload a wearable APK to the Play Store.
Is there some way to deploy Android app to your beta testers directly from Android Studio?
It can be some way(plugin for Android Studio) to load app to Google Play Store as alpha test apk or so on.
No there isn't any way like xcode of iOS! but there are many ways to test them and one of the convenient way would be using: TestFairy
I want to create an Android wearable app on Android studio. I have installed the apk file on mobile to test run it. I would like to know how I can run the same apk on wearable device.Also, apk file created on Studio is different for wearable and mobile devices. How can we run it? Thanks in advance!
As it mentioned at official website you need to create special package signed by release key. See more info about packaging here.
When developing, you install apps directly to the wearable like with handheld apps. Use either adb install or the Play button on Android Studio.
Note: The automatic installation of wearable apps does not work when you are signing apps with a debug key and only works with release keys.
During the development period, do not use release key for signing. Instead, you should build your app which would result in two apks, one for the phone and one for the wear device. Then install each of them separately on the corresponding device using adb or Android Studio. Make sure you are using the same package names for both apks.
When you are done with your development, then build the app with your release key; then the wear apk will be embedded inside your phone apk and installation of your phone apk on a phone will result in the installation of the embedded wear apk on the wear device (make sure you remove the dev apks from both devices prior to this step otherwise installation will fail due to different keys).
Trying to debug through Android Studio as suggested by Julia and Ali, but it is always showing me Parse error while installing or running the code.
I have created a project for both mobile and wear. While running for mobile it works fine in the mobile device but while running the code in the wear it always shows Parse error.
I am using Moto 360 for running and debugging.