我嘗試建立在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