我尝试建立在Linux Mint的Android应用程序,我已经机器人工作室更新为2.2.3
,但是当我运行出现一条消息应用程序:等待目标设备联机,然后模拟器甚至不启动。Android Studio中等待目标设备联机的Android
这是我的gradle产出:
apply plugin: 'com.android.application'
android {
compileSdkVersion 25
buildToolsVersion '25.0.0'
defaultConfig {
applicationId "bassem.com.vib"
minSdkVersion 15
targetSdkVersion 25
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
compile 'com.android.support:appcompat-v7:25.0.0'
compile 'com.squareup.retrofit:retrofit:1.7.1'
compile 'com.wang.avi:library:2.1.3'
compile 'com.squareup.okhttp3:okhttp:3.8.0'
compile 'com.squareup.retrofit:converter-gson:2.0.0-beta2'
compile 'com.google.code.gson:gson:2.6.1'
compile 'com.squareup.picasso:picasso:2.5.0'
testCompile 'junit:junit:4.12'
compile 'com.android.support:design:25.0.0'
compile 'com.android.support.constraint:constraint-layout:1.0.0-beta5'
compile 'com.github.PhilJay:MPAndroidChart:v2.0.9'
compile 'com.sdsmdg.tastytoast:tastytoast:0.1.1'
compile 'com.itextpdf:itextg:5.5.9'
}
尝试提出的解决方案[这里](https://stackoverflow.com/questions/42831999/android-studio-2-3-ubuntu-16-10-emulator-do-not-start) – lelloman
@lelloman假设OP有ubuntu – Zoe
@LunarWatcher没有,那假设OP可能有与ubuntu相同的问题,并且是比mint更受欢迎的发行版本,这个问题已经被问及解决了。我链接的问题是关于Ubuntu 16.10,但我在很多版本上遇到了这个问题多年。这是值得一试我的看法 – lelloman