简体   繁体   English

android studio jar文件是红色的?

[英]android studio jar file is red?

I'm curious what's causing this? 我好奇是什么导致了这个? I'm picking up on someone's code and using a 3rd party analytics software called localytics. 我正在接受某人的代码并使用名为localytics的第三方分析软件。 I'm trying to import their .jar file and had success when I created a dummy app with it. 我正在尝试导入他们的.jar文件,并在我用它创建虚拟应用程序时取得了成功。 The problem is trying to integrate it with the current app. 问题是尝试将其与当前的应用程序集成。 The previous developers had created their own implementation of the jar file that I cannot change (time sensitive). 以前的开发人员已经创建了自己的jar文件实现,我无法更改(时间敏感)。

Can anyone tell me why the .jar file is red in android studio? 谁能告诉我为什么.jar文件在android studio中是红色的?

您可能已为当前项目启用了版本控制,并且Jar文件未添加到VCS。

右键单击Android studio中的jar文件,然后选择“Add as Library”将解决此问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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