Building android source code

前端 未结 4 596
不思量自难忘°
不思量自难忘° 2021-01-16 12:53

I downloaded android source from source.android.com and followed the instruction to setup build environment on MAC OS X, Everything went fine except when i run make it gives

4条回答
  •  梦谈多话
    2021-01-16 13:17

    I faced this problem several times when building Browser for Android 4.0.3 with make -j Browser on MAC OS X 10.8.4. I dont have any problem with Android 4.2.1. So my solution is

    make CC=gcc CXX=g++ -j Browser

    Hope it helps

提交回复
热议问题