Once this is done, you can start the build: Otherwise, you must specify the correct location to the Android NDK. Note: These examples are only valid if you installed NDK through Android Studio's SDK manager.
Edit/create Play/build_android/local.properties.Files-> Open Projects-> Directory To Play/build_android.
If you install Qt from their official website, your CMAKE_PREFIX_PATH might look like this: ~/Qt5.6.0/5.6/gcc_64/ Building for Androidīuilding for Android has been tested on macOS and UNIX environments.Īndroid can be built using Android Studio, or Gradle: Note: CMAKE_PREFIX_PATH refers to the Qt directory containing bin/libs folder. The above example uses a backport repo to install Qt5.6 on Ubuntu Trusty. G 'Unix Makefiles' -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=/opt/qt56/Ĭmake. # Not specifying -G will automatically pick MakefilesĬmake.