gpt4 book ai didi

android - 如何将 GreenDroid 添加到现有的 Android Studio 项目中?

转载 作者:行者123 更新时间:2023-11-30 00:16:34 27 4
gpt4 key购买 nike

我正在尝试将 GreenDroid 添加到现有项目中,但我无法弄明白。

The instructions weren't very helpful.

我可以使用以下方法下载它:VCS>从版本控制>Git 中 check out ,但 Android Studio 将它添加为独立项目,而不是我可以在现有应用中实现的库。 p>

最佳答案

Go to the scripts/ folder of the GreenDroid folder. Run the script named “greendroid.py” (make sure you can run it - chmod +x greendroid.py) to apply the library to your project : ./greendroid.py apply <project_directory>

您应该可以在 Windows 上尝试:

  • git bash
  • python 在你的 $PATH

然后您可以看到同一个项目在 Android Studio 中打开时具有正确的库。

关于android - 如何将 GreenDroid 添加到现有的 Android Studio 项目中?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47149881/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com