• 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 android support v4 24.0.2 missing

W

Wal

Guest
Hello ,

I'm having this compile error since a few days and can't fix it ( SDK seems up to date )

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':com.onebit.dunedash'.
> A problem occurred configuring project ':facebook'.
> Could not resolve all dependencies for configuration ':facebook:_debugCompile'.
> Could not find com.android.support:support-v4:24.0.2.
Searched in the following locations:
https://jcenter.bintray.com/com/android/support/support-v4/24.0.2/support-v4-24.0.2.pom
https://jcenter.bintray.com/com/android/support/support-v4/24.0.2/support-v4-24.0.2.jar
file:/C:/android-sdk/extras/android/m2repository/com/android/support/support-v4/24.0.2/support-v4-24.0.2.pom
file:/C:/android-sdk/extras/android/m2repository/com/android/support/support-v4/24.0.2/support-v4-24.0.2.jar
file:/C:/android-sdk/extras/google/m2repository/com/android/support/support-v4/24.0.2/support-v4-24.0.2.pom
file:/C:/android-sdk/extras/google/m2repository/com/android/support/support-v4/24.0.2/support-v4-24.0.2.jar
Required by:
:facebook:unspecified

Thing is , I don't know how to install this support v4 24.0.2 as it doesn't appear in the Android SDK manager .

I have all the stuff written by PlayLight in this thread https://forum.yoyogames.com/index.p...ng-libyoyo-so-no-such-file-or-directory.5544/

Am stuck here ... Thanks for your help !
 
W

Wal

Guest
@FrostyCat : you answered me few days ago telling me to update my Android Support Repository and I told you it was up to date , and now I have version 38 following PlayLight recommendations + YY help desk .

Not sure why you're always thinking I haven't done my homework before I post on the forum .

Plus this is the article where it is mentionned what is needed : http://help.yoyogames.com/hc/en-us/articles/216753748-SDK-Version-Support

What is missing is the folder 24.0.2 in C:\android-sdk\extras\android\m2repository\com\android\support\support-v4 , I have 24.0.0-Beta1 then 24.1.0 up to 24.2.1 , no sign of 24.0.2 .

So the 24.0.2 wasn't installed and I don't know how to do it . There's no way of doing this in the SDK manager . Not sure if I have to do it manually and how would I do this .
 
R

renex

Guest
I recall seeing some of the required libraries listed as obsolete on the sdk manager, so check for that.
 
P

PlayLight

Guest
Hello ,

I'm having this compile error since a few days and can't fix it ( SDK seems up to date )

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':com.onebit.dunedash'.
> A problem occurred configuring project ':facebook'.
> Could not resolve all dependencies for configuration ':facebook:_debugCompile'.
> Could not find com.android.support:support-v4:24.0.2.
Searched in the following locations:
https://jcenter.bintray.com/com/android/support/support-v4/24.0.2/support-v4-24.0.2.pom
https://jcenter.bintray.com/com/android/support/support-v4/24.0.2/support-v4-24.0.2.jar
file:/C:/android-sdk/extras/android/m2repository/com/android/support/support-v4/24.0.2/support-v4-24.0.2.pom
file:/C:/android-sdk/extras/android/m2repository/com/android/support/support-v4/24.0.2/support-v4-24.0.2.jar
file:/C:/android-sdk/extras/google/m2repository/com/android/support/support-v4/24.0.2/support-v4-24.0.2.pom
file:/C:/android-sdk/extras/google/m2repository/com/android/support/support-v4/24.0.2/support-v4-24.0.2.jar
Required by:
:facebook:unspecified

Thing is , I don't know how to install this support v4 24.0.2 as it doesn't appear in the Android SDK manager .

I have all the stuff written by PlayLight in this thread https://forum.yoyogames.com/index.p...ng-libyoyo-so-no-such-file-or-directory.5544/

Am stuck here ... Thanks for your help !
The support lib is now bundled with the Android Support Repo, hence why you can't see the support lib under Extras anymore in your SDK Manager.
You can keep up to date with the Android Support Library here.

But the main error you have is 'Could not find com.android.support:support-v4:24.0.2' and there is no Support lib 24.0.2.( there's Build Tools 24.0.2 ;) )
Can you check your GM:S build settings (GLOBAL GAME SETTINGS >> ANDROID TAB >> GENERAL)
and make sure your build tools is 24.0.2 and your support lib is 24.2.1.
You may have mixed these two up.
 
W

Wal

Guest
PlayLight thanks a lot for helping .

I've already checked the Android Support Library on the Android Developers site https://developer.android.com/topic/libraries/support-library/revisions.html?hl=in

And I checked for obsolete libraries in the SDK manager .

You can see that there's no Support lib 24.0.2 indeed so why it's appearing in the log ?? I mean that's the problem .

I've checked lots of times , I 've never mixed up build tools ( 24.0.2 ) with support lib ( 24.2.1 ) ... That's so weird . Both are installed btw so everything should work fine ..

Note that it's the Facebook extension that is asking for this nonexistent support lib .

Still can't build for Android ( normal and YYC )
 
P

PlayLight

Guest
PlayLight thanks a lot for helping .

I've already checked the Android Support Library on the Android Developers site https://developer.android.com/topic/libraries/support-library/revisions.html?hl=in

And I checked for obsolete libraries in the SDK manager .

You can see that there's no Support lib 24.0.2 indeed so why it's appearing in the log ?? I mean that's the problem .

I've checked lots of times , I 've never mixed up build tools ( 24.0.2 ) with support lib ( 24.2.1 ) ... That's so weird . Both are installed btw so everything should work fine ..

Note that it's the Facebook extension that is asking for this nonexistent support lib .

Still can't build for Android ( normal and YYC )
Hey @Wal,
Can i get you to post a screenshot of your GM:S project build setting (GLOBAL GAME SETTINGS >> ANDROID TAB >> GENERAL)
and the version number and dependency injections of your Facebook extension?
sorry to be a pain but it will help me pin point the issue quickly.
 
V

vinceprinceking

Guest
In SDK try TOOLS->OPTIONS->CLEAR CACHE then PACKAGES->RELOAD.
If that doesn't help just uninstall all tools & Extras then clear cache again and reload, as long as you let the API installed it shouldn't take too long to reinstall.
Also check if you have the newest SDK, i struggled with an older version of SDK i got somewhere in the internet. With the newest SDK directly from google i got it to work.
 
W

Wal

Guest
@PlayLight : sorry for the delay , here are the screenshots

Android Setup.jpg Android Setup 2.jpg Extensions.jpg

I just blackened out the Package name btw

Edit :

Ok build now actually works don't ask me how and why ... No more problem with Facebook asking for a non-existing library !

BUT game crashes just after the splash screen . If I use EA , build works and doesn't crash ( note that I have to enable Bluetooth otherwise it crashes also with EA )

YYC is still another story ( still not working )

Thing is , I always get to solutions but after weeks of struggling and without knowing what was the issue ...
 
Last edited by a moderator:
Top