Nativescript 无法在android emulator或motion中运行应用程序

Nativescript 无法在android emulator或motion中运行应用程序,nativescript,Nativescript,我无法运行应用程序/教程 我已经准备好了一切,当我跑步的时候 tns run android --emulator Emulator启动,但o应用程序已安装。在终端中,我得到: Project successfully prepared :config phase: createDefaultIncludeFiles +found plugins: tns-core-modules-widgets { "F0"

我无法运行应用程序/教程

我已经准备好了一切,当我跑步的时候

tns run android --emulator
Emulator启动,但o应用程序已安装。在终端中,我得到:

    Project successfully prepared

    :config phase:  createDefaultIncludeFiles
        +found plugins: tns-core-modules-widgets
     {
                  "F0" {
                    dimension "tnscoremoduleswidgets"
                  }
                } }
    :config phase:  createPluginsConfigFile
         Creating product flavors include.gradle file in /Users/luka/projects/sample-Groceries/platforms/android/configurations folder...

    :config phase:  pluginExtend
        +applying configuration from: /Users/luka/projects/sample-Groceries/platforms/android/configurations/include.gradle
        +applying configuration from: /Users/luka/projects/sample-Groceries/platforms/android/configurations/tns-core-modules-widgets/include.gradle

    :config phase:  copyAarDependencies

    :config phase:  addAarDependencies
        +adding dependency: /Users/luka/projects/sample-Groceries/platforms/android/libs/aar/widgets-release.aar
    :preBuild UP-TO-DATE
    :preF0DebugBuild UP-TO-DATE
...
...
BUILD SUCCESSFUL

Total time: 23.229 secs

This build could be faster, please consider using the Gradle Daemon: https://docs.gradle.org/2.8/userguide/gradle_daemon.html
Project successfully built
Successfully deployed on device with identifier 'emulator-5554'.
在emulator上,我看不到应用程序:(

请注意,通过运行以下命令使用genymotion设备:

tns livesync android --watch
我也有同样的问题

编辑:

  • 我通过多次更改模拟器设备使其工作)

  • 最后我转到了Genymotion(速度快得多)


有时Android emulator可能有点难以使用。我通常使用Genymotion。如果使用Genymotion,请确保emulator已打开并正在运行,然后再尝试livesync。这就是你正在做的吗?

有时候Android模拟器可能有点难以工作。我通常使用Genymotion。如果使用Genymotion,请确保emulator已打开并正在运行,然后再尝试livesync。这就是你在做的吗?

抱歉没有回复。最后,我通过几次更改模拟器设备使其正常工作。。。然后(在真正的结尾)我切换到了Genymotion&Virtualbox;)抱歉没有回答。最后,我通过几次更改模拟器设备使其正常工作。。。然后(在真正的结尾)我切换到了Genymotion&Virtualbox;)