Ubuntu Bash on Windows, AOSP Compilation

I am trying to compile AOSP code using the new WSL (Windows Subsystem for Linux) aka Bash on Ubuntu on Windows. I successfully installed my build environment and synchronized AOSP code.

I cannot get "make" to complete the build even for one application.

Attached is a strace file . It seems that make hangs while reading the file "build / core / clang / TARGET_arm.mk" (this file is initialized on line 1443 of the trace), although this file was successfully read several times before freezing.

Any ideas on what causes the freeze? How can I dig deeper to find out what causes freezing?

+7
android windows bash ubuntu windows-subsystem-for-linux
source share
1 answer

Umm, yes, that was the only thing I wanted to do with bash from March 30th when it was announced. I tried this myself, and I also read an article by xda developers four months ago that it is currently not possible to successfully compile Android using this subsystem due to some missing dependencies. There is currently no solution for this. We should hope for an update that gives us this amazing opportunity. Even if this works, you will have to expect the double build time that you have with normal Ubuntu setup. Anyway, the development of bash is progressing, so I'm full of hope that it will work in a few months ...

+3
source share

All Articles