实际上,我正在Android Studio(v 1.1.0)中的iMac(OS X Yosemite,2013)中工作,我只打开了一个项目,当我运行该应用程序时,在我的设备上运行该应用程序后,Android Studio开始工作例如,大约1或2分钟非常慢:在我的应用仍在设备上运行时,在类,xml等中滚动非常慢。

运行是否可能不影响此?

ps我遵循了所有的步骤: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')
}

最佳答案

终于解决了这个问题。
如果有人正在从事通过Subversion同步的项目。
1)转到版本控制并设置无。 android - 在Android Studio中构建并运行后,滚动条和Android Studio工作非常缓慢-LMLPHP

07-24 09:47
查看更多