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.
Related
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 :]
EDIT: How Can I Easily Make a Sidescrolling Platformer Using An Easy Scripting Language For Android
Bump
Nobody Answered Yet I Modified My Post
Im Really Eager to start Making Simple Platforming Games For Android
bump Someone please post
There is no easy way. Anything that is worth doing is always worth the work you need to do.
Here is a Java-Script Builder
Don't know if you know anything about writing script or anything but you can PM(private message) me with an email address and I'll send you a zipped attatchment with a program for windows pc. It's called Sencha-Touch 1.1.1 App Maker.
I'm sure if your running windows on your PC and your here then you already have java runtime. Just update it if necessary at Java.com. Just click where it says "Do I Have Java" to check and update your version.
You will probably also have to go to Oracle(the java website) and download and install the "Java SE 7u2" for developers from the download section.
If you Need direct links to the Java's, I will include them in email to you.
Hope this gives ya some insight.
Can't get the zip to upload to an email but can give ya the website link in one. Don't think I'm allowed to post outside links.
hi
shubshub said:
bump Someone please post
Click to expand...
Click to collapse
Have you tried out DaVinci Studio? it's a dev tool based on HTML5 and JavaScript...
You can get it for free at their website and ask questions on their forum if you need help with it.
Eclipse + Android SDK
I highly recommend using the standard Eclipse setup with the Android SDK. Java is pretty easy to learn, and can create games that are very simple to complex. I was confused where to start off as well, and tried out AndEngine. There isn't much documantation for AndEngine, so I followed Kilobolt's tutorial on game development. One of the best tutorials of programming that I have ever seen. I am working on a platformer at the moment, and everything is going pretty well. In simple, google "Kilobolt". He has tutorials for setting everything up. However, the tutorial begins with standard Java development, and Android comes into play when you are ready to port the game. Good Luck. :good:
Thanks for the info, I'll check it out.
Hi,
I would say that my knowledge of JAVA is fair enough, intermediate. I just started developing on android for the sole purpose of creating a few book applications.
Are there any tutorials/guides that you guys would recommend that i can follow in order to do so please?
Many thanks.
Without offend you... please search in Google, there are many Android tutorials, like this.
First, you need to setup Java SE, Android SDK, Eclipse and ADT Plugin for Eclipse (in that order), then you can begin to develop
RoberGalarga said:
Without offend you... please search in Google, there are many Android tutorials, like this.
First, you need to setup Java SE, Android SDK, Eclipse and ADT Plugin for Eclipse (in that order), then you can begin to develop
Click to expand...
Click to collapse
Thanks for that mate. I've set all that up already. I was looking for making apps for ebooks in particular. Are you aware of any tutorials for that please?
Thanks.
Nope, sorry dude, I only know general tutorials like above
if you know java, now you only need to know the android classes.
learn the classes you need use from here:
developer.android.com
so i have read and searched and read and searched but i cant find much to help a real n00b start out, like a step by step guide on actually making an app....
are there some decent resources i can use?
im using Android Studio ...
any help would be great for me to start somewhere
wifiuk said:
so i have read and searched and read and searched but i cant find much to help a real n00b start out, like a step by step guide on actually making an app....
are there some decent resources i can use?
im using Android Studio ...
any help would be great for me to start somewhere
Click to expand...
Click to collapse
A tutorial is the best way to get started... try EasyAppCreation to get all the help you need :good:
yes a tutorial is the best thing to begin with
the first place you should go is android developers' website : https://www.google.com/url?q=http:/...ds-cse&usg=AFQjCNEZdpuRo54zKfwYLJXUmICi3s2HUA
but of course you will first have to learn java (xml,sql as options) :http://www.freejavaguide.com/corejava.htm
if you already have some linux knowledge it will be of good help to understand how android realy works , i know it souds stupid but you should first of all start from wikipedia to find out more about android : http://fr.wikipedia.org/wiki/Android
for learning there is also Android IDE (free) that you can find on play store it is an ide for android that works on android , you can find on play store also some references about java programing language and tutorials for begining android development , ps: you can also make apps with phonegap if you are already a web developer , but i dont advice you to use phonegap for heavy projects as you dont have full control of the performance : http://phonegap.com/developer/
note that a version of phonegap on play store that works on android (paid) , it is made by the same team that made AIDE , dont forget about html5 apps also (they are multiplatform but need a browser with html5 support) , i hope i helped you .
Firstly, I don't know if this is a right site/forum to ask this question but this seems to be most active android development forum when googling for 'android development forum' even though this site seems to be mosty about rooting and mods which is not what my question is about.
I'm trying to compile github.com/corbinlc/GNURootDebian from source and make it run on my android emulator. I get 'Configuration with name 'default' not found' in android studio 3.0 when just opening the project. Can anyone help me out tackle this error?
> I tried googling / stackoverflow and couldn't find a satisfying answer
> I have successfully built and run a simple app in emulator using steps outlined in 'Building Your First App' walkthrough on developer.android.com/training/basics/firstapp/index.html
Thanks in advance,