我正在尝试编辑 this图书馆。 DragDropGrid.class
具体来说,但我不能。代码的许可证是这样的:
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
* permit persons to whom the Software is furnished to do so, subject to
* the following conditions:
*
* The above copyright notice and this permission notice shall be
* included in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
所以我应该可以编辑它。问题是当我尝试时什么也没有发生。这个奇怪的问题有解决方案吗?我试图通过 google 寻找解决方案,但得到的结果告诉我不要编辑 R
文件。
最佳答案
您应该编辑 DragDropGrid.java,而不是 *.class - Egor 评论。
关于android - 如何编辑 Android 库 .class 文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18080903/