sfml Compile SFML for Android on Windows 2. Adjust your enviroment variables


Example

Add following Paths to the PATH-Enviromentvariable

  • [Path to CMake]\bin
  • [Path to Git]\bin
  • [Path to SDK]\tools
  • [Path to SDK]\platform-tools
  • [Path to NDK]
  • [Path to ANT]\bin
  • [Path to MinGW]\bin
  • [Path to MinGW]\msys\1.0\bin
  • [Path to Java jre]\bin
  • [Path to Java jdk]\bin

Make sure you use backslashes(\) and seperate the paths with semicolons (;)!


Add two new enviroment variables

Name: ANDROID_NDK
Value: [Path/to/NDK]
(e.g. C:/Android/NDK )
Make sure you use forwardslashes(/)!

Name: JAVA_HOME
Value: [PATH\to\jdk]
(e.g. C:\Program Files (x86)\Java\jdk1.7.0_55 )
Make sure you use backslashes(\)!