如何发布Android .aar来源使Android Studio自动找到它们? [英] How to publish Android .aar sources to make Android Studio automatically find them?

查看:118
本文介绍了如何发布Android .aar来源使Android Studio自动找到它们?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将库发布到内部的Sonatype Nexus存储库。

Android Studio具有自动查找通过gradle引用的库的正确源的功能。我把我们的aar作为一个单独的jar发布到这个链接上。
但是Android Studio没有选择它。



如何发布源代码以使它们在Android Studio中可用?

解决方案

目前尚不可能。


I'm publishing libraries to an internal Sonatype Nexus repository.

Android Studio has a feature that automatically finds the correct source for a library that is referenced through gradle. I publish the sources for our aar as a separate jar to the nexus. But Android Studio is not picking them up.

How do I have to publish the sources to make them available in Android Studio?

解决方案

It's not possible at the moment.

这篇关于如何发布Android .aar来源使Android Studio自动找到它们?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