【发布时间】:2015-01-13 08:14:21
【问题描述】:
我正在尝试构建 android wear 应用程序,如果我将 minsdk 设置为 20/21。它在下面给出错误,
但如果我将其设置为 19,则会出现以下错误:
/home/bhupinder/AndroidStudioProjects/MyWatch/app/src/main/AndroidManifest.xml:0:0 Error:
uses-sdk:minSdkVersion 19 cannot be smaller than version 20 declared in library /home/bhupinder/AndroidStudioProjects/MyWatch/app/build/intermediates/exploded-aar/com.google.android.support/wearable/1.0.0/AndroidManifest.xml
Suggestion: use tools:overrideLibrary="android.support.wearable" to force usage
Error:Execution failed for task ':app:processDebugManifest'.
> Manifest merger failed : uses-sdk:minSdkVersion 19 cannot be smaller than version 20 declared in library /home/bhupinder/AndroidStudioProjects/MyWatch/app/build/intermediates/exploded-aar/com.google.android.support/wearable/1.0.0/AndroidManifest.xml
Suggestion: use tools:overrideLibrary="android.support.wearable" to force usage
我应该怎么做才能运行它?我正在尝试此处的示例代码 => http://www.binpress.com/tutorial/how-to-create-a-custom-android-wear-watch-face/120
【问题讨论】:
标签: android compilation wear-os