简体   繁体   English

Android Studio无法读取Samsung Galaxy S5

[英]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. 我安装了所有最新的SDK工具Android SDK Tools 24.3.3和Android SDK Platform-tools 22,不幸的是android studio不喜欢我的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. 我尝试了adb命令kill-server和start-server,但是没有结果。 I also turned off and on the USB Debugging from the Developer Options.. 我还从开发人员选项中关闭并打开了USB调试。

This is my gradle file code just in case I did something wrong there. 这是我的gradle文件代码,以防万一我在那儿做错了。 I have another device connected to my mac which is recongised and is online. 我有另一台设备连接到我的Mac,该设备已确认并在线。

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. 安装Samsung Kies,然后查看是否正在检测。

See if debugging option is on or not in your phone. 查看手机中是否启用了调试选项。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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