I have an Android watch app that has both mobile and wear modules.
I want this application to be ready for upgrade 2.0, and I visited all the websites that Android developers offer, I understand almost everything that is going to change, but then reality comes in, and I'm stuck with the first simple steps.
As I read here :
If you create a standalone Wear 2.0 APK and continue to use Wear 1.0 APK, follow these steps:
Provide a standalone version of Wear APK and continue embedding the Wear Wear version on your APK phone
Then here we have:
If your app supports both Wear 1.x and Wear 2.0, continue to integrate APK Wear 1.x APK (minimum SDK version 20, 21, 22 or 23) into the APK and download the APK phone. Alternatively, download the standalone Wear 2.0 APK (which has a minimum version of SDK 24).
Since I want to support Android 1.x support, what should I do for sure?
How to set SDK version numbers in modules?
Do I need to duplicate a wear module with a modified version of the SDK to create a separate portable apk?
Gold and the kingdom for all who have done this successfully, and will present all the necessary steps to ensure application compatibility for current and upcoming Wear versions.
source
share