Producing optimised NDK code for multiple architectures?

后端 未结 2 1769
日久生厌
日久生厌 2020-12-12 12:08

I have some C code for Android that does lots of low-level number crunching. I\'d like to know what settings I should use (e.g. for my Android.mk and Application.mk) files s

2条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-12 12:29

    Great answer, just like to add you should use

    APP_ABI := all
    

    this will compile 4 binaries, armv5, armv7, x86 and mips

    you may need a new version of ndk

提交回复
热议问题