Android wear built-in application of the minimum version

I am currently creating an application for android application (API 20) as a module of my main application, already published in the play store. My main application uses the Google Cardboard SDK for Unity3D. I released this app in a play store with a minimal sdk set in API 16 (Jelly Bean).

My question is: if I pack my app to wear into the APK of my main application with Android Studio, should I increase the minimum sdk to API 20 (Android Wear) in the main build.gradle file? I do not want to limit my main application to API 20+ users only.

I tested this configuration with my kitkat phone and my Moto 360 for candy: there were no errors in the build.gradle files with different build versions, and both applications worked very well.

Thank you in advance for your reply.

+4
source share
1 answer

In no case. You need to install API 20 for your wear module and save 16 for your main application.

+3
source

Source: https://habr.com/ru/post/1569188/


All Articles