Building and running app via Gradle and Android Studio is slower than via Eclipse

前端 未结 28 1938
太阳男子
太阳男子 2020-11-22 08:21

I have a multi-project (~10 modules) of which building takes about 20-30 seconds each time. When I press Run in Android Studio, I have to wait every time to rebuild the app,

28条回答
  •  长发绾君心
    2020-11-22 09:05

    Hi I know this is very very late answer but maybe help someone
    in my case I was using

    compile 'com.android.support:support-v4:23.1.1'
    

    in my app Gradle dependency
    but in one of my libraries it was

     compile 'com.android.support:support-v4:23.0.1'
    

    after change all to latest version my problem solved.

提交回复
热议问题