Error: Package path is not valid. Valid system image paths are:ository... null


#1

I am a relatively new mac user os any help would be appreciated.

After having installed nativescript I am trying to create an emulator. I have used the command:

avdmanager create avd --package “android-25” --name “foo”

and the error I get is:

Error: Package path is not valid. Valid system image paths are:ository…
null.

I can’t seem to locate a fix to this problem. Any help?

here is my tns doctor output:

:heavy_check_mark: Getting environment information

:heavy_check_mark: Your ANDROID_HOME environment variable is set and points to correct directory.
:heavy_check_mark: Your adb from the Android SDK is correctly installed.
:heavy_check_mark: The Android SDK is installed.
:heavy_check_mark: A compatible Android SDK for compilation is found.
:heavy_check_mark: Javac is installed and is configured properly.
:heavy_check_mark: The Java Development Kit (JDK) is installed and is configured properly.
:heavy_check_mark: Xcode is installed and is configured properly.
:heavy_check_mark: xcodeproj is installed and is configured properly.
:heavy_check_mark: CocoaPods are installed.
:heavy_check_mark: CocoaPods update is not required.
:heavy_check_mark: CocoaPods are configured properly.
:heavy_check_mark: Your current CocoaPods version is newer than 1.0.0.
:heavy_check_mark: Python installed and configured correctly.
:heavy_check_mark: The Python ‘six’ package is found.
No issues were detected.
:heavy_check_mark: Getting NativeScript components versions information…
:heavy_check_mark: Component nativescript has 4.0.0 version and is up to date.
:heavy_multiplication_x: Component tns-core-modules is not installed.
:heavy_multiplication_x: Component tns-android is not installed.
:heavy_multiplication_x: Component tns-ios is not installed.