I updated these properties in 'build.gradle' to match my API version :
compileSdkVersion 28
buildToolsVersion "28.0.3"
defaultConfig {
applicationId "sfml.com.sfml_example"
//Replace this with your real package name (e.g. com.StudioName.GameName)
minSdkVersion 28
targetSdkVersion 28
I have problems with the dependencies and I don't know how to fix that issue :
FAILURE: Build failed with an exception.
What went wrong:
A problem occurred configuring project ':app'.
Could not resolve all dependencies for configuration ':app:_debugApkCopy'.
Could not find com.android.support:appcompat-v7:25.3.1.
Required by:
project :app
Could not find com.android.support.constraint:constraint-layout:1.0.2.
Required by:
project :app
Could not find com.android.support:support-v4:25.3.1.
Required by:
project :app
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':app'.
> executing external native build for cmake C:\DevProjects\SFML_AndroidStudio\app\CMakeLists.txt
Hi,
I updated these properties in 'build.gradle' to match my API version :
I have problems with the dependencies and I don't know how to fix that issue :
FAILURE: Build failed with an exception.
When I remove dependencies, I have this error :
I followed this tutorial https://github.com/SFML/SFML/wiki/Tutorial:-Building-SFML-for-Android but I don't know how to launch this
gradle build
on Windows that's why I'm using your template.Thanks.