Fork from https://android.googlesource.com/platform/gdk/+/master/samples/PhotoEditor. Compile with android stdio separately.