What are Steps to grab the samples from AndEngine Repository - android

I had tried to grab the samples of AndEngine using Mercurial eclipse plugins, but that was firing some sort of error to me again and again. So, can someone please let me know what could be the easiest way to get the AndEngine examples or samples from the repository. I am working on Windows.
Thanks.

Update:
Change the Mercurial client from the built in one to TortoiseHG (in the Eclipse preferences).
Previous Answer:
Plan A: Make sure to use native Mercurial with EclipseHG (not the one which ships with the plugin). You can find the settings the preferences dialog. Last time I tried, the built-in version was broken. If it fails again, copy and paste the error message.
Plan B: Try TortoiseHG
Plan C: Give us a concrete error message. (Which should actually be Plan A ;) )

You download the zip from https://github.com/nicolasgramlich/AndEngineExamples

Related

Best way of version control, stable builds and exporting/ a project on multiple devices

today it's a shorter question I'd like to ask, to hear your opinions as I suppose some do this differently than others.
First of all,, I have an Android Studio project and am rather a novice on this subject of Android Development. That's why slight changes in the java or xml files could and did make my latest app unstable/ crashing.
Therefore I was asking myself wether Android Studio offers a way to backup stable builds - I could imagine this like a save-as option where you backup the working version and continue working on the the one but have a stable one backed up.
I know there's the export project function but I tried it out a couple of times and having worked on a project on the same device before, prior to reimporting a project causes an error and that's not the way I guess you should handle it in this situation.
I was looking at Google Cloud for using both version control and the option to commit new versions to the trunk and update them at a different location (different device). If that's the solution you propose, I need to look more closely into the documentation to get it up and running (set up the repository already but no clue how to commit changes/ versions).
So, long story short, what tool/ option do you prefer to have an export and a version control option unified for Android Studio?
Interested to hear and thankful for any advice on that!
There are multiple solutions,
Just find your solution/project in your file explorer and back it up, if you need it again just open the project with Android Studio. (not the most popular one)
Use a version control system like git. Link to tutorial (This is the most popular one), If u are unfamiliar with git, just google it and there are tons of examples and documentation. With git you can tag commits and after u mess up revert to the tagged commit
Git is the simpliest.
It's supported by AndroidStudio and later on you can upload your project to GitHub to access it from anywhere.
You can use it with terminal and shorcut keys, incons as well.
You also can make separate branches in order to make and test more versions parallely.
For more info take a look at: https://git-scm.com/about
and of course github: https://github.com/
Regards,
Cs

LibGDX won't upload libraries and create project (Windows 8)

I have the next issue. Searched in the web but have not found if someone else has the same problem.
I've downloaded stable release version of LibGDX from official website.
For some reasons when I launch it and click to create project it shows me only one choice to download LibGDX library (in the required row). It does not offer me to download any of Third-party libraries like "Physics Body Editor loader" or "Universal Tween Engine". And even if I click to download stable or nightly version of LibGDX library, program does not manage that. (Image applied on the link below)!
https://www.dropbox.com/s/144mnevk8rh883p/Untitled.png
Probably I am following this guide on how to create android game. http://www.kilobolt.com/day-2-setting-up-libgdx.html And there is no such an issue as I have. I was working previously on projects using Intellij Idea and Eclipse for Android. So I certainly have installed SDK manager and JDK on my computer. I have no idea why LibGDX won't update libraries and even won't allow me to create project.
I will very appreciate for your help! Thank you!
LibGDX requires to change Name, Package, Game Class and Destination of your Projects first. After completing these steps, all libraries will be downloaded like a charm.
Another thing is that for the first time Third-Party libraries may not appear (for example Tween Engine). But for the second project they appeared for me.
I spent about 2hrs with same issue.
This works finally:
Copy gdx-setup-ui.jar to any drive/folder (I placed it in D: drive)
Open command prompt (Start -> search: cmd)
type D: after C:\Users\xyz> ...enter
D:>gdx-setup-ui.jar ....enter
Now enter your name,package name... rest details
Then download libGDX, Universal Engine, Physics Body Editor loader.
Open Generation Screen -> Launch
DONE

Eclipse compare project with local history not available?

I was looking for an easy way to backup an android project in eclipse and found this question: Android is there a easy way to back up your android project? the selected answer states that "You can also revert to a previous version if you are using Eclipse. Eclipse has this nice functionality called Local history that allows it. Right click on a file and use "compare with..." -> "Local History"."
However when I right click on the project and click compare with I only see the diabled option "Each other"
I checked Preferences > General > Workspace > Local History but everything seems ok.
Why isn't Eclipse backing up my project? What do I do to enable the option compare with local history?
EDIT I was clicking on the project folder and realised this function only works for individual files, what I am looking for is to restore the entire project. Is it possible to enable this on Eclipse?
Nope, it just does it file per file. Eclipse is not meant to be used as a version control mechanism. Notice that even though that's the "accepted" answer, it has only one upvote. The one with more upvotes is what you're looking for in this case. Just invest a little time to use a real Version control mechanism (like Git).
Also, Eclipse would not really "back up" anything, since everything would still be local and if your hard drive crashed, everything would be bye bye anyway.
Are you against an SVN? I use Subversive and it seems to work fine for backing up/creating new projects and updates/restoring to older versions if necessary. You can set up a repository on a separate web server or on a local file server. You can get local history but I don't believe this is very reliable. I would use regualar backups or set up an SVN. Once you get it set up and install the plug-ins, it works pretty well.

Is it possible to use the templates from the commandline?

So in ADT 20 or so, there was introduced a new function to the Android Eclipse plugin, to have code templates you can use, initiated via a Wizard. I'm curious if there's any way to use those from the command line, or if I'm going to have to write my own thing to do that.
What I've gathered so far is they're FreeMarker templates, with some XML metadata to help the Wizard along.
Thanks for your time.

Eclipse Juno Install Dependencies (Offline Solution)

Good day guys
I have this kind of problem from my Eclipes Juno
I can't create a new android project because of this one
and i found several topics about this problem
but almost of the answers was pointing into two solutions
"Uninstall the support library from the Android SDK manager"
"have an internet connection and update online"
and i have two problems too...
first, i don't have internet connection in our home
Second, "i don't have it" (Support Library)
This is my android SDK
as you can see I have no Support Library so notting to uninstall
maybe you'll be confused "where did i get that platforms if as i said i have no internet connection in our home"
well i've manually downloaded all of it and manually extracted to my "plaform" directory....
i have encountered some errors before like this one
and luckly i was able to solve it using just manual downloading and extracting (a little workarounds)
but this one seems to be one of the hardest to me for now...
I keep browsing the web for finding such a "support library.zip" so that all i have to do is extract that one to its respective directory
and a step by step to where do i extract it... but sadly i found nothing...
i im thinking of some posible solutions
and maybe i need a help of a person who has a good running Eclipse Juno
make a request like " can you zip your support library folder from your SDK and upload it here"
and a simple "path" to what directory do i have to extract it.
whatever it maybe...
ill just trying every single workarounds just to solve it "offline"
i know online solution is less hassle and just a little clicks and problem solved,
but did you know how it happened?
do you know what eclipse or SDK did to solve that?
that's the reason why i want it offline just for me to understand every bit of it...
i want to solve it Offline...
Thank you in advance.....
you can go to download ADT-20.0.0.zip ,Install it and then restart Eclipse.
because Google is 2.2 and the earlier version to official library, support many 3.0 and higher version of the function, in the new construction time, the default will give you add libs folders and android - support - v4. Jar。
I also can be directly sent to you ADT-20.0.0.zip。please tell me your E-mail!

Categories

Resources