I Need Help With Eclipse Errors - Android Q&A, Help & Troubleshooting

I am new to Android development. I am using eclipse to create apps. I am having problems with some errors that I can't figure out how to resolve. I have updated eclipse to the latest version. Eclipse is telling me that my ADT plugin is out dated. I've tried updating them using this site for help https://stackoverflow.com/questions...-plugin-in-eclipse-to-version-23-0-0-or-above but to no avail. Please see the following attached pictures that describes the problems I am experiencing. I appreciate all the help I can get with this! Thanks in advance!

Related

[DEV] I want to develop Android apps. Please help.

Hey guys.
I'm an experienced .NET Developer and developed with java a little. I want to start developing Android apps on Windows.
I downloaded everything and my app runs, but once i debug it i get a strange error: "The JAR of this class file belongs to a container "Android 2.1-update1" which does not allow modifications to source attachments on its entries".
While looking on the internet to find a solution i came upon a few blogs that explain that i need to get the android source: http://stackoverflow.com/questions/...-container-android-2-0-1-which-does-not-allow
I'm having an immense headache getting it because nothing works. There's no simple guide to do this.
If any of you know the error and can help me solve it i would appreciate it.
Also, if you know how to get the source please let me know. I'm going crazy here.
Thanks!
lorin.bute said:
Hey guys.
I'm an experienced .NET Developer and developed with java a little. I want to start developing Android apps on Windows.
I downloaded everything and my app runs, but once i debug it i get a strange error: "The JAR of this class file belongs to a container "Android 2.1-update1" which does not allow modifications to source attachments on its entries".
While looking on the internet to find a solution i came upon a few blogs that explain that i need to get the android source: http://stackoverflow.com/questions/...-container-android-2-0-1-which-does-not-allow
I'm having an immense headache getting it because nothing works. There's no simple guide to do this.
If any of you know the error and can help me solve it i would appreciate it.
Also, if you know how to get the source please let me know. I'm going crazy here.
Thanks!
Click to expand...
Click to collapse
You say you downloaded "everything", but not what "everything" is. For mainstream development (using only public API), you don't need the Android sources.
Get the SDK, and Eclipse ADT if you want the most straightforward environment, import one of the example projects, and get it running on the emulator/device. It's pretty much all explained in this tutorial project. Then you can see what's up with your particular program. Good luck!
I have Eclipse, the latest ADT and the latest SDK. I installed the packages for 2.2 and 2.1 with the Google APIs.
I'm trying to make a simple tip calculator app. If i don't make a certain check in my app everything runs ok. As soon as i check if 3 EditTexts have text in them i get that error.
If i don't need to check, my app is behaving ok.
if(txtbillamount.getText().toString().equals("") || txtpercentage.getText().toString().equals("") || txtpeople.getText().toString().equals(""))
{
...
}
The hello world apps works fine.
lorin.bute said:
I have Eclipse, the latest ADT and the latest SDK. I installed the packages for 2.2 and 2.1 with the Google APIs.
I'm trying to make a simple tip calculator app. If i don't make a certain check in my app everything runs ok. As soon as i check if 3 EditTexts have text in them i get that error.
If i don't need to check, my app is behaving ok.
if(txtbillamount.getText().toString().equals("") || txtpercentage.getText().toString().equals("") || txtpeople.getText().toString().equals(""))
{
...
}
The hello world apps works fine.
Click to expand...
Click to collapse
Do you have an else statement?
Yes I do have an else statement. I display a pop up message in the else statement.
I would recommend getting acquainted with a little bit of java code as it is very different than .net
Your dev env seems too be ok since, The hello world app works ok as you stated, its your coding.
Coming from.net programming it was confusing for me at first.
Sent from my Nexus One using XDA app
Problem solved.
Yes, i was coding something in a wrong way. Java is different in many aspects.
Thanks.

Q... How to set up Linux dev environment

Ok I installed the jdk on 11.10 ubuntu. The installed eclipse from the software center. I'm currently installing the android sdk. All of the sdk. I'm assuming using eclipse I should install the adt plugin. I'm interested in developing an app. Any pointers would be awesome. If anyone has any links to read up on app development for newbs I would be grateful. I would like to build a ROM to, something for personal use. I would post it if I ever feel its worth it. I'm interested in learning development and i have some great ideas for apps that do not exist that could be decent money makers. Just gotta make the thing. As I already said any help or advice would be awesome. Links would be cool to read up on. And thanks in advance for anyone who helps.
Sent from my PG86100 using Tapatalk
Look in my signature for gingerbread compilation. It will help some hopefully
私のEVO 3Dから送信される。
find the thread with "dsixda rom kitchen"
When i use eclipse and go to /help/install new plugin and set it up with the links from the sdk webpage i get this error. It finds the adt plugin but then wont let me install it.
Cannot complete the install because one or more required items could not be found.
Software being installed: Android Development Tools 15.0.0.v201110251216-213216 (com.android.ide.eclipse.adt.feature.group 15.0.0.v201110251216-213216)
Missing requirement: Android Development Tools 15.0.0.v201110251216-213216 (com.android.ide.eclipse.adt.feature.group 15.0.0.v201110251216-213216) requires 'org.eclipse.wst.sse.core 0.0.0' but it could not be found
Hi mikedavis120,
Adding htt p: / SOMETHING /download.eclipse.o SOMETHING rg/releases/indigo (Indigo Repos) to your "Install Software"-List solves it.
PS: As a new user i was not allowed to post "Spam" links. I hope it's ok to 'salt' my spam with random words :]

[Q] Java Segmentation Error

Hello all,
I keep getting a 'segmentation error' on my Prime, but only when I'm trying to install an APK when running projects from Eclipse or when using javac on the Terminal IDE app to compile code. I've googled and searched around but found no useful solutions, and it's really bugging me!
Sorry I can't be any more specific but I'm only just getting into the Java/Android side of development. Does anyone have a solution?
Thanks for any help in advance.
Ben.

Aptana Studio Help!

Hey all,
I want to use Aptana Studio 3 to develop for Android. I followed the instructions on the google webpage and also this link here:
http://richardfleming.me/installing-adt-on-aptana-studio-3/
But the thing is, I accidentally closed the welcome window and I can't seem to find how to bring that up again.
I tried reinstalling both Aptana and the SDK pack for Aptana but to no avil.
Any help here?
Thanks!

Reverse enginner apk using eclipse

How do I reverse engineer any apk file using eclipse with adt plugin installed?
I basically wanted to know a method which can help me import apk source code into eclipse and run it on emulator.
I tried apktool but it gives apktool.yml and eclipse shoots like 100 errors.
I will give file link if anyone can help me or show me video of how to reverse tether these files , that's all I need.
I am pretty sure none of similar posts have answered my question.
I need help.
[email protected]
Link:
https://play.google.com/store/apps/details?id=com.jahanbabu.kbc&feature=related_apps#?t=W251bGwsMSwxLDEwOSwiY29tLmphaGFuYmFidS5rYmMiXQ..
Second app link:
https://play.google.com/store/apps/details?id=it.mg.android.quiz&feature=search_result#?t=W251bGwsMSwxLDEsIml0Lm1nLmFuZHJvaWQucXVpeiJd
Please guys else mail me zip file of if anybody manages to reverse engg apk using eclipse.
I need help developing quiz app basic .
Please suggest me helpful tutorials if anybody knows.
I posted links since I am unable to upload apk's.

Categories

Resources