简体   繁体   English

How to modifiy a java class in a library used in android studio,kotlin android development

[英]How to modifiy a java class in a library used in android studio,kotlin android development

Basically im using the google maps sdk utility library and they have an IconGenerator class,and all i want to do is just add a new style,which is a color.基本上我使用谷歌地图 sdk 实用程序库,他们有一个 IconGenerator class,我想做的只是添加一个新样式,它是一种颜色。

在此处输入图像描述

This is the class,and i just want to add a public static final int like all those styles and put the case in the switch statement to return a gray hex color code.How can i get acces to this class to modify it and use it in my project? This is the class,and i just want to add a public static final int like all those styles and put the case in the switch statement to return a gray hex color code.How can i get acces to this class to modify it and use it在我的项目中?

In my point, just download the source code from github and modify it yourseft then export that as an.jar在我看来,只需从 github 下载源代码并自行修改,然后将其导出为 an.jar

How to create an.jar from a java project by Intellij: How to create a.jar file or export JAR in IntelliJ IDEA (like Eclipse Java archive export)? How to create an.jar from a java project by Intellij: How to create a.jar file or export JAR in IntelliJ IDEA (like Eclipse Java archive export)?

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

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