Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
dtopuzov opened this issue Mar 7, 2017 · 2 comments · Fixed by #2591
Closed

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

dtopuzov opened this issue Mar 7, 2017 · 2 comments · Fixed by #2591
Assignees
Labels

Comments

@dtopuzov
Copy link
Contributor

dtopuzov commented Mar 7, 2017

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 "[email protected]".
Could not find package "[email protected]" 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
@dtopuzov dtopuzov added the bug label Mar 7, 2017
@dtopuzov
Copy link
Contributor Author

dtopuzov commented Mar 7, 2017

Most likely caused by a008db1

dtopuzov added a commit to NativeScript/nativescript-cli-tests that referenced this issue Mar 7, 2017
Ignore test_002_emulate_android_release because of
NativeScript/nativescript-cli#2589
@rosen-vladimirov rosen-vladimirov self-assigned this Mar 7, 2017
@rosen-vladimirov
Copy link
Contributor

Issue is with emulate command only. run works fine ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants