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
Related
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
I have downloaded all documentation with SDK manager help. But how can I open this documentation and the samples of code in Android Studio after downloading?
According to Android Studio Tips and Tricks, you can press Ctrl+Q to show docs for selected API under Windows or F1 under Mac.
For the samples , you can use eclipse to export to Android Studio.
First you need to make sure the documentation is added to Android Studio.
Go to File -> Project Structure. Under the Platform Settings heading, add or select an Android Platform. Go to the Documentation Paths tab and make sure the path to your SDK's documenation folder is added there - it should be [SDK]\docs\reference, where [SDK] is the full path to your SDK installation. If it is not there add it manually.
Once this is done, use Ctrl+F1 while your cursor is on the item you want to display help for.
The samples have not been ported to Android Studio yet, but I'm sure google will get around to it at some point. For now follow the instructions in the comments by androidika (you will need a copy of Eclipse installed).
In Android Studio you need to download javadoc dependency which is part of sdk.
If you enable documentation to appear while writing code in android studio by navigating to
File-> Settings-> Editor-> General-> Other
and
selecting(check box) Show Quick documentation on mouse move, you would get irritating after some time because it will come out automatically you when you would be writing code.
So, I think we should go to alternative ways by using Ctrl + Q(on Ubuntu at least I am not sure of other environments). This way when you would feel help you can simply use the simple command.
I was trying to find this setting in the latest build of android studio, and after wasting a lot of time I finally found out that now the ide automatically finds the documentation, which can be opened with shift+f1 on a method.
Now a days once you Import project in Android studio, it will automatically shows docs. But on mouse hover you want to expand it.
Docs hover page was simply resized very short like the above, it looks like docs is not avail. But when I Carefully moving the mouse down to the bottom of the hover page allowed me to resize it.
I want to use Infragistics controls in my android application which i am creating in Eclipse IDE. But i cannot find a way to integrate these controls with eclipse. I have downloaded the file named NetAdvantage from
http://www.infragistics.com/products/android/
But I cannot find a way to use it in my project. When I try to install it, it installs it for Visual Studio. Can anybody please tell me some way as my application is in java not in C# or VB.NET
I assume that you are referring to the IGUANA UI toolset? In this case I suggest choosing the "Iguana UI 2012 Complete Bundle" download option on the IG Website.
IGUANA UI actually does not require installation - the toolset as well as the documentation and product samples (including sample source code) are all available in the downloaded zip.
Please let me know if this helps.
I have download a set of android source code, which has folders such as "bionic, bootable, build, dalvik, development, frameworks, hadware, packages, prebuilt" and so on. When I browse the whole code, wonder how "import android.preference.PreferenceActivity;" works in Settings.java(D:\android-srce\Google-source\packages\apps\Settings\src\com\android\settings\Settings.java). I guess there is a android.jar file somewhere after compilation. But how does Settings.java import PreferenceActivity correctly?? I'm a beginner in Android, please help me.
Sounds like you have downloaded the source code to the Android OS. If you want to build your own ROMS then you need to study about building the OS for a particular hardware platform. This is not trivial.
If you want to build an Android app that runs on an Android device then you want to download the SDK instead - start at Android SDK and follow your nose, buy a book, read the sample code.
There is not a lot of information how to change parts of Android. However, you can read information that is connected with the aosp tag. The first cite is source.android.com After the installation of android build system you can see video from marakana group. You'll find a lot of valuable information there.
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