简体   繁体   中英

Android Studio doesn't read Samsung Galaxy S5

I installed all the latest SDK tools Android SDK Tools 24.3.3 and Android SDK Platform-tools 22,and unfortunaly android studio doesn't like my Samsung S5 Galaxy. It reads it as offline. You can see the picture.

Android Studio屏幕截图。

I tried the adb commands kill-server and start-server but with no result. I also turned off and on the USB Debugging from the Developer Options..

This is my gradle file code just in case I did something wrong there. I have another device connected to my mac which is recongised and is online.

apply plugin: 'com.android.application'

android {
compileSdkVersion 22
buildToolsVersion "21.1.2"

defaultConfig {
    applicationId "app.victory.walking.thewalkingviktory"
    minSdkVersion 15
    targetSdkVersion 22
    versionCode 1
    versionName "1.0"
}
buildTypes {
    release {
        minifyEnabled false
        proguardFiles getDefaultProguardFile('proguard-android.txt'),    '
 'proguard-rules.pro'
    }
 }
}

 dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])

compile 'com.android.support:appcompat-v7:22.1.1'
compile 'com.mcxiaoke.volley:library:1.0.15'
compile 'com.ganyo:gcm-server:1.0.2'
compile 'com.google.android.gms:play-services:7.5.0'

}

What could be wrong?

只需关闭手机,等待几秒钟,然后再次打开,然后再连接即可。

Install Samsung Kies then see if it is detecting or not.

See if debugging option is on or not in your phone.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM