Java eclipse run android project - java

im starting developing android applications and i learned from a Hello World tutorial. but when im running it this comes to the screen
Launch configuration ANSIBuffer references non-existing project Basic.
Please, help me and tell how i can run a android application.
Thanks

I would recommend downloading the official adt (android development tools) plugin for eclipse. You can find instructions on how to do that here: http://developer.android.com/sdk/eclipse-adt.html you need to make sure that you have the most recent version of android sdk installed before you do that. Instructions on how to install that are here (this includes a eclipse tutorial): http://developer.android.com/sdk/installing.html
I believe that that is all you need. Just ask if you need more help!

I did a guide once for a course, but it is in spanish:
http://otfusion.org/android/ (look for day 2)
But basically the guide is this:
Download JDK from here: Java SE - Oracle
Download Android SDK (.zip format, just unzip it in C:\android-sdk or if you are in *nix /home/user/android-sdk) from here: Android SDK - Developer Guide
Start ~android-sdk/tools/android and download your desired android target (eclair, donut, honeycomb, etc)
Download Eclipse for Java Developers* (as far I know, the latest eclipse WORKS on my notebook) from here: Eclipse - Indigo
Install eclipse in a readable/writable location like /home/user/bin or /opt/eclipse but give permission to the file - chown -r user:users /opt/eclipse (in Windows you must not have problems) otherwhise you will have problems.
Install ADT Plugin just add this site in Eclipse "Add Software" option (Help menu) https://dl-ssl.google.com/android/eclipse/
Restart Eclipse
Start one AVD and initiate your project using the Run button (As Android project) or whatever hotkey you use.
Also, Installing guide from developer.android.com Troubleshooting
*Note: Classic didn't work for me

Related

How to set eclipse for android development?

I just downloaded java JDK 8 and set the environment variables for JDK and JRE, downloaded android SDK extracted them directly to C: (there were no platform tools so I used the command line to download them) and also set the environment variables. And I downloaded eclipse oxygen and I installed new software for ADT Plugin. When I set preferences I referred to the SDK folder and hit apply but nothing seems to happen like no SDK targets are listed. Hhuhuhuhuhuhuhu T^T I have deleted everything from Java, SDK, eclipse and downloaded them all again while disabling my antivirus but that didn't fix it. I also cant open my Android SDK Manager using eclipse, like it shows that it's loading but after that nothing happens even if I wait for 10 mins nothing shows up on screen, not even the command line that seems to just flash briefly which is what most people are having problems with when I search google. Can someone please tell me what to do?? I'm mainly using eclipse for android projects in school
By the end of 2015, Google ended the development and official support for the Android Developer Tools (ADT) in Eclipse.
As stated by Google, every app development project should be migrated to Android Studio.
So you should migrate your eclipse project to android studio.

android development tool error in eclipse kepler and windows 8.1

I tried to install adt 23.3.0 in Eclipse Kepler, but I have a problem. I tried every thing such as run as administrator or uncheck contact all update sites ... But I still have the same problem. I use Windows 8.1 and the error is:
Cannot complete the install because one or more required items could not be found.
Software being installed: Android Development Tools 22.3.0.v201310242005-887826
(com.android.ide.eclipse.adt.feature.group 22.3.0.v201310242005-887826)
Missing requirement: Android Development Tools 22.3.0.v201310242005-887826
(com.android.ide.eclipse.adt.feature.group 22.3.0.v201310242005-887826) requires 'org.eclipse.wst.sse.core 0.0.0' but it could not be found
I'm not exactly positive about this but since this question has received very little attention I figured any answer is better than no answer.
From what my understanding it is done differently in Eclipse Juno which you do from within Eclipse.
Instead you have to download the Android SDK separately and then set the SDK path in preferences...
window>preferences>Android>sdk location.
Make sure to create a folder in the same directory as Eclipse so Eclipse can easily locate the sdk. Hopefully this helps

Errors while setting up LibGDX on Eclipse

I have been trying to setup LibGDX on Eclipse (4.3). I followed the instructions here: https://github.com/libgdx/libgdx/wiki/Prerequisites and installed both ADT plugin for Eclipse and the Google Web toolkit successfully. Then I used the libgdx-ui.exe to create the libGDX project and on creating it, I see errors in Eclipse.
I am pretty sure I have installed the plugins properly and I have JDK 7 as well.
Any help would be greatly appreciated.
Thanks :)
It seems I have not installed the GWT plugins properly. But on trying to install it from the link, the option to install the SDK does not appear in the list.(Please check the image in the last comment I posted).
1) Android requires (before kitkat) jdk 6. It won't work with jdk 7.
2) After installing ADT plugin, you also have to open android sdk manager and download required api files.
These two should fix your android and java.lang.Object issues. It's better to test an android app on this setup (without libgdx) first.
3) Right click on all warnings regarding classpath entries, eclipse will provide you automatic quick fixes.
If the issue stays after this, the problem is with gwt sdk installation. Now you can follow The project XXX does not have any GWT SDKs on its build path. It should work smoothly as other problems won't interfere with it now.
Hope this helps.

Android SDK Config on Linux Prior to Eclipse/ADT Install?

I read Lars Vogel's Android Development tutorial and then headed directly to the Android SDK download page.
I already have the Eclipse Java EE IDE (Juno; 4.2) installed, and would like to only install the Android SDK and then the ADT Eclipse plugin so I can start working from my existing Eclipse instance. As such, I downloaded the 64-bit linux (I'm on Ubuntu) "SDK Only" .tgz and extracted it to the my ~/sandbox/android-sdk directory.
Before I go and install the ADT Plugin, are there any "setup"/config steps with the SDK that I need to do ahead of time? If so, what? I'm even interested in optional tuning here. I only ask because the article referenced above is targeted at Windows users, and so are most of the other tutorials I've found. I'm worried that there might be some out-of-the-box functionality that the Windows SDK provides that must be dealt with manually for us Linux denizens. Thanks in advance!
From my experience, I believe the answer is no, there is nothing else you need to do before installing the ADT Plugin. If you wanted, you could open the SDK manager from ~/sandbox/android-sdk/tools/android and install some of the SDKs, but there's no reason you can't just do that from Eclipse after you install ADT.

Unable to find Android SDK location for setting preference Eclipse

To start Android Development I installed..
JDK 7
Downloaded and installed Eclipse in E:/ Drive on Windows 7
Then following the steps, installed Android ADT using Eclipse.
Everything fine till now but on trying to set preference its not accepting any folder.
On looking other suggestions online i founded that there is some setup a C:\Program Files\Android\android-sdk but no such folder in my case.
Is my android-sdk in E:/ Drive instead of C:/
I just got a folder (after ADT installation) :
E:\Software\JAVA Tools\eclipse-mobile-juno-SR2-win32-x86_64\eclipse\plugins\com.android.ide.eclipse.adt.package_21.1.0.v201302060044-569685
i can't find any 'tools' folder even (as eclipse preference requires)
Don't know what to do. Please suggest me something
Hello please follow the simple steps to install eclipse and Android SDK there is an ADT-bundle so it consists of all like
1) Eclipse where u no need to install
2) Android SDK ,
3) ADT Plugins
So u simply Click on eclipse it will load automatically all like Android SDK and ADT plugins. So please follow the link to download the adt-bundle.
Note : Before that please install JDK .
My friend, who will install ANDROID SDK? It neither comes with JDK or Eclipse. Please go through these for proper setup link1, link2

Categories

Resources