Eclipse help? - Android Q&A, Help & Troubleshooting

I was trying to use the visual layout editor and it says "LayoutLib is too recent. Update your tool!" What does that mean?

I'm not 100% certain but it sounds like the visual editor is attempting to do something that your version of Eclipse doesn't support. The visual layout editor should be part of the ADT plugin for Eclipse. I think your version of Eclipse might be backlevel or something? What version are you running? You'll probably need one of the recent releases like Helios or Indigo.
If you have a newer release of Eclipse then you probably need to ask the Google folks that create the ADT plugin what on earth that means...

I had yo update my ADT to 12 (or something like that) so that the visual editor would work with the updated sdk.

need to know waht eclipse version u have because some oldest versions rent supported anymore , other thing u need to update ur adt then , go to help then choose updatesoftware then a new small window will appears , choose add then add this link:
https://dl-ssl.google.com/android/eclipse/
if ur problem persist , send me a pm

Hey, brayann16k, this worked for me! I tried the update function and a few other things I found on the web, but this one worked! Thanks a lot, I'm very new to developing for Android and the visual editor will be of great help finding some important relations and understanding the layout xml structure.

ash.rain said:
Hey, brayann16k, this worked for me! I tried the update function and a few other things I found on the web, but this one worked! Thanks a lot, I'm very new to developing for Android and the visual editor will be of great help finding some important relations and understanding the layout xml structure.
Click to expand...
Click to collapse
One thing to consider when developing is that xml defines the layout, and java determines what each of the elements (buttons, images, etc.) does. Look up thenewboston android tutorials on youtube. Theres 200+ videos and he covers every topic imaginable

Related

[Q] help me making an android app.

hello,
I am a student currently studying java programming
i have a java code that implements a program that i made using eclipse, and what i want to know is how to turn it into an android app. ?
the program takes a string input and returns another string using one main methods and many other methods they all process strings.
i have the android sdk and eclipse plugins but i have no idea where to put the code and how to sit the UI.
thanks.
i am sorry if my question is in the wrong place please tell me where should i post my question.
peace
You'll need basic knowledge about Android Development, search for tutorials, there are many of them, like this (I think that tutorial is all you need).
To can compile the code shown, basically you need:
Android SDK and ADT Plugin for Eclipse.
Open SDK Manager, located where you installed Android SDK. Download the packets of the platform which you desire as target (Android 2.2 or 2.3 is recomended, in order to achieve a high compatibility. Remember: Android is retrocompatible).
Now, you can start an Android project from Eclipse and compile that code. The Java methods that you already developed, should works fine on Android, don't worry about that
If you need more help, feel free to send me a MP, or post your question here. I'm not a developer, but I can understand the necessary things to achieve a basic Android app

Tools needed for Theming?

Hello everyone I would like to TRY to take a dive into theming, maybe even starting as small as theming apps. But I would like to know what tools are needed to do so? I'm running windows 7, and already have Java, SDK, etc... I thought that some current tools won't work or have issues when theming ICS stuff... Any input would be helpful! Thanks

Making a custom rom with using android source codes

