Message is Displayed as:
`No suitable Android AVD system images are available. You may need to install these using sdkmanager, for example: sdkmanager "system-images;android-27;google_apis_playstore;x86".'
I assuming you're seeing this because you're trying to create an emulator? This message says that you don't have the AVD system images installed that Flutter wants to use. You can install them using the command in the message:
sdkmanager "system-images;android-27;google_apis_playstore;x86"
Please let .me know if that works.
I also have this problem when I trying to make a new emulator.
however, I've already installed needed files .here is my emulator and images version.
And I also ensure all Hyper-V items enabled in my BIOS and system( windows 10 )
Can you please run the command avdmanager create avd -n temp and post the output here?
My guess is that you are missing the _playstore versions, for ex:
system-images;android-27;google_apis_playstore;x86
I got the message after running the command you've mentioned
Warning: File C:\Users\sai pavan.android\repositories.cfg could not be loaded.
[=======================================] 100% Computing updates...
@saipavankumarrampally after running sdkmanager "system-images;android-27;google_apis_playstore;x86", are you still seeing this issue?
If so, please run the command avdmanager create avd -n temp and post the output here. Thanks!
after running above mentioned command this is what I got
Error: Package path (-k) not specified. Valid system image paths are:
system-images;android-28;google_apis;x86
system-images;android-27;google_apis_playstore;x86
null
@saipavankumarrampally this should've solved the original issue with creating emulators. Are you still seeing the original issue (and if so, exactly what steps are leading to it?)?
Closing this due to no update, but please let me know if you are still having this issue and we can get to the bottom of it.
No suitable Android AVD system images are available. You may need to install these using sdkmanager, for example: sdkmanager "system-images;android-27;google_apis_playstore;x86" please tel me how to solve this problem
@hashika2 have you tried the command in the message? Did it complete without errors?
sdkmanager "system-images;android-27;google_apis_playstore;x86"
- I Resolved by setting up a new device via Android Studio, then those devices automatically began to appear for the dart debug drop-down in VS Code.
Warning ... .android\repositories.cfg could not be loaded. ( for this i just created the blank file )
however I cannot add a new device emulator as it gives:
No suitable Android AVD system images are available. You may need to install these using sdkmanager, for example:
sdkmanager "system-images;android-27;google_apis_playstore;x86"
Output for avdmanager create avd -n temp is:
Error: Package path (-k) not specified. Valid system image paths are:
system-images;android-28;google_apis_playstore;x86
system-images;android-27;google_apis_playstore;x86
null
Output for flutter doctor is:
[flutter] flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, v1.7.8+hotfix.4, on Microsoft Windows [Version 10.0.18362.239], locale en-US)
[√] Android toolchain - develop for Android devices (Android SDK version 29.0.1)
[√] Android Studio (version 3.4)
[√] VS Code (version 1.36.1)
[!] Connected device
! No devices available! Doctor found issues in 1 category.
exit code 0
@Infusive Could you try posting the output of which avdmanager and flutter doctor -v?
Can you also confirm whether running flutter emulator --create directly gives the same message (try both in the VS Code integration terminal as well as externally).
@DanTup
I'm running on windows, no access to "which". I've installed android studio 3.4.2 version for this
flutter doctor -v
`[√] Flutter (Channel stable, v1.7.8+hotfix.4, on Microsoft Windows [Version 10.0.18362.239], locale en-US)
• Flutter version 1.7.8+hotfix.4 at C:\Core\flutter
• Framework revision 20e59316b8 (4 weeks ago), 2019-07-18 20:04:33 -0700
• Engine revision fee001c93f
• Dart version 2.4.0
[√] Android toolchain - develop for Android devices (Android SDK version 29.0.1)
• Android SDK at C:\Users\Infusive\AppData\Local\Android\sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-29, build-tools 29.0.1
• Java binary at: C:\Program Files\Android\Android Studio\jrebin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)
• All Android licenses accepted.
[√] Android Studio (version 3.4)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin version 37.1.1
• Dart plugin version 183.6270
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)
[√] VS Code (version 1.37.0)
• VS Code at C:\Users\Infusive\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.3.0
[!] Connected device
! No devices available
! Doctor found issues in 1 category.`
`Failed to create emulator 'flutter_emulator'.
No suitable Android AVD system images are available. You may need to install these using sdkmanager, for example:
sdkmanager "system-images;android-27;google_apis_playstore;x86"
You can find more information on managing emulators at the links below:
https://developer.android.com/studio/run/managing-avds
https://developer.android.com/studio/command-line/avdmanager`
@Infusive do you get the same output from running:
avdmanager create avd -n temp
and
C:\Users\Infusive\AppData\Local\Android\sdk\tools\bin\avdmanager create avd -n temp
?
@DanTup: Running the requested within Visual Studio Code terminal and externally return the same results.
avdmanager create avd -n temp
Error: Package path (-k) not specified. Valid system image paths are: null
C:\Users\Infusive\AppData\Local\Android\sdk\toolsbinavdmanager create avd -n temp
Error: Package path (-k) not specified. Valid system image paths are: system-images;android-29;google_apis;x86 system-images;android-29;google_apis;x86_64 system-images;android-28;google_apis;x86 null
after which I tried the below:
C:\Users\Infusive\AppData\Local\Android\sdk\toolsbinavdmanager create avd -n temp -k "system-images;android-28;google_apis;x86" --force
arsing legacy package: C:\Users\Infusive\AppData\Local\Android\Sdk\.temp\PackageOperation01\unzip\platform-toolsParsing C:\Users\Infusive\AppData\Local\Android\Sdk\build-tools\28.0.3\package.xmlParsing C:\Users\Infusive\AppData\Local\Android\Sdk\build-tools\29.0.1\package.xmlParsing C:\Users\Infusive\AppData\Local\Android\Sdk\emulator\package.xmlParsing C:\Users\Infusive\AppData\Local\Android\Sdk\extras\google\auto\package.xmlParsing C:\Users\Infusive\AppData\Local\Android\Sdk\extras\intel\Hardware_Accelerated_Execution_Manager\package.xmlParsing C:\Users\Infusive\AppData\Local\Android\Sdk\patcher\v4\package.xmlParsing C:\Users\Infusive\AppData\Local\Android\Sdk\platform-tools\package.xmlParsing C:\Users\Infusive\AppData\Local\Android\Sdk\platforms\android-28\package.xmlParsing C:\Users\Infusive\AppData\Local\Android\Sdk\platforms\android-29\package.xmlParsing C:\Users\Infusive\AppData\Local\Android\Sdk\system-images\android-28\google_apis\x86\package.xmlParsing C:\Users\Infusive\AppData\Local\Android\Sdk\system-images\android-29\google_apis\x86\package.xmlParsing C:\Users\Infusive\AppData\Local\Android\Sdk\system-images\android-29\google_apis\x86_64\package.xmlParsing C:\Users\Infusive\AppData\Local\Android\Sdk\tools\package.xmlAuto-selecting single ABI x86 Do you wish to create a custom hardware profile? [no] no
Now to be fair it did create an virtual machine from within visual studio code terminal, for now though I do feel like it is much less hassle/frustration to bootup android studio.
Below is how it looks from visual studio without doing the custom profile (I don't really know much about how to setup proper pixel 3 profile for example, but in AS it's two clicks away):

