GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — NativeScript Appium Android Emulation tests fail when Visual Studio Community installed · Issue #198 · NativeScript/nativescript-dev-appium

NativeScript Appium Android Emulation tests fail when Visual Studio Community installed #198

New issue
Copy link
New issue
Copy link
Open
Open
NativeScript Appium Android Emulation tests fail when Visual Studio Community installed#198
Copy link

Description

@bsmithb2
bsmithb2
opened on Feb 9, 2019
Issue body actions

Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project:

  • CLI: ~7.1.0
  • Cross-platform modules:
  • Android Runtime:28
  • iOS Runtime:
  • Plugin(s):Nativescript? Angular?

Describe the bug
When you create a new demo project (I used the tabs one in Angular), then install appium tests and attempt to run them, you get a crash:
TypeError: Cannot read property 'sdk' of undefined

To Reproduce
Install Visual Studio Community
Install the Android_Accelerated_Oreo avd image. It has a invalid format for target in the Android_Accelerated_Oreo.ini file.
Install NativeScript
Create Angular Tabs example project
Install nativescript-dev-appium npm package to devDependencies
Run tests with npm run e2e

Expected behavior
Tests run

Sample project
Raised an issue on NativeScript/mobile-devices-controller#10 where the crash is raised

Additional context
If you delete the AVD that Microsoft Visual Studio creates stuff goes back to normal.

Reacted by Neven Dyulgerov

Activity

  1. SvetoslavTsenov commented on Feb 15, 2019

    @SvetoslavTsenov
    SvetoslavTsenov
    on Feb 15, 2019
    Contributor
    More actions

    Hey @bsmithb2, honestly, I haven't tested it with 'Visual Studio Community' but I will take a closer look and come back to you.

  2. bhavincb commented on Oct 24, 2019

    @bhavincb
    bhavincb
    on Oct 24, 2019
    More actions

    @SvetoslavTsenov i am having same issue with nativescript CLI also.

    Create Angular Tabs example project
    Install nativescript-dev-appium npm package to devDependencies
    Run tests with npm run e2e

  3. setrar commented on Dec 5, 2020

    @setrar
    setrar
    on Dec 5, 2020
    More actions

    Make sure ANDROID_AVD_HOME is set to whatever. The TypeError: Cannot read property 'sdk' of undefined message is not clear enough.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.