• 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 Default SDK Target Settings

R

Reventador

Guest
Hi All,
Having this error - what are the default settings? I have downloaded all the required build tools and support repo too?

Code:
FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':com.reventador.mygame'.
> Unable to find optional library: org.apache.http.legacy
My settings:
 
P

PlayLight

Guest
Hi All,
Having this error - what are the default settings? I have downloaded all the required build tools and support repo too?

Code:
FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':com.reventador.mygame'.
> Unable to find optional library: org.apache.http.legacy
My settings:

- Change your Build Tools to 23.0.3 and make sure you have installed this version from the SDK Manager.
- Your Package name is invalid (I'm guessing that you know this and just haven't entered in a project name yet).
- Change your Support Lib to 23.2.1 and make sure you have installed the latest Google Support Library from the SDK Manager.
Targ SDK. Min SDK and Compile SDK are fine.
 
R

Reventador

Guest
Still getting this error.
Code:
FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':com.reventador.mygame'.
> Unable to find optional library: org.apache.http.legacy

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
I have done everything listed in that post, have all the SDKs downloaded.
 
P

PlayLight

Guest
Post your Lint Report here. either 'lint-results.html' or 'lint-results.xml'.
Located in your cache directory under '<Project Name>\Android\Default\<Package Name>\build\outputs\'.
 
Top