Rush • A new and improved way of building extensions

Your build is failing because you don't have Java Development Kit (JDK) installed. Make sure to install version 8 (or 1.8).

Also, there are no UsesPermissions, UsesApplicationMetadata and similar annotations in Rush. You need to define required manifest tags in the AndroidManifest.xml of your extension.