【问题标题】:After Building and running in Android Studio the scroll and Android Studio working very slow在 Android Studio 中构建并运行后,滚动和 Android Studio 工作非常缓慢
【发布时间】:2015-02-26 12:38:42
【问题描述】:

实际上我在 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 performance android-studio gradle android-gradle-plugin


    【解决方案1】:

    终于解决了这个问题。 如果有人正在处理通过 Subversion 同步的项目。 1)转到版本控制并设置无。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-09-25
      • 2014-03-31
      • 1970-01-01
      • 2021-07-16
      相关资源
      最近更新 更多