*RESOLVED*
ive searched to no prevail. id like to start developing apps but am having issues getting the environment set up. i have the jdk properly installed.
issue 1 (main \ major ):
ive installed the android sdk from multiple sources, but when i try to start sdk tools, the command prompt flashes/ opens briefly and i get this message:
"Failed to execute tools\android.bat:
The system cannot find the file specified."
do i need to change a PATH variable or something...
issue 2:
i cannot get eclipse to run. when i try to open the exe file ( because there is no short cut icon...?) it gives a message about not finding a companion library... ive try to change the properties in the file that is supposed to fix it, but it was already set the way its supposed to be. this is not major as i can use a different IDE.
so im completely lost as to th sdk tool. any help would be appreciated!
edit:
i just tried adding the file path to the android sdk ( PATH variable) and it still did not work... :/
i also just tried start the android,bat file and the cmd promt flashes briefly saying somthing about xcopy is not an operable command...etc couldnt read all of it...
btw im on windows 7 home premium
Please use the Q&A Forum for questions &
Read the Forum Rules Ref Posting
Moving to Q&A
Check if this can help you.
Actually, you don't need to configure environment variables. You only need to install Java SE, and Eclipse and Android SDK should work fine.
RoberGalarga said:
Check if this can help you.
Actually, you don't need to configure environment variables. You only need to install Java SE, and Eclipse and Android SDK should work fine.
Click to expand...
Click to collapse
well eclipse wont install either, it cant find some companion library.all i curently have is the java jdk and an IDE called intelliJ idea or something like that, nothing else will install...i had to add an environmental variable to get the java jdk to work on cmd. if you could give links to any files your using that would be of help. , that is if your on windows 7
Sure...
Eclipse
Android SDK
Follow the indications of my previous link
Word of caution
I hate to discourage anyone from following their hearts desires especially when it comes to software development. But I wanted to share some advice with you coming from an experienced software engineer. I've been developing software for over 15 years. My experience comes mainly from developing Windows desktop applications in C/C++. I've also been developing software using Java for several years so I'm by no means new to Java technology or development tools.
I've only recently started to develop for the Android platform. It didn't take me long to get started (i.e. get the development environment setup and start developing using the AVD manager) but as I dig into it I'm finding that the Android platform has become very much like developing Windows applications which is interesting to find because I really haven't done a lot of user interface development using Java. In the past my Java development projects have always been more back end server integration related to App Servers and database integration (i.e. Apache/Tomcat, JSP, Oracle, etc.).
I have seen user interface development libraries in Java such as Swing in the past but haven't had a real need for them. So to tell you the truth I can't say how much better or worse the Android SDK user interface libraries are than the traditional JDK 1.4 libraries.
All of this is to say that when I say this you know it's coming from someone that isn't just learning how to program. My advice to you is that if you haven't done much Java development in the past that Android development is not the place to start. You might want to start with the basics first like just setting up a simple Java program and learning the technology first before you jump head long into something.
I've done that more times than I can count in my long career and I can tell you from experience it's the surest way to fail before you get started.
thanks but...
RoberGalarga said:
Sure...
Eclipse
Android SDK
Follow the indications of my previous link
Click to expand...
Click to collapse
i tried to use those files, but still the same problem, they wont launch/ install...in your post it says to launch them from the folder, correct...? the problem is, THEY WONT LAUNCH AT ALL...no UI for anything, just a quick flash of the cmd window for both of them and a pop up window for eclipse...
***i wasnt yelling, just frustrated...
First. DELETE EVERYTHING FROM DOWNLOADED FILES TO EXTRACTED FILE GET RID OF ALL OF IT then clear trash can.
THen ensure the JDK is successfully installed by opening command prompt and typing "java -version" you should have build 1.7 or higher. If not, you may download it here http://www.oracle.com/technetwork/java/javase/downloads/jdk-7u4-downloads-1591156.html
Download this http://developer.android.com/sdk/index.html and pick the one that has "Recommended" next to it.
after you have that downloaded. FOLLOW THE STEPS BELOW TO A T! NO SHORTCUTS WHAT SO EVER!
Then once everything is downloaded. simply FOLLOW ME again TO A T! and if you follow that you should get everything working. And seriously, FOLLOW IT TO A T! do not take shortcuts do not try to do more than one thing at a time just take it step by step. I had no problems getting it up and running by following that last link.
Hope that helps and BE PATIENT you will get to play around soon enough
elesbb said:
...Then once everything is downloaded. simply FOLLOW ME again TO A T! and if you follow that you should get everything working. And seriously, FOLLOW IT TO A T! do not take shortcuts do not try to do more than one thing at a time just take it step by step. I had no problems getting it up and running by following that last link.
Hope that helps and BE PATIENT you will get to play around soon enough
Click to expand...
Click to collapse
thank you very much. i have what i need now, although i think i figured out my problem...stupid me was viewing the archive for eclipse instead of extracting the files to a separate folder, where the shortcut appeared!. thank you as it was your instructions that led me to my problem.
tripartist1 said:
thank you very much. i have what i need now, although i think i figured out my problem...stupid me was viewing the archive for eclipse instead of extracting the files to a separate folder, where the shortcut appeared!. thank you as it was your instructions that led me to my problem.
Click to expand...
Click to collapse
hahaha!! Sometimes all we need to do is slow down and look at whats infront of us xD glad you got it figured out!
Samsung Galaxy S II not recognized on PC
I want to sync my PC with my Samsung Galaxy Skyrocket and put music on it, but the PC won't recognized the phone.
I have tried downloading and installing the driver, Kies, etc and still get the same error.
Can someone help me??
android.bat still not present
I went to the sdk site to download. I ran the exe file, says that it couldn't find the tool\android.bat file. Please help
Related
We've updated a bit....
Download Link: [Here]
We now have a complimentary app on the app store for this A4D App.
What is A4D?
The goal of A4D is for us to move beyond just N1 make it an all in one flashing/upgrading/android utility. We just added a ROM library with MD5s. We are not going to be hosting the actual ROMs by themselves so if you report a dead link, they will be taken down (after a number of reports). You can also add your own ROMs as well into the library.
The ROM library will be supported by both Android and Desktop App. We are rewriting the Desktop apps so that we can do all 3 platforms in one, Linux, Windows, and Mac. You'll love the layout of the app. That's all we can say for now.
Oh one more thing. The android app won the best android app award at the Mobile in the Middle Hack-a-thon over the weekend in Chicago (on 3/6/2010).
I would like you guys to try out the app and tell us feedbacks. Also feel free to add your own ROMs to the Database and tell us how we can make the DB better. There a number of features we are trying to add as well. But with our full time jobs... things are going a little slower than we wanted. Sorry.
Requirements to run the app on Android: Amon_RA's recovery. That's what we tested it with.
Reserved
Reserved for Future Updates / Changelog
Can't wait to see if this is fool proof.
Add md5 check. Make it in this way: user have to enter/copy-past md5 hashsum from forum/site. Program calculates md5 of image and says image is good or bad. Also you can disable flashing with out this check. ;-)
good idea. Will do that. That will help with flashing screwed up downloads.
Hi
Thank you for sharing the application.
Does it flash the radio too? I mean CyanogenMod has two files a radio ROM and a CyanogenMod ROM. Does it flash both of them to the phone?
Thanks.
Radio flash is in there we took it out. May do so in the next release but radio flashing is dangerous (can brick phones) so...
Hey Lwin,
Nice concept man, this is gonna prove very handy for many peeps.
You've come up trumps again
So, this is a desktop application?
Does it flash ROM's from your desktop or copy them over and just run the commands on the phone for you?
I ask, as I'm having some problems flashing now, based round a slightly faulty Micro SD card. Does it store backups on the phone or on your desktop PC?
This program is written so you don't have to do command line commands. Everything else remains the same. If you are doing a Nand backup, it goes where it used to go.
I would recommend fixing your "slightly faulty Micro SD card" by getting a new card.
nice app for those that aren't familiar with cmd or jus pure...lazy lol
maybe the screens should be bigger as quite hard to see clearly whats available.
Pure Genius...
seraph1024 said:
Here is the GUI tool for unlocking, updating, restoring, flashing of the N1 (and in theory should work on all HTC androids).
Try it out and see if it is useful. The tool is made to help for people with very basic skills since the tool at this stage is a wrapper for the shell commands at this point.
Again, as usual, we take no responsibility for loss of sleep, loss of phone or screw ups on our side (due to app) or on your side (due to lack of ability to follow instructions).
I wish to make it more simple. We welcome feed backs.
Seraph1024 - ShadowPyro
Download Link: [Here]
Click to expand...
Click to collapse
Hey Seraph, This is getting better and better everyday.. How is your windows and android port.. Oh and don't forget there little buddy, I need you on my Mobility Team when we arrive to the scene.. Android and Audi... Almost there....
Edit: Okay, can't run on Mac, of course will in VMware, can you please make this mac native too... It would be great as per what MooMoo said, for all who are lazy...
shadowpyro said:
This program is written so you don't have to do command line commands. Everything else remains the same.
Click to expand...
Click to collapse
But I don't use command line now. I didn't realise anyone did. Do you not just boot into RA Recovery and flash from there?
shadowpyro said:
I would recommend fixing your "slightly faulty Micro SD card" by getting a new card.
Click to expand...
Click to collapse
Thanks, I didn't ask for advice.
GodDriven said:
Hey Seraph, This is getting better and better everyday.. How is your windows and android port.. Oh and don't forget there little buddy, I need you on my Mobility Team when we arrive to the scene.. Android and Audi... Almost there....
Edit: Okay, can't run on Mac, of course will in VMware, can you please make this mac native too... It would be great as per what MooMoo said, for all who are lazy...
Click to expand...
Click to collapse
There will be a mac port sometime this week. I can most likely port to linux too but if you know linux and if you have to use wrapper, you have an issue
install issues
I tried to install it but got a system update required....
extracted the sdk to the folder C:\android-sdk-windows
extracted android4dummies and clicked setup
I get a pop up with the following:
unable to install or run the application. the application requires that system assembly system.data, entry version 3.5.0.0 be installed in the global system cache.....???
What do I do now?
Sounds like the app uses .NET framework 3.5.
So goto microsoft website an get 3.5 .Net Framework.
pwvandeursen said:
I tried to install it but got a system update required....
extracted the sdk to the folder C:\android-sdk-windows
extracted android4dummies and clicked setup
I get a pop up with the following:
unable to install or run the application. the application requires that system assembly system.data, entry version 3.5.0.0 be installed in the global system cache.....???
What do I do now?
Click to expand...
Click to collapse
You do need .Net 3.5. It should have asked you, if not installed that as a prerequisite.
I went to MS and downloaded the .net 3.5 installed it (apparently it was already on my pc, so instead of installing I tried to repair it. no success....
pwvandeursen said:
I went to MS and downloaded the .net 3.5 installed it (apparently it was already on my pc, so instead of installing I tried to repair it. no success....
Click to expand...
Click to collapse
Can you send us a screenshot.
Do not unzip into C:\android-sdk-windows. App will install SDK or search for the SDK there.
Unzip on your desktop or temp and install from there.
just to be clear, I unzipped adroid sdk and placed in the mentioned location. the android4dummies is extracted on the desktop and executed from there..
so should I remove the SDK and retry?
Ok, I'm sure this is been asked before and I'm sure there's references somewhere...I've looked for a couple of days and found what should be answers, but nothing is working like the instructions I've seen...
Here's the simple question; How do I get the Android SDK and Java JDK setup in Ubuntu? I've tried the sudo commands to get the JDK to install, not working for me (as Ubuntu tells me it can't find the files I'm looking for). I've tried moving the SDK into the Root Folder (in the File System area itself), don't have permissions even though I'm logged in as the administrator. I've tried getting the SDK Manager to run through Terminal (home/android-sdk-xxxxx_xxxx/tools/android), can't find the file in terminal, but it's there in the file system exactly where I'm pointing it to.
I'm very new to Linux, but if I'm going to do things that I want to do, I'm going to have to learn. For the most part, I'm prepared to read whatever I need to in order to learn from this, but I also know when I need to ask for some help here. It seems like every command shown to get this started is just not working in the partition I have setup for this. If anyone can help get me started, I'm sure I can pick the rest up along the way!
Thanks in advance!
Macrodroid said:
Ok, I'm sure this is been asked before and I'm sure there's references somewhere...I've looked for a couple of days and found what should be answers, but nothing is working like the instructions I've seen...
Here's the simple question; How do I get the Android SDK and Java JDK setup in Ubuntu? I've tried the sudo commands to get the JDK to install, not working for me (as Ubuntu tells me it can't find the files I'm looking for). I've tried moving the SDK into the Root Folder (in the File System area itself), don't have permissions even though I'm logged in as the administrator. I've tried getting the SDK Manager to run through Terminal (home/android-sdk-xxxxx_xxxx/tools/android), can't find the file in terminal, but it's there in the file system exactly where I'm pointing it to.
I'm very new to Linux, but if I'm going to do things that I want to do, I'm going to have to learn. For the most part, I'm prepared to read whatever I need to in order to learn from this, but I also know when I need to ask for some help here. It seems like every command shown to get this started is just not working in the partition I have setup for this. If anyone can help get me started, I'm sure I can pick the rest up along the way!
Thanks in advance!
Click to expand...
Click to collapse
I think you could possibly use part of the EasyDev-v6 script in the Development and just cut out everything after installing prerequesites. It probably installs the JDK and the SDK among everything else, and it probably wouldn't hurt with the other things that installs, too. Just cut out everything after the prerequesites (it's just a regular text file but it'll be easier to edit in Ubuntu with OpenOffice).
Also check out http://maketecheasier.com/install-android-sdk-in-ubuntu-karmic/2010/01/11. As far as I know it worked when I tried it.
roirraW "edor" ehT said:
I think you could possibly use part of the EasyDev-v6 script in the Development and just cut out everything after installing prerequesites. It probably installs the JDK and the SDK among everything else, and it probably wouldn't hurt with the other things that installs, too. Just cut out everything after the prerequesites (it's just a regular text file but it'll be easier to edit in Ubuntu with OpenOffice).
Also check out http://maketecheasier.com/install-android-sdk-in-ubuntu-karmic/2010/01/11. As far as I know it worked when I tried it.
Click to expand...
Click to collapse
Dude, thanks so much! That worked perfectly. Thanks!
Sent from my Froyo Tazz using XDA App
You're welcome!
hi and happy newyear to all,
I im trying to make an firsdt attempt into the world of android development. I went to the site and followed the instructions of what i need to develop for android.
But i made an mistake. i did not follow it to the letter. (i know its dumb but i was so enthousiastic)
1.I downloaded the recommended windows installer being
installer_r16-windows.exe (Recommended)
2. i followed the steps in the install sdk guide provided bij the official site
3. I downloaded JDK and installed it
4.i downloaded and installed the recommended eclipse classic
5 NOW things went bad for me because i did not read and do the step as was written
i put the plugin in the wrong folder so when i noticed my fail. i tried to fix it by deleting the map all togehter. Thinking i could simply retrace my steps and start over.Wrong when i tried to follow the instructions again i got a message saying that it was already installed.
So my question is can i either delete eclipse allthogether and start from skratch or is there an easier way
I just went through this process this weekend. It is so much easier to delete Eclipse and start all over from scratch than to try to fix the mess that is ADT and XML configuration hacking.
Just stick to the Android "installing the SDK" steps and you'll be up and running in no time.
but can you tell me how to install eclipse it doest show in configuration screen under delete software.
im running it on a windows 7 64 bit os
Thanks in advance
mstroud said:
I just went through this process this weekend. It is so much easier to delete Eclipse and start all over from scratch than to try to fix the mess that is ADT and XML configuration hacking.
Just stick to the Android "installing the SDK" steps and you'll be up and running in no time.
Click to expand...
Click to collapse
Thanks but can you please tell me how to uninstall eclipse because it doesnt show up in the configuration screen under delete software. Im running it on a windows 7 64-bit OS
I want to start learning Android app development for my own education. I assume that the Eclipse IDE is the preferred environment, but there are many versions available. Since I don't know Java and would be learning that as well, the comparison chart does me no good. Can someone tell me which one I need, and suggest any other tricks I should know, like which additional packages to download? I would be targeting Gingerbread and ICS, and the RAZR in particular, since that's what I have on hand. I also have used the subversion version control system in the past.
Thanks in advance.
You can download eclipse classic. After downloading, you have to download the android SDK and the adt-plugin for eclipse. More information here.
Thanks. I'm downloading the SDK but I'm getting connection timeouts for one component that I'll have to try later. Also, after downloading and installing some SDK files, they appear in the list with two identical versions, one in italics which is listed as not installed, and another one in normal type listed as installed. Any idea what that is about?
MOTODEV Studio for Android
Motorola has released an IDE called MOTODEV Studio for Android which is based on Eclipse. You can also install it as an plugin to an existing Eclipse installation as long as it is the Indigo release.
Just google for it.
Regards,
brenmcguire
Thanks very much. The MOTODEV Studio looks very interesting.
One generic question: In installing Eclipse, all I needed to do was extract the .zip file into a directory, and run the program from there or by using a shortcut. Is that the mode of operation for all these tools, that is, do they follow the UNIX model of putting all files in one place, rather than the Windows model of scattering files everywhere and altering the registry? I much prefer the UNIX model to the Windows model. It is much cleaner. (I was a UNIX and C programmer for about 15 years.)
larrygeary said:
One generic question: In installing Eclipse, all I needed to do was extract the .zip file into a directory, and run the program from there or by using a shortcut. Is that the mode of operation for all these tools, that is, do they follow the UNIX model of putting all files in one place, rather than the Windows model of scattering files everywhere and altering the registry? I much prefer the UNIX model to the Windows model. It is much cleaner. (I was a UNIX and C programmer for about 15 years.)
Click to expand...
Click to collapse
Hi Larry,
yes, that's the way to use Eclipse. It is even the same under OS X.
Well I have Eclipse and all the SDKs set up in a virtual machine, and I think I'm ready to roll. On to "Hello, world!" Android style. In another VM I have the MOTODEV Studio, but I don't think I have it completely set up because I couldn't create a RAZR emulator like I could with Eclipse. Thanks everyone for your help.
I'm interested to hear your progress! I plan on learning myself once I fix my laptop...
\\Carved into this thread by my RAZR//
http://android-gz.com
I'm new to Android, Eclipse and Java. I'm having trouble setting up an emulator for my Droid Razr. It's on Verizon, software version 4.0.4. I downloaded an SDK add-on from the Motodev site titled RAZR, I guess I thought it was going to be a plugin for Eclipse, but I'm a little confused. If it is a plugin, I have not yet figured how to install it.
Above all else, I just need a little help setting up an emulator for my Razr. The part I got stuck on was trying to select the proper screen size. The option for a 4.3" screen with 540x960 resolution was not an option, and I couldn't figure out how to make it an option.
Thanks for any help.
---------- Post added at 06:10 PM ---------- Previous post was at 05:44 PM ----------
I guess I asked for help a little too soon. Shortly after I posted, I found the 'installation instructions' for the Motorola add-on, as well as how to add a new device to the Eclipse Android Virtual Device.
Programming Java on NT-Including generating APKs
I don't know anything about java but am trying to learn. Most of what I would like to create will be simple. It would be nice to be able to create APKs so I could pass on to others if I wished necessary.
I have not been very successful setting up a proper environment in windows or linux. There are numerous guides on the internet for each operating system. The problem is the world keeps revolving and by the time I find a guide and try to follow it to conclusion there have been changes that cause an incorrect environment which is unusable.
I remember programming on iPAQs (xscale-arm processor) both in c/c++ and c# on board the iPAQ. After looking around a little I have found several options for windows users (gui) and one for linux users (command line) to program on the NT in java.
I felt I should pass this information along for others. These will be listed windows Style(gui) first and then linux style(command line) last.
Windows Style environment(gui) :
Aide - https://play.google.com/store/apps/details?id=com.aide.ui&feature=search_result
Just install and you have a working environment which will compile android api10 example files with nearly no changes (example change=add res directory which had been left out of example). The only thing that was not apparent is to watch the notification area for any errors which give you the problem and how to correct them. Updates have been often and useful. My first choice for windows type (gui) environment. Check the web for more info and tutorials about this program.
Android Java Editor – https://play.google.com/store/apps/..._result#?t=W251bGwsMSwyLDEsImNvbS5hbmplZGkiXQ..
With this one I had to watch the video and pause it several times to decide how to get setup and use (no audio-just video). It works and creates APKs also but is a bit more involved and the learning curve of the program is higher due to no available directions.
Linux Style environment(command line):
Terminal IDE – https://play.google.com/store/apps/...cuside&feature=nav_result#?t=W251bGwsMSwyLDNd
Easy install, good tutorials, and very easy to learn. Can be used with a tether (wifi or cable) and telnet to use keyboard and screen from your pc. This one has updates since I downloaded and support is great. I couldn't get the software keyboard to work on stock 1.4.0 but works great in CM7. As a result I used hackers keyboard while on 1.4.0. Also creates APKs. Includes vim, Midnight Commander, etc. This is a thirty meg download and is twice that when installed but everything is installed in /data/apps/ folder so it had no impact on a stock 1.4.0 system.
Notes:
None of these require being rooted to setup and use. There are others but I have decided not to list them in this thread for various reasons. I feel I have chosen the easiest to get working and use and provide the end result of an APK if you desire.
I forgot to mention they are all free. I have just begun this project so I can't be any help on use of these programs or java. I'm just passing on information as I think others may find useful. The way I see this project is anything I learn (no matter how little) from this is added to my limited knowledge and certainly can't help.
Almost forgot, I use jota text editor to look at and create source files.https://play.google.com/store/apps/...51bGwsMSwxLDEsImpwLnNibG8ucGFuZG9yYS5qb3RhIl0.
Nvm, you're talking about developing for android on android
lufthanza said:
Nvm, you're talking about developing for android on android
Click to expand...
Click to collapse
Yes that is correct.