• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!
  • Hello [name]! Thanks for joining the GMC. Before making any posts in the Tech Support forum, can we suggest you read the forum rules? These are simple guidelines that we ask you to follow so that you can get the best help possible for your issue.

Android Problem when trying to export for android

L

Lucas Belles

Guest
Hi everyone, so i'm a student and I'm supposed to make a game on mobile (we chose android) for the end of the week.
So I followed the yoyo games' tutorial about how to export the game but this error occurs when trying to run it directly on my phone (a xiaomi --MUI version: MIUI Gobal 10.3----android version: 9 PKQ1.180904.001) or when trying to export it.

--------------------------------------------------
FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':com.company.game'.
> Could not resolve all dependencies for configuration ':com.company.game:_debugApkCopy'.
> Could not find com.android.support:support-v4:29.0.0.
Required by:
project :com.company.game

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED
------------------------------------------------

I tried to search on forums but I couldn't solve the problem.
I'm using android studio 3.6 canary 4
I'm french so I may have done mistakes following the tutorial by missunderstanding things.
That's the first game i'm develloping, I'm so damn lost, help.
 

Nedenir

Member
Try to set target SDK to 28 do not use 29 also use java 1.8.131 not 1.8.211.
In your error message seems that you set target SDK to 29 but you didn't install it through android studio you just don't have this in your system.
 
Top