Dar13/COP4331Project

Issues configuring Android Studio to build project

Closed this issue · 12 comments

There may be issues getting Android Studio to build the project. There was quite a bit of fiddling I had to do to get the project to compile, but I don't know if all the changes were in project code. Let me know if you have any issues building/running the project.

This seems to have been generated with an old version of libgdx, which seems to use an older version of Gradle. This would not normally be that big a deal, but Gradle (along with Android Studio and all of the Android APIs) recently underwent a pretty serious rewrite, making some serious headaches with older projects. In short, I think the best course of action is to nuke the whole thing from orbit (just to be sure... heh) and then reupload a new one created with the latest version.

As for the libGDX -- I am pretty sure we can package them up in the project file and then configure Gradle to take care of the dependencies (we DON'T want the Idea config files in the repo, for obvious reasons), but then we would need to take .jar out of the git ignore (they are all .jars). Alternatively, we could just not worry about it and manually re-add the dependencies through Android Studio after cloning the repo.

Well that is sad to hear so i will upgrade and try it again then with the
latest version.

On Sat, Jan 24, 2015 at 8:01 PM, raleesound notifications@github.com
wrote:

This seems to have been generated with an old version of libgdx, which
seems to use an older version of Gradle. This would not normally be that
big a deal, but Gradle (along with Android Studio and all of the Android
APIs) recently underwent a pretty serious rewrite, making some serious
headaches with older projects. In short, I think the best course of action
is to nuke the whole thing from orbit (just to be sure... heh) and then
reupload a new one created with the latest version.


Reply to this email directly or view it on GitHub
#1 (comment).

We may not have to do that. Let me see if the changes I've made pull in the newest libGDX libraries. If we have to redo the project, we just have to make sure to delete everything and commit and then add the new project to the repository.

I'll just nuke the repository now. Make sure you 'git pull' before doing anything further otherwise you'll have to do a merge.

got it and will do

On Sat, Jan 24, 2015 at 10:15 PM, Neil Moore notifications@github.com
wrote:

I'll just nuke the repository now. Make sure you 'git pull' before doing
anything further otherwise you'll have to do a merge.


Reply to this email directly or view it on GitHub
#1 (comment).

I re uploaded it and it should work for you guys now. Let me know it does
or does not.

On Sat, Jan 24, 2015 at 10:38 PM, James Vinson vinsonjames02@gmail.com
wrote:

got it and will do

On Sat, Jan 24, 2015 at 10:15 PM, Neil Moore notifications@github.com
wrote:

I'll just nuke the repository now. Make sure you 'git pull' before doing
anything further otherwise you'll have to do a merge.


Reply to this email directly or view it on GitHub
#1 (comment).

libGDX - Running and Debugging in Intellij IDEA
https://www.youtube.com/watch?v=CXO0aT6rXTQ

On Sun, Jan 25, 2015 at 4:15 PM, James Vinson vinsonjames02@gmail.com
wrote:

I re uploaded it and it should work for you guys now. Let me know it does
or does not.

On Sat, Jan 24, 2015 at 10:38 PM, James Vinson vinsonjames02@gmail.com
wrote:

got it and will do

On Sat, Jan 24, 2015 at 10:15 PM, Neil Moore notifications@github.com
wrote:

I'll just nuke the repository now. Make sure you 'git pull' before doing
anything further otherwise you'll have to do a merge.


Reply to this email directly or view it on GitHub
#1 (comment)
.

Pulled, just have to try it out. I'll do it tonight or tomorrow before the meeting.

what time are we meeting again?

On Sun, Jan 25, 2015 at 9:06 PM, Neil Moore notifications@github.com
wrote:

Pulled, just have to try it out. I'll do it tonight or tomorrow before the
meeting.


Reply to this email directly or view it on GitHub
#1 (comment).

Tomorrow at 6 PM.

On 1/25/2015 10:43 PM, Bioninja01 wrote:

what time are we meeting again?

On Sun, Jan 25, 2015 at 9:06 PM, Neil Moore notifications@github.com
wrote:

Pulled, just have to try it out. I'll do it tonight or tomorrow before
the
meeting.


Reply to this email directly or view it on GitHub
#1 (comment).


Reply to this email directly or view it on GitHub
#1 (comment).

Tested on Windows 7 Home Premium with Android Studio 1.0.2. Builds and runs successfully. Going to close this issue if no one else has any issues in the next 24 hours.

No one's commented on this, so I'm gonna close the issue. Before assuming the project is broken, make sure to run Tools->Android->Sync Project with Gradle Files (or something like that, it's "Sync ...").