search

Home  >  Q&A  >  body text

android-studio - Android studio编译速度太慢,每次都要一分钟

有没有比较好的解决方法,除了换电脑

迷茫迷茫2772 days ago1229

reply all(13)I'll reply

  • PHPz

    PHPz2017-04-17 17:41:39

    Haha, you are so fast. I encountered a project that took 5 minutes before, and finally solved it by modifying the memory of gradle. You can try it, but the premise is that the computer has more than 8G memory. If the memory is not enough, then AS will not work. Too fast to run

    reply
    0
  • ringa_lee

    ringa_lee2017-04-17 17:41:39

    Link description of an article I saw today
    It feels a lot faster if I follow the instructions.
    Note that if you change gradle and need to connect to the Internet to download dependencies, you must turn off offline. Open it after building

    reply
    0
  • PHP中文网

    PHP中文网2017-04-17 17:41:39

    It takes a minute to compile what project? I don’t want to change...How about smashing the computer

    reply
    0
  • Cancelreply