简体   繁体   中英

Android Wear Api 21 Unable To Install App

嗨,这只是一个简单的问题...我有Android Wear和三星Galaxy Note 4 4​​.4Kitkat Api 19.我试图运行Android Wear应用程序,但它给我错误Api21> Api19有没有办法编辑Api等级和编译吗?

Per the Packaging Wearable Apps training :

When publishing to users, you must package a wearable app inside of a handheld app, because users cannot browse and install apps directly on the wearable. If packaged properly, when users download the handheld app, the system automatically pushes the wearable app to the paired wearable.

Note : This feature doesn't work when you are signing your apps with a debug key when developing. While developing, installing apps with adb install or Android Studio directly to the wearable is required.

If you are doing development of a Wearable app, then you need to connect your Android Wear device directly to your computer (or use the slower bluetooth debugging ) to install the app.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM