Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I use the Facebook Buck building tool with Android Studio?

How do I use the Facebook Buck building tool with Android Studio?

The requirement is something like code in android studio but build through buck from command line.

like image 986
A J Avatar asked Jan 03 '15 18:01

A J


People also ask

What is Buck Android studio?

Buck generates its output in the buck-out directory, so this is a good time to specify buck-out as something that should be ignored by your version control system. Now that Buck can locate your Android SDK, it is time to compile some kotlin code.


2 Answers

While we haven't explicietly tested this, Android Studio is essentially a customized IntelliJ. You just need to setup the correct project_config rules, and then run buck project.

like image 129
sdwilsh Avatar answered Oct 16 '22 18:10

sdwilsh


Here is a gradle plugin OkBuck which can let you start using BUCK base on your current Android Studio + Gradle build system with only 10 lines of configuration. Check it out.

like image 37
Piasy Avatar answered Oct 16 '22 18:10

Piasy