How to run copy task with android studio into assets folder
问题 So far I have added the following to the end of my "build.gradle" task copyFiles(type: Copy) copyFiles { description = 'Copies html5 files from the common library...' from '../../www' into 'assets/www' include('**/*') } Now I just need some help on how o make this task get executed everytime (before) compiling the android source. I can run the copy task manually from command line, but Id like to have it run when I click "run" in android studio. With the help of suggestion below, I have added