我有开发人员选项启用,驱动程序更新(称为操作系统win10),我按照文档的说明。我的清单:Android Studio无法识别我的设备 - LG Spirit 4G
<application
android:debuggable="true" //this line says it shouldnt be harcoded?
android:allowBackup="true"
android:icon="@drawable/ic_piano"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/AppTheme">
而构建graddle文件:
android {
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.2'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
android {
buildTypes {
debug {
debuggable true
}
两个清单,并构建代码的文档复制。但它无法build.graddle。它说︰expectin'}'发现“ 我不知道这是什么意思,因为我已经做了所有的文件说。我已经在这里所有的答案,所以没有任何工作......任何ideias 链接:https://developer.android.com/studio/run/device.html
是整个'build.gradle'文件吗?如果是,那么这就是你的问题 – Blundell
不,当然不是,它只是文档中的一行,我将编辑帖子 – glassraven
你还应该链接哪些文档是指 – Blundell