[Android] Build nightly from source and import

Hello there,

With help ([Android] Build failed) I’ve managed to built AAR files but using the explanation on PyTorch website it impossible to build android project.
Here is relevant issues (https://github.com/pytorch/android-demo-app/issues/31) and (https://github.com/pytorch/android-demo-app/issues/29)
The first error appears when you try to build from terminal and the second when you try to build from Android Studio.

How to properly add AAR files to android project?

This was a small heap issue so add:

org.gradle.jvmargs=-Xmx4096m

to your gradle.properties