I already have Eclipse Installed for C/C++ Prgorams. I have the Kepler Service Release 1.
I am planning to learn Android App Development so I need java, so is there a way to install java on this version? I don't want to do it manually like going on the website and downloading another eclipser. Is there a plugin for java?
If so can someone guide me through?
Well it should be same as installing a plugin. So go to install new software menu.
Then select the eclipse update site http://download.eclipse.org/releases/kepler and in the programming languages section select java development tools. You can also search it using the search bar.
The thing that I know You can update it on your current eclipse. Go to help on eclipse and click updates
http://download.eclipse.org/eclipse/updates
But there is a painful problem with update it. If I were you I would either use netbeans or re-install eclipse. Either one is going to be a easier solution than update.
Like the previous answeres say, you should be able to update it. But I made the experience that updating something to eclipse can be really tricky. You will also need the Android stuff. You can download eclipse with the Android SDK here: http://developer.android.com/sdk/index.html?utm_source=weibolife
Related
I'm about to start on "The Big Nerd Ranch Guide to Android Programming". It says to download ADT 21.1 or a version higher than that but literally all I can find is the Android Studio. How much of a difference will that make for me? If you're not familiar with the book its basically a step by step instruction guide on what to do, so I was wondering if getting Android Studio would conflict with that or not. Also I'd be forever in your debt if you could find me a link to ADT 21.1 to put my worries aside. Thanks!
How much of a difference will that make for me?
In terms of the book, most of the instructions that are tied to the IDE will be different. The code is the same, the apps you get from the code is the same, but the IDE itself is fairly different.
If you are an experienced developer, with background on lots of different tools already, you're probably used to this sort of translating instructions for one IDE into another IDE.
I was wondering if getting Android Studio would conflict with that or not
Those steps that are telling you "click this, drag that" and such in the IDE will be done somewhat differently in Android Studio.
I was wondering if getting Android Studio would conflict with that or not
The ADT Bundle is no longer distributed by Google, and I'd be nervous about getting it from some random Web site.
Google does have instructions for installing the ADT plugin itself into an existing Eclipse installation. Those instructions have at least one flaw — you also need to have installed the Android SDK (sans Android Studio) first.
You might also consider just switching to a different book, one that has been published or updated more recently to include Android Studio coverage.
In the interests of full disclosure: I wrote such a book. Just sayin'. :-)
Google has officially shifted support from the Eclipse-based ADT to the IntelliJ IDEA-based Android Studio. While it is a matter of personal preference, you may find that Android Studio is more powerful due to some of its features.
There are some differences in the workflow, but they are not all that massive. Importantly, both support all Android APIs and the full feature set of Java as well as build systems such as Maven and Gradle (the latter being more integrated with IDEA).
Im going to guess that you're using the eclipse IDE for ADT.
Download the ADT Plugin zip file ADT-21.1.0.zip from http://dl.google.com/android/ADT-21.1.0.zip
Start Eclipse, then select Help > Install New Software.
Click Add, in the top-right corner.
In the Add Repository dialog, click Archive.
Select the downloaded ADT-21.1.0.zip file and click OK.
Enter "ADT Plugin" for the name and click OK.
In the Available Software dialog, select the checkbox next to Developer Tools and click Next.
Read and accept the license agreements, then click Finish.
In the next window, you'll see a list of the tools to be downloaded. Click Next.
If you get a security warning saying that the authenticity or validity of the software can't be established, click OK.
When the installation completes, restart Eclipse.
Pulled and Simplified from Update Android ADT Tool to 21.1.0 from 21.0.1.
I've tried building the CSEmptyTemplate project in eclipse for android but have run into a host of issues with it.
Looking at the documentation, it doesn't appear as if it should be this difficult.
Firstly, I've installed cygwin and installed the devel package to get make.exe and gcc compilers. I'm also using cygwin as part of the tool chain.
However, the error I keep getting is 'make: *** No rule to make target `all'. Stop.'.
Any advice on fixing these issues would be appreciated.
edit: Found the make files. I was just an idiot last night when working on this.
There shouldn't be any additional steps required to build Chilli Source for android on windows, just the simple steps listed on the website here: http://chilli-source.chilli-works.com/docs/?page_id=67
However setting up the Android Development Tools with the NDK can be a bit of a pain. Judging by the error your getting my gut feeling is that something isn't set up correctly there.
Chilli Source requires the latest versions of the SDK, NDK and ADT. Can you ensure you have:
Android API level 21.
The latest versions of the Built Tools, Platform Build Tools and Google Play Services.
NDK revision 10c.
The latest ADT is also missing a couple of things that means it can't be used out of the box.
It doesn't come with the native dev tools which can be acquired by doing the following:
Go to "Help" then "Install New Software..."
Select "Android Developer Tools Update Site - https://dl.google.com/android/eclipse". You make have to edit it to instead point to https://dl-ssl.google.com/android/eclipse
In Developer Tools select and install Android Native Development Tools.
It also doesn't come with ant. This isn't causing your issue, but it will cause issues later on, so get it following these steps:
Go to "Help" then "Install New Software..."
Select "Juno - http://download.eclipse.org/releases/juno"
In General Purpose Tools select and install Eclipse Plug-in Development Environment.
Now that you've got everything required, ensure that you've got it set up correctly:
The correct version of the SDK selected the Android tab in preferences.
The correct version of the NDK selected in the Android/NDK tab in preferences.
Android 5.0 selected in the Android tab in Project Properties.
Finally, on windows you also need Cygwin. It's been a while since I've used it (I'm not a fan of cygwin so I do my Android development in a Ubuntu virtual machine) but only the "devel" package is needed iirc, so make sure you've at least got that.
Hopefully ensuring all of that is set up correctly will fix your problem!
I wanted to develop an android app a few months ago, so I followed all the steps from here-> https://developer.android.com/training/basics/firstapp/index.html?hl=p and I believe I downloaded all the tools I needed. I never got around to developing anything, so I tried starting again a few days ago. When I went to the above mentioned website, it said download the new versions of this and that, so I did. I tried following the steps, but now when I try to open eclipse, I get an error saying:
"Error could not find Java SE Runtime Environment".
My questions are:
How do I delete everything and start from scratch? I wan't to delete eclipse, sdk manager, sdk folder, everything. I want to follow the download instructions all over again and see what happens because it did seem to work the first time i tried a few months back.
Do I just delete some programs from control panel?
If this is not easy, how can I fix the error I'm getting when trying to open eclipse?
Edit: windows 7, 64-bit OS, if that helps
That sounds more like a problem of a corrupted Java installation. Check the JAVA_HOME environment variable. If this is empty fix this and try again.
To delete eclipse and the sdk just delete them from where you installed them.
SUGGESTIONS:
0) I assume you're running Windows. Please specify if you're on a different platform.
1) Delete Eclipse.
If you're not using Eclipse for anything else yet, I would strongly encourage you to delete it.
2) Uninstall your Java JDK (from Control Panel).
Download and install the JDK from Oracle: http://java.oracle.com.
3) Download and install the "ADT Bundle for Windows": https://developer.android.com/sdk/
In earlier versions of Android, you had to install Eclipse, the Android Plugins, and the Android SDK separately. I believe this is the procedure your link describes.
The newer "ADT Bundle" saves you this trouble. If Android is the only thing you're using Eclipse for (at least for now), you definitely want the ADT bundle. And you can probably ignore most of the instructions in your link.
'Hope that helps..
I try to develop an App Engine project for Android, but I have bugs again and again. I tried to do 3 tutorials in the last days, but got none of them working...
Tutorial 1: Create App Engine Connected Android Project
When creating an App Engine Connected Android Project, I get the following error in the MainActivity: RegisterActivity cannot be resolved to a type.
When i googled this error, I saw that many people had the same error 1 year ago, but nobody could give a good solution yet. Has google been able to solve this bug yet?..
Tutorial 2:
https://developers.google.com/appengine/docs/java/endpoints/getstarted/backend/create_project
This Tutorial uses Maven. I tried to generate the project with following command, because I am not able to do that with the interactive mode:
"mvn archetype:generate -DgroupId=com.google.appengine.samples.helloendpoints -DartifactId=helloendpoints -DarchetypeArtifactId=appengine-skeleton-archetype -DinteractiveMode=false".
It fails and tells me that the archetype doesn't exist.. (appengine-skeleton-archetype)
Well, I don't know what to do here...
Tutorial 3:
https://cloud.google.com/developers/articles/how-to-build-mobile-app-with-app-engine-backend-tutorial
At "Modify the Client Application", when I replace the Code from MainActivity01, I get errors like "CloudEndpointUtils cannot be resolved", because in the MobileAssistant src folder the class CloudEndpointUtils was not created!
Conclusion: Seems like most of the documentation is not up-to-date and the google plugins are pretty bugged... Maybe somebody knows how to solve those errors?
Is there any Tutorial, which is up-to-date and, which shows how to build an easy application for android with appengine and which WORKS? I would like to complete just ANY tutorial and have a stable basic project...
The documentation does work, so the problems may lie in the configuration of your tools. You show considerable persistence, so consider switching to a new installation of tools (Eclipse or whatever). Also prove your tools by building and deploying simpler AppEngine-only projects first before aiming higher for Android-to-AppEngine projects.
Well, actually I had reinstalled eclipse several times because of those and other bugs.. But I think I had installed it correctly with the latest plugins...
Now, to be sure that I install it definitely correctly, I have completely formatted my computer (reinstall windows 8.1)
So, in order to be sure that I do everything absolute correctly, which of the following possible ways to install the whole eclipse setup is better?
Install eclipse kepler WITHOUT ADT. Then install all the ADT-plugins and google-plugins, and then install everything necessary from android SDK manager.
Install ADT Bundle (comes with eclipse juno atm and is version 22.3). Then install google-plugins and update ADT-plugins from 22.3 to 22.6.1. Then install everything necessary from android SDK manager.
I know this shouldn't make a real difference, but I have done that often enough and I still had errors. This time I want to be sure to do it completely right!
I have gone through the Android guide for other IDEs, and I've got the basic build and install working fine using ant and a simple Emacs compile command. I'm aware of some of the existing tools for developing Java and XML in Emacs. I've also seen the EmacsWiki page recommending two Emacs packages, EmDroid and android-mode
I'd like to hear what people recommend, in terms of Emacs packages, small functions, or just workflows.
As a side note, I have decent familiarity with Eclipse, and I did setup the ADT plugin. However, emacs is my primary editor, and I'd like to see how I can use it here.
I too use Emacs for my Android development.
Although I do not use any Emacs packages for it.
Simply write in Emacs and then from a terminal use the android-sdk (ant, android, keytool, jarsigner, adb).
You can always use M-x compile from within Emacs, but I usually prefer a plain old bash shell for Android.
Sorry my work flow isn't really exciting.
Currently android-mode.el is in better shape, plus you can easily fork it to add your own submissions to the developers over Github.
Both of the modes are pretty basic however, and just give you a set of functions to call the various Android development tools.
You are probably aware of jde and ant-mode.el - if you're not, I've just mentioned them.
They'll help you with the general Java / Ant support you'll need for Android SDK development.
You can try Android-emacs-toolkit. http://code.google.com/p/android-emacs-toolkit/
Android-emacs-toolkit helps to build android development environment on emacs. It contains a emacs major mode which help to develop android sdk and ndk program.
It provides support for create new avd, launch avd, create new android project, build and rebuild Android sdk project, build and rebuild Android ndk project, install and uninstall apk, run executable ndk project, output emulator log on emacs.
This toolkit tested on WindowsXP/7, Ubuntu11 with android-sdk and android-ndk-r7.
For building Android itself (ie. AOSP, CyanogenMod...), look in the $(TOP)/development/ide/emacs directory. ATM, you'll find android-common.el, android-compile.el and android-host.el.
These can be used to make modules/packages inside Emacs, replacing commands like mm and mmp.