I'm trying to add GreenDroid to an existing project, but I can't figure it out.
The instructions weren't very helpful.
I was able to download it by using: VCS>Checkout from Version Control>Git, but Android Studio added it as a standalone project not a library I can implement into my existing app.
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>
You should be able to try on Windows it with:
git bash
$PATH
Then you can see of the same project, when opened in Android Studio, has the right library.