avdmanager create avd -n temp
Error: Package path (-k) not specified.
Valid system image paths are: null
C:\Users\Infusive\AppData\Local\Android\sdk\tools\bin\avdmanager create avd -n temp
Error: Package path (-k) not specified.
Valid system image paths are:
system-images;android-29;google_apis;x86
system-images;android-29;google_apis;x86_64
system-images;android-28;google_apis;x86
null
Hmmmm, these giving different results makes me think you may have a different avdmanager on PATH than the one you expect. Can you try running where avdmanager? (I believe where is a rough equiv of which on Windows).
@DanTup >where avdmanager
C:\Users\Infusive\Desktop\Android\sdk-tools-windows-4333796\tools\bin\avdmanager.bat
I see your point, I tried to set up sdk tools after the fact, not sure what to do with this now though.
Aha, that explains that :-)
My recommendation would be to change any paths in your PATH environment variable that start with C:\Users\Infusive\Desktop\Android\sdk-tools-windows-4333796 to instead have C:\Users\Infusive\AppData\Local\Android\sdk\tools\bin\avdmanager and then remove the one from your desktop (in the first instance you may wish to just rename it so nothing can find it, but you can easily put it back if things go awry).
You may also want to ensure Flutter doesn't point at that one (run flutter config --machine to see your config, and use flutter config --android-sdk /path/to/sdk to update it).
Once everything is on the same single version, then running
sdkmanager "system-images;android-27;google_apis_playstore;x86
should get you the bits you need for the emulator creation stuff to work. You should also check in Android SDK and make sure everything in the SDK manager there is up-to-date (and all the bits you need are ticked).
Done as you noted.
PS C:..> flutter config --machine
{
"android-studio-dir": "C:\\Program Files\\Android\\Android Studio",
"android-sdk": "C:\\Users\\Infusive\\AppData\\Local\\Android\\sdk"
}
Running:
PS C:..> flutter config --machine
{
"android-studio-dir": "C:\\Program Files\\Android\\Android Studio",
"android-sdk": "C:\\Users\\Infusive\\AppData\\Local\\Android\\sdk"
}
PS C:..>sdkmanager "system-images;android-27;google_apis_playstore;x86"
sdkmanager : The term 'sdkmanager' is not recognized as the name of a cmdlet, function, script file, or operable program.
Changed PATH variable to point towards: %USERPROFILE%\AppData\Local\Android\Sdk\toolsbin
Running
PS C:..> sdkmanager "system-images;android-27;google_apis_playstore;x86"
[=======================================] 100% Unzipping... x86/vendor.img
After which if I click on "No Device" -> "Create Android Emulator" from whithin visual studio, this seems to be working now, let's see if it stays that way now.
Thank you @DanTup for all the help, have a great week :)
Great! :)
I'm gonna close this since nobody else has replied for a while, but if anyone else is still having thie issue please let me know (and please review the comments above to try and figure out if you might have multiple Android SDKs, and if so resolve that first). Thanks!
Can you please run the command
avdmanager create avd -n tempand post the output here?
sdkmanager: command not found?
@Ans447766 avdmanager and sdkmanager are part of the SDK, if you get command not found it suggests they're not in your PATH. How to add these depends a little on your OS, but an example of the paths is here:
export ANDROID_HOME=/Users/foo/Library/Android/sdk
export PATH=$PATH:$ANDROID_HOME/tools
export PATH=$PATH:$ANDROID_HOME/tools/bin
export PATH=$PATH/:$ANDROID_HOME/platform-tools
I just got this error "No suitable Android AVD system images are available. You may need to install these using sdkmanager, for example:
sdkmanager "system-images;android-27;google_apis_playstore;x86""
@Dalexz4 did you try running that command?
sdkmanager "system-images;android-27;google_apis_playstore;x86"
What was the output?
@DanTup
I had run this command in terminal but it shows the error
'sdkmanager' is not recognized as an internal or external command. operable program or batch file.
@balajiks-dev that probably means your Android SDK is not in your PATH environment variable. You can run it with a full path if you know where your Android SDK is. For example, for me I can run:
/Users/danny/Library/Android/sdk/tools/bin/sdkmanager "system-images;android-27;google_apis_playstore;x86"
@balajiks-dev that probably means your Android SDK is not in your
PATHenvironment variable. You can run it with a full path if you know where your Android SDK is. For example, for me I can run:/Users/danny/Library/Android/sdk/tools/bin/sdkmanager "system-images;android-27;google_apis_playstore;x86"
it gaves me this
ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation.
@kareemX it looks like you also need to also either have Java on your PATH or the JAVA_HOME env variable set to its location in order to run sdkmanager.
Hi i also got this problem :
No suitable Android AVD system images are available. You may need to install these using sdkmanager, for example:
sdkmanager "system-images;android-27;google_apis_playstore;x86"
When i type "D:\Documents\Flutter project\hello> sdkmanager "system-images;android-27;google_apis_playstore;x86"" the result is as below :
sdkmanager : The term 'sdkmanager' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name,
or if a path was included, verify that the path is correct and try again.
At line:1 char:1
@eujin0212 that's because the folder that sdkmanager is in is not in your PATH environment variable. You should try running "D:\Android SDK\tools\bin\sdkmanager" "system-images;android-27;google_apis_playstore;x86" but replacing D:\Android SDK with the path to your Android SDK.
@eujin0212 that's because the folder that
sdkmanageris in is not in yourPATHenvironment variable. You should try running"D:\Android SDK\tools\bin\sdkmanager" "system-images;android-27;google_apis_playstore;x86"but replacingD:\Android SDKwith the path to your Android SDK.
hi can i know how should i running the "D:\Android SDK\toolsbinsdkmanager" "system-images;android-27;google_apis_playstore;x86" but replacing D:\Android SDK with the path to your Android SDK.??
i have added this to my enviroment C:\Users\Eu Jin\AppData\Local\Android\Sdk\toolsbinsdkmanager.bat and i go to vs i typed system-images;android-27;google_apis_playstore;x86 this error message came out system-images : The term 'system-images' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the
name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
You need to add only C:\Users\Eu Jin\AppData\Local\Android\Sdk\tools\bin\ to your PATH environment (without sdkmanager.bat), and then run the command:
sdkmanager "system-images;android-27;google_apis_playstore;x86"
Or, alternatively just this command may work without setting PATH:
"C:\Users\Eu Jin\AppData\Local\Android\Sdk\tools\bin\sdkmanager.bat" "system-images;android-27;google_apis_playstore;x86"
Exception in thread "main" java.net.UnknownHostException: services.gradle.org
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:666)
at sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:173)
at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:463)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:558)
at sun.net.www.protocol.https.HttpsClient.
at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1156)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1050)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1564)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:263)
at org.gradle.wrapper.Download.downloadInternal(Download.java:58)
at org.gradle.wrapper.Download.download(Download.java:44)
at org.gradle.wrapper.Install$1.call(Install.java:61)
at org.gradle.wrapper.Install$1.call(Install.java:48)
at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:65)
at org.gradle.wrapper.Install.createDist(Install.java:48)
at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:128)
at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
Finished with error: Gradle task assembleDebug failed with exit code 1
@keerthima your issue isn't the same as this one so it should be opened in its own issue.
This issue seems more like a connectivity issue though, your machine was unable to resolve services.gradle.org.
java.net.UnknownHostException: services.gradle.org
Can you load https://services.gradle.org/ in your browser successfully?
Yes sir . I loaded https://services.gradle.org/
On 20 Apr 2020 1:14 p.m., "Danny Tuppeny" notifications@github.com wrote:
@keerthima https://github.com/keerthima your issue isn't the same as
this one so it should be opened in its own issue.This issue seems more like a connectivity issue though, your machine was
unable to resolve services.gradle.org.java.net.UnknownHostException: services.gradle.org
Can you load https://services.gradle.org/ in your browser successfully?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Dart-Code/Dart-Code/issues/1552#issuecomment-616370878,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHIE2QVCKQWTID4PK3OBUJLRNP4MVANCNFSM4HAWAU3Q
.
Does it work if you run flutter run in your project from the terminal?
Where should I run.. chrome?
On 20 Apr 2020 1:36 p.m., "Danny Tuppeny" notifications@github.com wrote:
Does it work if you run flutter run in your project from the terminal?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Dart-Code/Dart-Code/issues/1552#issuecomment-616382276,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHIE2QXPUXLQ2DVIITHEEOLRNP7BFANCNFSM4HAWAU3Q
.
You can run flutter run from a terminal / command prompt (after changing to the directory where your project is). This is similar to running with the Run menu in VS Code, but without debugging.
There's info on using the terminal to run Flutter apps here:
https://flutter.dev/docs/get-started/test-drive?tab=terminal
I'm curious if your error only occurs when running from VS Code, or if also from the terminal.
(The reason to load that website, was just to check your computer was able to resolve the hostname, as the error message suggested it could not).
Also - could you run flutter doctor -v also in a terminal / command prompt, and paste the full output? (It would be better to raise in a new issue though, since this one is unrelated).
No its happening while I'm running flutter project from android atudio too
On 20 Apr 2020 1:49 p.m., "Danny Tuppeny" notifications@github.com wrote:
You can run flutter run from a terminal / command prompt (after changing
to the directory where your project is). This is similar to running with
the Run menu in VS Code, but without debugging.There's info on using the terminal to run Flutter apps here:
https://flutter.dev/docs/get-started/test-drive?tab=terminal
I'm curious if your error only occurs when running from VS Code, or if
also from the terminal.—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Dart-Code/Dart-Code/issues/1552#issuecomment-616388684,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHIE2QTDGP25NUSQIEFUFILRNQAQBANCNFSM4HAWAU3Q
.
Is it a problem of my jdk?
On 20 Apr 2020 1:57 p.m., "keerthima rajan" keerthimarajan@gmail.com
wrote:
No its happening while I'm running flutter project from android atudio too
On 20 Apr 2020 1:49 p.m., "Danny Tuppeny" notifications@github.com
wrote:You can run flutter run from a terminal / command prompt (after changing
to the directory where your project is). This is similar to running with
the Run menu in VS Code, but without debugging.There's info on using the terminal to run Flutter apps here:
https://flutter.dev/docs/get-started/test-drive?tab=terminal
I'm curious if your error only occurs when running from VS Code, or if
also from the terminal.—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Dart-Code/Dart-Code/issues/1552#issuecomment-616388684,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHIE2QTDGP25NUSQIEFUFILRNQAQBANCNFSM4HAWAU3Q
.
It has been 4 days .. I was stuked with this. Everything was fine in my
another lap. It has been damaged recently. That's why i switched to this
lap. Please help.me
On 20 Apr 2020 2:14 p.m., "keerthima rajan" keerthimarajan@gmail.com
wrote:
Is it a problem of my jdk?
On 20 Apr 2020 1:57 p.m., "keerthima rajan" keerthimarajan@gmail.com
wrote:No its happening while I'm running flutter project from android atudio too
On 20 Apr 2020 1:49 p.m., "Danny Tuppeny" notifications@github.com
wrote:You can run flutter run from a terminal / command prompt (after
changing to the directory where your project is). This is similar to
running with the Run menu in VS Code, but without debugging.There's info on using the terminal to run Flutter apps here:
https://flutter.dev/docs/get-started/test-drive?tab=terminal
I'm curious if your error only occurs when running from VS Code, or if
also from the terminal.—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Dart-Code/Dart-Code/issues/1552#issuecomment-616388684,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHIE2QTDGP25NUSQIEFUFILRNQAQBANCNFSM4HAWAU3Q
.
I'm not very familiar with Gradle so I'm not sure what's wrong here (I don't think it's a VS Code issue if it happens in Android Studio too). Do you have a proxy server? There's some info here suggesting if you have a proxy you may need to tell Gradle to use it.
Could you run flutter doctor -v also in a terminal / command prompt, and paste the full output? Please raise in a new issue though, since this one is unrelated.
[-] Android toolchain - develop for Android devices
• Android SDK at D:\Android\sdk
✗ Android SDK is missing command line tools; download from
https://goo.gl/XxQghQ
• Try re-installing or updating your Android SDK,
visit https://flutter.dev/setup/#android-setup for detailed
instructions.
On 20 Apr 2020 2:43 p.m., "Danny Tuppeny" notifications@github.com wrote:
I'm not very familiar with Gradle so I'm not sure what's wrong here (I
don't think it's a VS Code issue if it happens in Android Studio too). Do
you have a proxy server? There's some info here
https://stackoverflow.com/a/57324396 suggesting if you have a proxy you
may need to tell Gradle to use it.Could you run flutter doctor -v also in a terminal / command prompt, and
paste the full output? Please raise in a new issue though, since this one
is unrelated.—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Dart-Code/Dart-Code/issues/1552#issuecomment-616418208,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHIE2QWSWQIYEXDVTHWBHC3RNQG2NANCNFSM4HAWAU3Q
.
@keerthima it looks like your Android SDK is incomplete. Try following the steps at the page linked in the output you posted, and then if you still have issues open a new issue and include the updated full output of flutter doctor -v. Thanks!
Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlSchema
at com.android.repository.api.SchemaModule$SchemaModuleVersion.
I'm getting the error for ./sdkmanager "system-images;android-27;google_apis_playstore;x86"
@charity1475 that seems like an issue with your Android SDK - which may be that you're running it using a newer version of Java than it supports (see https://stackoverflow.com/questions/46402772/failed-to-install-android-sdk-java-lang-noclassdeffounderror-javax-xml-bind-a).
Hi, @DanTup I have read through the chat above but after I pasted this, I got this
flutter config --machine
I got this result
{
"android-studio-dir": "C:\Program Files\Android\Android Studio",
"android-sdk": "C:\Users\admin\AppData\Local\Android\sdk"
}
then I pasted this
sdkmanager "system-images;android-27;google_apis_playstore;x86"
I go the below result
'sdkmanager' is not recognized as an internal or external command,
operable program or batch file.
Kindly assist
@AbubakarOM that will happen if the folder that contains sdkmanager is not in your PATH environment variable. You can instead call it with a full path, like:
C:\Users\admin\AppData\Local\Android\sdk\tools\bin\sdkmanager.bat "system-images;android-27;google_apis_playstore;x86"
@DanTup after I clicked on No Device and select Create Android Emulator, I still get this
No suitable Android AVD system images are available. You may need to install these using sdkmanager, for example:
sdkmanager "system-images;android-27;google_apis_playstore;x86"
When I used this
C:\Usersadmin\AppData\Local\Android\sdk\toolsbinsdkmanager.bat "system-images;android-27;google_apis_playstore;x86"
I got this
C:\Usersadmin\wordpair_generator>C:\Usersadmin\AppData\Local\Android\sdk\toolsbinsdkmanager.bat "system-images;android-27;google_apis_playstore;x86"
Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlSchema
at com.android.repository.api.SchemaModule$SchemaModuleVersion.
at com.android.repository.api.SchemaModule.
at com.android.sdklib.repository.AndroidSdkHandler.
at com.android.sdklib.tool.sdkmanager.SdkManagerCli.main(SdkManagerCli.java:73)
at com.android.sdklib.tool.sdkmanager.SdkManagerCli.main(SdkManagerCli.java:48)
Caused by: java.lang.ClassNotFoundException: javax.xml.bind.annotation.XmlSchema
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:606)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:168)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
... 5 more
@AbubakarOM that seems like something may be wrong with your Android SDK, or it may be trying to run using the wrong version of Java. There's some info here about the required version of Java and the environment variable you'd need to set to point at it.
@DanTup, thanks I am currently checking that out.