Skip to content

[@next]tns emulate/run android --release fails #2589

@dtopuzov

Description

@dtopuzov

Steps to reproduce:

tns create MitkoApp tns emulate android --path MitkoApp -> works fine. tns emulate android --keyStoreAlias ***** --keyStorePassword ***** --release --justlaunch --path MitkoApp --keyStorePath ~/Git/***** .keystore --keyStoreAliasPassword ***** --timeout 600 

Result:
Path must be a string. Received undefined

Log:

tns emulate android --keyStoreAlias ***** --keyStorePassword ***** --release --justlaunch --path MitkoApp --keyStorePath ~/Git/***** .keystore --keyStoreAliasPassword ***** --timeout 600 :config phase: createDefaultIncludeFiles	+found plugins: tns-core-modules-widgets :config phase: createPluginsConfigFile Creating product flavors include.gradle file in /Users/topuzov/Git/nativescript-cli-tests/MitkoApp/platforms/android/configurations folder... :config phase: pluginExtend	+applying configuration from: /Users/topuzov/Git/nativescript-cli-tests/MitkoApp/platforms/android/configurations/include.gradle	+applying configuration from: /Users/topuzov/Git/nativescript-cli-tests/MitkoApp/platforms/android/configurations/tns-core-modules-widgets/include.gradle :config phase: copyAarDependencies :config phase: addAarDependencies	+adding dependency: /Users/topuzov/Git/nativescript-cli-tests/MitkoApp/platforms/android/libs/aar/widgets-release.aar Incremental java compilation is an incubating feature. :asbg:clean :deleteMetadata :deleteFlavors :deleteConfigurations :clean BUILD SUCCESSFUL Total time: 6.85 secs This build could be faster, please consider using the Gradle Daemon: https://docs.gradle.org/2.10/userguide/gradle_daemon.html Executing before-prepare hook from /Users/topuzov/Git/nativescript-cli-tests/MitkoApp/hooks/before-prepare/nativescript-dev-android-snapshot.js Required heap snapshot package is not installed. Installing "tns-core-modules-snapshot@latest-3.0.0-2017.3.7.2-5.5.372.32". Could not find package "tns-core-modules-snapshot@latest-3.0.0-2017.3.7.2-5.5.372.32" in the registry. Build will now continue without using heap snapshots ... Preparing project... :config phase: createDefaultIncludeFiles :config phase: copyAarDependencies :config phase: addAarDependencies	+adding dependency: /Users/topuzov/Git/nativescript-cli-tests/MitkoApp/platforms/android/libs/aar/widgets-release.aar Incremental java compilation is an incubating feature. :asbg:clean UP-TO-DATE :deleteMetadata :deleteFlavors :deleteConfigurations UP-TO-DATE :clean BUILD SUCCESSFUL Total time: 7.18 secs This build could be faster, please consider using the Gradle Daemon: https://docs.gradle.org/2.10/userguide/gradle_daemon.html Successfully prepared plugin nativescript-theme-core for android. Successfully prepared plugin tns-core-modules for android. Successfully prepared plugin tns-core-modules-widgets for android. Project successfully prepared (android) Executing after-prepare hook from /Users/topuzov/Git/nativescript-cli-tests/MitkoApp/hooks/after-prepare/nativescript-dev-android-snapshot.js Searching for devices... Building project... Multiple errors were thrown: Path must be a string. Received undefined 

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions