Android Support Library v17

☆樱花仙子☆ 提交于 2019-12-04 07:57:20

The Leanback library is available in the Support Repository. If you're using Gradle you can get it using:

compile "com.android.support:leanback-v17:+"

You can install the Support Repository package via the SDK manager, and you can see where Gradle pulls the dependency from at <sdk root>/extras/android/m2repository/com/android/support/leanback-v17/21.0.0-rc1. However, I haven't used Eclipse for Android development for ages so I'm unaware if it even supports AAR libraries.

If you are using Eclipse ADT, you can get the leanback support libraries as APKLibs from the following project.

https://github.com/kingargyle/adt-leanback-support

It takes the source from the leanback libraries and dependencies and makes APKLibs and jars that Eclipse can then use.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!