How to run wear app with minSdk 20 on Samsung Galaxy gear with sdk 17

1k Views Asked by At

hello I have samsung galaxy gear for testing purpose, I have purchased it few days before. Its minimum sdk is 17, however I have made the project of wear with minimum sdk of 20 . As minimum sdk for wear is 20 in Android studio. So I can not run my app on that watch

And If i tries to edit the gradle file to minimum sdk 17 it gives me a following error

Error:Execution failed for task ':wear:processDebugManifest'. Manifest merger failed : uses-sdk:minSdkVersion 17 cannot be smaller than version 20 declared in library com.google.android.support:wearable:1.0.0

So what should I do as if I will remove this com.google.android.support:wearable:1.0.0 , it will then not let me work with google api's . What would be the suggested solution of this problem please help.

1

There are 1 best solutions below

4
On

Galaxy Gear (Samsung SM-V700) doesn't have Android Wear OS, but Tizen OS - it was originaly released with Android (not Android Wear), but then Samsung replaced Android with Tizen in 2.2 software update. The only Samsung Gear device running on Android Wear right now is Gear Live.

If you want to develop for your Galaxy Gear you should go to this website and download Tizen SDK for wearable. You can develop Android apps for Galaxy Gear (not Android wear apps) if you haven't updated your device yet, but I wouldn't recommend it, beacause the newest software version is based on Tizen and you should focus on supporting the newest software version.