Home > Mobile >  Simulator run Android studio project is Waiting for all target devices to last come online
Simulator run Android studio project is Waiting for all target devices to last come online

Time:04-07

Create a new project, after the start, like this have tried method: in the AVD Manager 1. Wipe the data 2. Cold boot now
The two methods are found in CSDN, all invalid

CodePudding user response:

Build the third from bottom label, try the Clean Project

CodePudding user response:

The old problem, the root directory of your build. The gradle

 

Buildscript {
.
Repositories {
Maven {url 'http://maven.aliyun.com/nexus/content/groups/public/'}
Maven {url 'https://maven.aliyun.com/repository/public/'}
Maven {url 'https://maven.aliyun.com/repository/google/'}
Maven {url 'https://maven.aliyun.com/repository/jcenter/'}
Maven {url 'https://maven.aliyun.com/repository/central/'}
Maven {url 'https://jitpack.io'}
Google ()
}
.
}

Allprojects {
Repositories {
Maven {url 'http://maven.aliyun.com/nexus/content/groups/public/'}
Maven {url 'https://maven.aliyun.com/repository/public/'}
Maven {url 'https://maven.aliyun.com/repository/google/'}
Maven {url 'https://maven.aliyun.com/repository/jcenter/'}
Maven {url 'https://maven.aliyun.com/repository/central/'}
Maven {url 'https://jitpack.io'}
Google ()
}
}


CodePudding user response:

refer to the second floor can reply wang:
old problem, the root directory of the build. You gradle

I under the root directory of the build. Gradle file, these are automatically generated, I am to you like that?
//Top - level build file where you can add the configuration options common to all sub - projects/modules. 
Buildscript {
Repositories {
Google ()
Jcenter ()
}
Dependencies {
The classpath "com. Android. Tools. Build: gradle: 4.1.3"

//NOTE: Do not place your application dependencies here; They belong
//in the individual module build. Gradle files
}
}

Allprojects {
Repositories {
Google ()
Jcenter ()
}
}

CodePudding user response:

reference 1/f, dear Joe reply:
Build label third from bottom, the Clean Project try
hello, I tried cleaning Project, but run again above problem

CodePudding user response:

Dependencies, repositories are all to me

CodePudding user response:

reference 5 floor NeiHan2020 reply:
Quote: reference 1/f, dear Joe reply:
Build label third from bottom, the Clean Project try
hello, I tried cleaning Project, but run again above problem

I don't know you don't have tried the new download, error log is the best way to deal with the blue links below
  • Related