Windows build guide - project-spectra/test-app GitHub Wiki
Transfusion's general workflow:
- Install nvm for windows (https://github.com/coreybutler/nvm-windows/releases) and node 10.15.1 (other tested versions: 10.16.2). Ensure you have git bash, MinGW, cmder, or some other Unix-compatible environment installed.
- Install Android Studio. Ensure you install the Android P (API 28) SDK Platform and build tools. It's easy to miss the build tools; click on show package details:

-
Ensure you have your
ANDROID_HOMEenvironment variable pointed to your Android SDK (typicallyC:\Users\username\AppData\Local\Android\Sdk) on Windows.) -
Ensure your
PATHvariable includes both theplatform-toolsand thetoolsdirectories:C:\Users\trans\AppData\Local\Android\Sdk\platform-tools\binandC:\Users\trans\AppData\Local\Android\Sdk\toolsrespectively. -
As of Aug. 15 2019 Transfusion is developing on
[email protected](the tns/nativescript CLI version) -
Clone all the repos. Enter the
test-appdirectory, checkout the appropriate branch and runnpm ci; it should complete without errors;

Enter each of the plugin directories (such as spectra-pitch-perfect-plugin, spectra-bdsd-plugin, etc.) Open one terminal window per plugin. Run npm run plugin.tscwatch within the src directory of the plugin folder! It should say "Starting compilation in watch mode". Leave the terminal open.
- Run
tns install. It should generate the iOS and Android folders within theplatformfolder, and symlink all the plugins specified inpackage.jsonwith thefile:prefix. - Enable Java 8 compatibility so the multidex stage doesn't fail.
compileOptions {
sourceCompatibility 1.8
targetCompatibility 1.8
}
Run tns run android --bundle. No changes should be needed to any source files.