Missing feature: WATCH android wear

960 Views Asked by At

Two days trying to deploy the hello world project into the galaxy Active 2 wear. It is still showing the missing feature: WATCH. the project deployed into my mobile correctly but when choosing the wear one, it shows up the message: The application could not be installed: INSTALL_FAILED_MISSING_SHARED_LIBRARY I already read the related problem like here, but couldn't solve it, here is a screenshot of the wear sdk. Mobile sdk is:

// mobile sdk used
android {
compileSdkVersion 28

defaultConfig {
    applicationId "com.sensewatch.myapplication"
    minSdkVersion 24
    targetSdkVersion 28
    versionCode 1
    versionName "1.0"

    testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}

screenshot of the gradle file

3

There are 3 best solutions below

0
Corubel On BEST ANSWER

In AndroidManifest remove this:

 `< uses-feature android:name="android.hardware.type.watch" />`

and set user library (is in the AndroidManifest too) to false.

<uses-library android:name="com.google.android.wearable" android:required="false" />

0
TofferJ On

The Samsung Galaxy Watch Active 2 is running Tizen OS and not Wear OS by Google.

0
Nadeem Bhat On

if you have Android Manifest file all good with respect to the tags and required things then check the target device enter image description here