Android emulator can't able to load the application - java

I'm a newbie to android and was trying out an imported android application to integrate with an third party web services but it didn't worked out well and since then I'm not able to run any of the application I had in my eclipse workspace nor I see the application installed in the menu list of emulator. I tried setting up everything from scratch (ADK) but it didn't worked so can anybody suggest any solution for this.
Thanks in advance

ya it is very complex to setup Eclipse & plugins Android SDK & ADT i think this will help you out

We had the same problem with our app. The App Dev Room app required us to install the ADT plugin to Eclipse before it would function correctly.

Related

I can not create an apk on my eclipse

So I am trying to create an apk via eclipse for a small app I created (one of my first) but after going through several tutorials I can't find the android option which is suppose to present in Export. My Eclipse version is Mars.2 Release (4.5.2). I am using Eclipse IDE for Java Developers.
You have to install the sdk first. It's not included in eclipse.
How to setup eclipse for android app development
A personal recommendation:
Use Android Studio, you will have to get used to it but after 3 months I prefer it over eclipse. Also you should consider it since google stopped supporting Eclipse. android studio is the official android IDE

No Android project type available in Eclipse->File->New-Project

I have installed latest JDK and ADT bundle package (I'm working under Windows 7, 32 bits OS)
I installed all the possibly needed packages in ADT Manager.
I defined ADT location in Eclipse->Window->Preferences->Android
But I still have no option to start File->New->Project->Android->Android Project or
File->New->Other->Android Project
I have many other options like:
Android Activity
Android Application Project
Android Icon Set
Android Object
Android Project from Existing Code
Android Sample Project
Android test Project
etc..
But all these are not what I need.
I already looked on existing questions here like No Android project type in Eclipse->File->New-Project and others and also on several similar questions on other forums but still did not found an answer for my problem.
You have Android Application Project. What exactly do you think Android Project is? You are trying to create an applicaiton, correct? Then Android Application Project is what you want.
There is no "Android Project" option. In fact, I've never seen it. Basically, you have the following:
Android Activity - you just want to create an activity
Android Application Project - This creates a complete android application project to create an application that you can install and launch on an android device.
Android Project from Existing Code - import existing code into an Android Project
There are many more as you found out. But, most of the time, you would use Android Application Project.
You don't really specify what it is you are looking at creating specifically, so I'm going to assume this is what you want.
If you could give more information as to exactly what you think "Android Project" is for and what you are trying to accomplish with it, that would help.
Per the ADT tutorial site, they have the instructions on creating an Android Project, which is generic. There are numerous types of Android Project, with the Android Application Project being one of them. Not sure if this is where you are getting the name "Android Project" from or not. Here is the link: http://developer.android.com/training/basics/firstapp/creating-project.html
Everything you state at this point shows you have installed ADT correctly and it's integrated properly with Eclipse.

How do you install android apps on an android device from windows 8?

I have created a game using libgdx and would like to test the game on my android phone. I have done my research but there seems to be no information on installing android apps when running windows 8. More specifically: http://developer.android.com/tools/extras/oem-usb.html there is no way to get around this part of the installation process on windows 8. As well as there is no documentation or information about installing android apps in the libgdx documentation from what i could find. if anyone could offer any insight that would be great. thanks again
All you need is the apk file. Go into the android project section of the libgdx project and click the bin folder. there should be an apk file in there that you can send to you phone any way you want to. Then you can install the file on the phone directly. You can also look into the usb tool that you posted and find the correct one for your specific phone and then you could just run it in eclipse if you have the android sdk installed.

which version of Eclipse I should use for Android Development

I am almost confused about these versions of Eclipse. There are indigo and Kepler which can be downloaded from Eclipse website. Another thing is, when I download the ADT inside its folder there is another executable file for Eclipse that when you execute it, a different logo than the previously mentioned versions appears with title Android Development Tools, is it also another version of Eclipse?
which one should I use? Or it is all about user preference?
You do not have to download Eclipse and Android SDK separately.Simply download the ADT bundle. It will have Eclipse, Android SDK, SDK manager to download APIs for various versions of android, USB driver etc. it will also have tools like adb. You can use it to start, stop server, view devices etc.
You should download the adt bundle, that comes bundled with the recomended version of eclipse. Just google that. It has support for all android needs.
Use the eclipse that comes with it, since it has all the needed plugins for developing for android.
The link to the ADT of the previous answer contains eclipse already.
I am using the ADT as well, but there is also an early access tool, called Android Studio, maybe this is more to your taste?
http://developer.android.com/sdk/installing/studio.html

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.

Categories

Resources