Where is CMakeLists.txt or Android.mk in Android project?

#1

I’m trying to add header search paths in my Android project and I learned that I need either CMakeLists.txt or Android.mk to add them.

There was Android.mk file per project in OF 0.9.8 version but I cannot find the file in the latest OF 0.10.1 version.

I asked a question on stackoverflow https://stackoverflow.com/q/56581641/5224286 but people can’t help me if I don’t have one of these files.

I would appreciate any advice.

#2

In 0.10 the android build system was ported to an experimental gradle build system which is now deprecated so the build config files we use are none of the standard ones.

The file you need to edit to add custom flags is build.gradle i believe

1 Like