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"
}
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" />