Hi guys,
I need help. Really I have search on google again again and again but I couldn't find anything about this topic..
My government gave us galaxy (10.1) tablets instead of books. But unfortunately this tablets's OS is not a normal android 3.2; It has been customized and we can't access many applications or other thinks. So I've decided to make a new custom rom for this tablets to offer in a competition of project. I have 2,5 months for this competition and I should make this rom so I need help. I've downloaded the android source (I want to work on 4.1jb) It is 4.2gb on my ubuntu 12.04 and I don't understand anything till see your answer on stackoverflow. I read and have some knowledge about system but It is not enough.. I know c# lang and I know general coding for 4 years.
I should edit the launcher (I said desktop but I don't know how calls It..). It has programs and widgets tabs and I want to put a new tab here. And anyone cannot see programs and widgets tab without any permission. This permission will give students's tablets by teacher ('s tablet). So, students can't play anything in the lesson but when it is over, stundents can play anything what they want.. Teacher will give the permission before leaving class..
This is what I want to do.. Briefly, I want to make a custom rom but directly using android source codes.Because I think I can't make this rom with using kitchen or just editing .apk files..
Thank you for your help..
Go to chef central in XDA forums it's very interesting (read all stickies), build a good kitchen and start building. Take some CM things to build a great ROM.
Sent from my RK29 tab...
I have thought It cannot work, haven't it?
Because I want to make a custom rom with using details. Not just editing .apk packages etc.. I looked for kitchen when I begin to make costum rom but kitchens don't satiate me.
Do you think again I should look kitchens ?
dmrc1143 said:
I have thought It cannot work, haven't it?
Because I want to make a custom rom with using details. Not just editing .apk packages etc.. I looked for kitchen when I begin to make costum rom but kitchens don't satiate me.
Do you think again I should look kitchens ?
Click to expand...
Click to collapse
If you are editing the source code you are doing more than modding apks. What I recommend to you is start building a Android with main features for example low requirements. Then you start deleting all those stuff you don't need building a very small Android. Then you modify system ui like appearance and themes and you start adding those great developer community apps. Those steps are easy for start then you'll modify those great things. And if you have time you should create a project web page in Google developers and start getting support and testers. Also if you post here your Roms you'll gain experienced developer support.
Remember you are building a Android Room not a new OS. Start modding and removing not useful stuff.
If it helps give thanks ! :thumbup:
Edit: I also recommend you if it's possible to don't work with Honeycomb... If you wanna get good results use Jelly Bean or Ice Cream Sandwich.
Sent from my RK29 tab...
SferaDev said:
...Remember you are building a Android Room not a new OS. Start modding and removing not useful stuff.
If it helps give thanks ! :thumbup:
Edit: I also recommend you if it's possible to don't work with Honeycomb... If you wanna get good results use Jelly Bean or Ice Cream Sandwich.
Sent from my RK29 tab...
Click to expand...
Click to collapse
Yes, I'm just editing an android rom not making a new OS. And I'm not working on Honeycomb. I got the source of JB.
Okey, I'll start doing your thinks. But I've an idea and if you know, please help..
Yes, I don't have to edit source code and it seems very hard to do. But I thought making a new tab panel like this panels top of JB. Check it.
http://androidplus.in/wp-content/uploads/2012/08/Jelly-Bean-Apex-theme.jpg
There are apps, downloaded, widgets tab panels on top. If I can add a new panel just with coding a new app. (not editing the source), It would be a solution for me. The panel that I'll add (let's call it education panel) have to open and close with my command (the command that comes from teacher in realty). If the command doesn't let the user of tablet to switch other panels, user can't switch. The education panel is like apps panel and contains some essential tools (like e-book, notepad, some videos about education etc.). Do you have an idea how can I do? or can I do this with just an application?
Please give me knowledge.. (Again I don't have to edit source code (like you've said) if I find this quests answer.)
Ok let's remember how Android it's divided...
I think you must modify for this launcher and systemui, if I'm not wrong. You must deodex the files inside the app package to build the eclipse project.
Good to know you aren't working with Honeycomb
Sent from my RK29 tab...
I was reading out in Android Dev forums and those links are useful to you:
http://forum.xda-developers.com/showthread.php?t=1732635
http://forum.xda-developers.com/showthread.php?t=1814441
Click to expand...
Click to collapse
Sent from my RK29 tab...
Got it. Thank you.
I was (am) busy for this job so I can answer now
dmrc1143 said:
Got it. Thank you.
I was (am) busy for this job so I can answer now
Click to expand...
Click to collapse
For anything you need !
Sent from my RK29 tab...

[Q] App projects ready to import into Eclipse?

I'm trying to get into making apps, and i've got everything setup in Eclipse, the SDK, etc etc and i've succesfully compiled a HelloWorld app (simple, i know )
But i'm not much of a Java coder, only just started C and C++ in school, so i'm looking for some projects that i can import into Eclipse and see how they're made and take a look at their source code and perhaps use some of it.
Anyone know how? I'd be very glad if it was possible to both get examples of simple apps and perhaps some more extensive ones
I tried decompiling an app with APK Tool and i can't make heads or tails of the smali files and all that..
- Moon
bump
Anyone?
Moonbloom said:
I'm trying to get into making apps, and i've got everything setup in Eclipse, the SDK, etc etc and i've succesfully compiled a HelloWorld app (simple, i know )
But i'm not much of a Java coder, only just started C and C++ in school, so i'm looking for some projects that i can import into Eclipse and see how they're made and take a look at their source code and perhaps use some of it.
Anyone know how? I'd be very glad if it was possible to both get examples of simple apps and perhaps some more extensive ones
I tried decompiling an app with APK Tool and i can't make heads or tails of the smali files and all that..
- Moon
Click to expand...
Click to collapse
Have you tried File -> New -> Project -> Android Sample Project in Eclipse ?

[Q]

how am I going to build some apps in the android?is there any tools like visual basic or what? help me plz....
-----------------------------------------
[COLOR="Red"[SIZE="5"]]SK17i Mango[/SIZE][/COLOR]
Real ICS 6.0
For the one gazillionth time !! Please use google search!!! There are more than a million guides out there explaining how to use IDE's to develope android apps using ADT plugin! Go to developer.android.com they have a very clearly documented procedure how to learn to develope android apps . As far as I know you can't use visual basic, you should use JDK because android apps are written in pure java api's and converted into dalvik executable using Google's dx tool and the process is automated via Google's ADT plugin in IDE's.
.:.pitchblack5691.:.

Categories

Resources