Thursday, 13 August 2015

Android App Fast Run (LayoutCast only support Mac)

LayoutCast

Android SDK sucks. It's so slow to build and run which waste me a lot of time every day.

https://android-arsenal.com/details/1/2281

Motivation

Facebook Buck http://github.com/facebook/buck build is fast. In some cases, it is faster than LayoutCast due to its multi-process build. The biggest problem with Buck is, it requires you to change a lot of codes, and restructs your project in small modules. Indeed, it is troublesome to just make it work properly on the existing android project, especially if you have big project. I have tried using Buck build system instead of Gradle on my test project. However, it took me a week just to make it work.
What I needs is a build tool that is easy to setup, fast as Buck, and provide a Run button in AndroidStudio. So I created LayoutCast.
LayoutCast is a little tool to help with that, it will cast every changes in your Java source code or resources (including library project) to your phone or emulator within 5 sec, and does not restart your application.
把代码和资源文件的改动直接同步到手机上,应用不需要重启。省去了编译运行漫长的等待,比较适合真机调试的时候使用。
GIF GIF
Youtube demo video: https://youtu.be/rc04LK2_suU

Features

  • Fast cast code and resource changes, usually less than 5 sec.
  • Cast does not reset your application. The running activity stack will be kept.
  • Easy to setup, only add few lines of code.
  • Support both eclipse and AndroidStudio project.
  • Provide a AndroidStudio plugin to click and cast.

Limitations


  • LayoutCast only support Mac (for now)
  • Cast Java code only support ART runtime (Android 5.0)

No comments:

Post a Comment