So I went to sleep, woke up and now it seems to be ok.
However, I require help because I just can’t get anything to work that involves gradle first time and it’s really putting me off even remotely doing anything.
So firstly:
- Any Gradle project I try to import can’t find android SDK
Any project I try to import can not find the android SDK, despite it being set as a home variable. The only way I can get around it is my editing the local.properties file of any project before importing it. Is there some syntax I need to add to the home variable? Never had this problem before.
- Never, ever, have I managed to import or get the Facebook SDK working
I just can’t ever get it working, error after error, hour after hour of working through one to another. I can’t simply download it and import it has Gradle project, then link it as library to my given project.
I actually need the Facebook SDK as require some sort of social extension, a simple chat does not count. Rather than having to code a server, a friend system and a chat system it should
be easier to use Facebook.
So right now, the Facebook import process is throwing me this error:
http://s26.postimg.org/akbtzu9u1/missing_project.png
My limited knowledge tells me that the gradle.build file is trying to compile something that simply does not exist? But I can’t find anything related to it.
P.S How badly do I need to learn Gradle in order to just do basic project setup and integration?
- Every project I make demands latest android API
No idea why it is doing this, but when I manually imported Facebook without Gradle (which never worked btw, tons of errors beyond my fixing ability), it refused to use any version of Java below 7 and only allowed me to use API 23. Or it would throw an error about not being able to find required android classes.
LibGDX projects are doing the same, can’t change it from API 23, even if I specify the target to 15, with a min of 14 and a max of 22. Freaks out and refuses to launch, only gives me an error saying Java 7 needs at least kitkat 4.4 to run, if I change to Java 6 it starts spaffing about not being compatible with any android api lol.
Lost and confused, worried and feel utterly stupid.