实际上我在 Android Studio(v 1.1.0) 中使用 iMac
(OS X Yosemite,2013)工作 我只打开了一个项目,当我运行应用程序时,在应用程序之后在我的设备上运行 Android Studio 开始工作非常慢,大约 1 或 2 分钟,例如:在类、xml 等中滚动非常慢,而我的应用程序仍在我的设备上运行。
有没有可能运行不影响这个?
p.s 我遵循了以下所有步骤:Building and running app via Gradle and Android Studio is slower than via Eclipse它并没有影响它。
这是我的 build.gradle 文件(应用模块):
apply plugin: 'com.android.application'
android {
compileSdkVersion 21
buildToolsVersion "21.0.2"
defaultConfig {
applicationId “com.example.example1”
minSdkVersion 14
targetSdkVersion 21
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
android {
packagingOptions {
exclude 'META-INF/DEPENDENCIES'
exclude 'META-INF/LICENSE'
exclude 'META-INF/NOTICE'
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile files('libs/httpmime-4.3.2 2.jar')
compile files('libs/httpclient-4.3.2 2.jar')
compile project(':library')
compile 'com.android.support:appcompat-v7:21.0.3'
compile project(':facebook')
compile project(':universal-image-loader-1.9.3')
compile project(':simple-crop-image-lib')
}
最佳答案
关于android - 在 Android Studio 中构建和运行后,滚动和 Android Studio 工作非常慢,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28742711/