Android Kitchen thread CLOSED - Thunderbolt General

I just went to the android kitchen thread to see if there have been any updates to accommodate java 7 and the dev has closed the thread
Any one know how to get the kitchen to recognize java 7, it still is looking for java in the jre6 folder and that isn't there anymore. I have even done a fresh install of cygwin after installing java 7 and it still didn't automatically recognize the new version.
Hopefully dsixda doesn't take too long a break but I am sure it is well deserved, it is a priceless tool.

You can have more than one version of java installed on your system you know. Java 7 isn't going to just magically improve anything for you really unless you're a developer.

True but didn't know if it was an fairly easy change to a script or something to get it to check/recognize the new location. Before it would let me get to the "building a rom from working folder" portion before it would give me a message about java, now it won't even start the kitchen saying it can't find java version.
I wouldn't consider myself a dev by any means but I build roms for my own use and to just try different things out to see how things work/change things, basically to learn what does what.
Between this issue and fact that I can't get pc to recognize my phone as a storage device anymore...I am lost.

Symlink java7 to the old location for java6.

adrynalyne said:
Symlink java7 to the old location for java6.
Click to expand...
Click to collapse
Just to add to what adrynalyne said (since it's the easiest way), that would be using the "ln" command on linux/unix/cygwin or mklink on windows.

Thanks for idea, tried mklink but in process realized I had x86 version of java6 and x64 of java7. So I tried just installing x86 version of java7 and opened up kitchen and was able to create output .zip from my current working folder
Now if I could just get pc to recognize phone properly... then maybe I think I will avoid updates of software for awhile.

Related

VMWare image of the source building environment

Hi all, I'm sorry if this has already been asked, i looked for it using Google and the search forum option and while i found this http://forum.xda-developers.com/showthread.php?t=396782&page=145, (using this: http://www.google.com/cse?cx=000825...ource&sa=Search&cof=FORID:0&ie=utf-8&oe=utf-8) it didnt really help me because it's not exactly what i'm looking for
I want to be able to change some bits of code on the os and see how that affects the device (for example, i'd like to change the order of options in the menus and stuff like that) just to get to know the development environment better.
however, I'm using Microsoft windows (vista x64) and cannot build it on this env (according to: http://source.android.com/download --> "To build the Android source files, you will need to use Linux or Mac OS. Building under Windows is not currently supported.").
therefore i was wondering, did anybody make a vmware image that is ready to use that contains the environment and the sources that will only need a source update and can be built immediately after for noobs like me?
I'm sure I'm not the only one running a windows machine and so i guess somebody has already made one for himself, I'm asking if you could maybe share it somehow...
Thanks
E.
Clarification: I'm not talking about the SDK building but rather the actual OS source code so that i can re-build and put on my phone
note: tried this: http://www.koushikdutta.com/2008/12/building-android-source-and-deploying.html, didn't work, but it gives an idea of what I'm looking for...
did u try running a virtualbox with linux? or maybe a macOS off a usb?
vista x64
for windows, have you tried cygwin?
I've installed it just fine in ubuntu in vmware.
I'd about 8 gb. quite hard to make an image out of it.

[HOW-TO] ADB for Dummies(How-To Learner's Guide)

Hi,
My name is Joe aka AndroidSamurai.. I will be releasing more guides and media content in the weeks to come.
I'm currently very busy with "life events(new baby)" and apologize for my absence.
I will be updating this post since it was my original with a new guide updated to new SDK and Android methods.
Thanks again,
AndroidSamurai
Android4D Inc
<golf clap>
Well done.
</golf clap>
What do i do if the new hardware device notification doesnt pop-up ? NM i got it. Thanks for the writeup
@King_tee: Assuming windows, you follow the following steps.
1. Start > Control Panel > System.
2. Hardware > Device Manager
3. Click on the last icon below the File menu. It should correspond to "Scan for Hardware Changes."
If that doesn't work, try unplugging / replugging USB cable, different USB cable, restarting phone, restarting computer, etc.
If you never see the notification, navigate to the Device Manager(inside "System" in the control panel in XP and inside Device Manager on Vista).
You will see ADB Android Device at the top of the list with a Yellow Icon beside it meaning the device is not working. Right-click on the device and select "Update Driver".
Follow the dialogs that pop-up and navigate to where the unzipped drivers are at...
You should be good to go from there...
ok, i need some help please... I downloaded the SDK and followed the instruction in this thread, but when i try to update my driver for the phone, it says the driver is not compatible with my phone.. I am using Haykuro's ROM 4.5 with FW 1.5.. would that be the reason for this issue?
devildogg2001 said:
ok, i need some help please... I downloaded the SDK and followed the instruction in this thread, but when i try to update my driver for the phone, it says the driver is not compatible with my phone.. I am using Haykuro's ROM 4.5 with FW 1.5.. would that be the reason for this issue?
Click to expand...
Click to collapse
you may need to uninstall the current driver for your phone if you have mounted it before downloading the SDK. if you don't have the SDK setup the first time you plug the phone in then your computer will auto-update the driver to a regular UMS driver and it won't help you when you try adb. i forget how to uninstall your current driver since i don't use windows, but i'm sure you can find a nice crash course online
tubaking182 said:
you may need to uninstall the current driver for your phone if you have mounted it before downloading the SDK. if you don't have the SDK setup the first time you plug the phone in then your computer will auto-update the driver to a regular UMS driver and it won't help you when you try adb. i forget how to uninstall your current driver since i don't use windows, but i'm sure you can find a nice crash course online
Click to expand...
Click to collapse
I dont know if thats the problem because when i plug it in, it doesnt show up as a notification, and when i go to the device manager it shows the little yellow triangle.. I'll look again. Thanks for the quick reply though. I am no expert in linux, but i have it installed, let me see if i can figure it out there..
tubaking182 said:
you may need to uninstall the current driver for your phone if you have mounted it before downloading the SDK. if you don't have the SDK setup the first time you plug the phone in then your computer will auto-update the driver to a regular UMS driver and it won't help you when you try adb. i forget how to uninstall your current driver since i don't use windows, but i'm sure you can find a nice crash course online
Click to expand...
Click to collapse
ok, so i am in linux now, and i just noticed this guide was for windows.. lol can you or someone tell me how to install the SDK on linux?
devildogg2001 said:
ok, so i am in linux now, and i just noticed this guide was for windows.. lol can you or someone tell me how to install the SDK on linux?
Click to expand...
Click to collapse
Downloading
http://developer.android.com/sdk/1.1_r1/index.html
Installing
http://developer.android.com/sdk/1.1_r1/installing.html
Found through Google...imagine that.
as well as what xyrcncp said can you you can download it and just mv ~/Desktop/sdk/tools/adb /usr/bin/adb abd you should be able to run the adb commands from any directory. not too hard to cd to the correct directory but i personally don't like to type cd ~/Phone/tools/android-sdk/tools every time cause i tend to make typographical errors. let me know how it worked but you shouldn't have any problems at all
umm no offense but your writing a tutorial for people that are not sure on how to do this, so you must assume that they do not know how to run an executable file...... write yourself a better tutorial without actually bashing the self esteem of some people... tutorials are positive not negative. I already know all of this but still... dont degrade someone due to the fact they dont know how, thats the whole point of writing your tutorial. Nothing should have been left out (including how to run a .exe .com or .bat
" (If you do not know how to install a windows executable file, please kill yourself now! ) "
this isnt honestly written with any hatred towards you, it was a good tutorial. Just might want to think about how you write it next time.
The "bashing" comments in my tutorial are directed towards the people with a true sense of humor. My tutorial was written to tell you how to simply complete a task and not to make you feel better about yourself. I do not get pleasure in abusing people's self esteem nor do I enjoy putting people down.
Just because you got a little sand in your crack does not mean you need to come in a very honest and informative thread and start bashing the people who are bending over backwards to help everyone out.
The reason I created this "tutorial" in the first place was because all the other threads are full of "start searching and stop asking so many damn questions" comments.
So start looking in the mirror when you wake up in the morning and stop saying "My, I think I will run over to good ole' XDA and be an @$$ to everyone today".
I am sincerely sorry that a little sense of humor has caused so much hatred in my thread. Please contact the forum moderators and see if the think my tutorial is so hateful.
lol i dont see any hatred but anyway when i download the adb driver when extracting it says unknown method
@ Nabzilla1990
Are you using Windows or Linux?
Are you using the built-in Zip tool or 7-zip from the links I provided?
Are you using a 32 or 64-bit OS?
using the same operating system as you 64bit vista ultimate sp1 and using winrar to extract
Try using 7-zip man, I have been using it for 3 yrs now.
Basically what I am saying is that everything in my guide is guaranteed to work.
Just to add, if you take adb.exe and adbwinapi.dll and copy or move them to the \windows\system32 directory you can run adb from any dos directory prompt.
it worked with 7-zip thank you and also want to add if it doesnt work for some people plug in ur phone and update the usb mass storage with the usb driver from here and it should work i had that problem earlier
Okay, so I did everything and got up to run cmd, when I type in the cd C:\android-sdk-windows-1.1_r1\tools it says not a specififed folder, but when I type it without the \tools it doesnt work. can anyone help?

[Q] sdk tools for xp

is there a way to install the sdk phone tools on xp? I have the 6.1v and visual studios 2010. But when i try to install it says i have to have win7 or vista, and i cant put win7 on machine cause it only has 128m ram. I have a patch file that is suppose to let ya install but haven figured out how to yet.
There are ways to get it installed but the emulator requires Directx 10 so that's not going to work. Without the emulator all you can do is write and compile code but not test to see if it works or not. Not very useful.
XP barely runs on 128mb of RAM so I imagine Visual Studio would be absolutely miserable to use if usable at all.
If you wanna develop for WP7 I guess its safe to say it time for an upgrade.
i would say so as well. even a netbook has more capabilities than that
Im not much of a developer in some ways so as for now all im wanting to do is use the toms installer or the reg sdk deployment tool witch i have but when i try to launch program i get this error:
Could not load file 'Microsoft Smart Device.Connectivity,10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its
dependencies. The system cannot find the file specified.
Then when i try to install the Microsoft XNA Game Studio 4.0 windows phone from the WPDT_RTM_en_iso
i get this error: Microsoft xna game studio4.0 phone ex require visual 2010 or WPDT. install the required app and then relaunch setup. " witch i have the visual studio 2010 installed"
and i have a win7 netbook but have managed to have a kid that spilled tea on it so am trying to figure out the way to do this untill
i can afford to get another netbook.
Thanks for the help and replies guys, very appriciated!!
Ok so I got the xna game studio 4 to install but still getting the phone device connectivity error, is there something I can download to get by this and use the deployment
guess no solution huh
i don't believe so. the way i did it was to use a virtual machine so i could get the phone emulator working on an xp machine (virtual machine has windows 7 on it). but you don't have enough ram for that. you need at least 1.5gb dedicated to the virtual machine alone.
You can try this solution here http://forum.xda-developers.com/showpost.php?p=9618980&postcount=81. I just couldn't get it to install still as I kept getting an error saying could not install the following component .NET Framework 4 Multi-Targeting Pack.
i finally found a iso file and downloaded it then opened up the baseline.dat file and edited it according to the patch settings and everything works just like it does on win7 netbook, just wanted to see if it was possible and it is!
Thanks for the replies.
Could you share that info? Ive been dying to get SDK tools on my XP... Thanks
jasontac said:
i finally found a iso file and downloaded it then opened up the baseline.dat file and edited it according to the patch settings and everything works just like it does on win7 netbook, just wanted to see if it was possible and it is!
Thanks for the replies.
Click to expand...
Click to collapse
Can you please share that? I have 4 XP computers at home and neither of them can run it. It would be great as I need the SDK to run Chevron unlocker! Thanks!
Link pleaseee
I so desperately need this also
for those that want the tools on windows xp, here you go: http://blogs.msdn.com/b/astebner/archive/2010/05/02/10005980.aspx
I finally got it to install on XP!
Here's what I did,
Download the .iso file (it's at the bottom of the page) :
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=04704acf-a63a-4f97-952c-8b51b34b00ce
After, make a new folder on your desktop and extract the ".iso" file into the folder.
Next, I grabbed the ".zip" file from here, : http://forum.xda-developers.com/showpost.php?p=9618980&postcount=81
Take the baseline.dat from the .zip file and replace it in the one with the extracted .iso files. Then just run setup.exe from the file. It should work! But make sure you have about 3 gb free from your hard drive. And emulator doesn't work, but I'm sure its fine if your not a developer.
Remember to hit the thanks button if it worked for you!

Can't install Android SDK - "can't find" JDK

Never mind - hitting Back and then Next again seems to get around this. It doesn't make the slightest bit of sense, but it did work for me.
I'm going a bit nuts trying to install the Android SDK using the installer installer_r10-windows.exe on my 64-bit Windows 7 computer. It always gives me an error about not having the Java development kit installed, despite the fact that I've installed it using jdk-6u24-windows-x64.exe. I have properly set the environment variables for both the jre and the jdk and rebooted. None of this seems to make any difference.
Any hints?
I had the same problem. I downloaded the zip file, instead of the exe, and that worked.
mstevens,
You really don't need the SDK to to the "NVFlash" stuff needed in connection with the ROMs here.
You could go to the "NVFlash" Recovery thread STICKY at the start of
Developers forum and download the "Windows" .zip files there and install
it. The procedure is part of the NVFlash stuff.
If you need the whole SDK then so be it. But if you don't this is an
alternative.
Rev
http://forum.xda-developers.com/showthread.php?t=861950
I'd already been running stuff from the extracted .zip file.
One of my computers seems unable to run an emulator - even though it can create .avd files with no difficulty, it claims it can't find them when I try to launch one.
I'd hoped that a fully-installed version of the sdk might fix this. It didn't. Oh, well.
However, as noted in the edit to my original post, I did find a somewhat silly fix for my installation problem.

Need pro help installing sdk on winxp!

When i try and open sdkmanagerexe to install i get a brief cmd screen flash but program does not run to install. Im running windows xp. I have java 6 update 26 java 7 and java se development kit 7 installed. I have sdk on root of C:/ extracted it right to there. Do not have anything in environment variables yet. I had to uninstall sdk and reinstall and deleted out of variables. Do i need a driver to open to install. Usually i install driver after. I dont know. Im lost. Really would like to get my adb and fastboot working again. Any pros out there willing to help it would be greatly appreciated!!!!! Pm me if you want or i will check back. Thanks in advance!!!!!!! Oh and isnt it possible to get adb and fastboot working without installing sdk?
Sent from my HTC Sensation 4G
Are you full admin on the xp pc? Make sure you have full read/write access to the root drive. I take it you already know how to set the variable for the tools menu. If so, try and older version of the JDK something like version six. Sometimes newer means bugs. Let me know know how it goes.
Would it make a difference putting the variable in before opening sdkmanagerexe? Because last time i installed and it ran and i didnt put the variable in till after it was set up. If you could give a recap on how to do this again it would be great. Also i changed the name of the sdk on root of C:/ to AndroidSDK. Dont know if this is throwing things off. But even when i try opening it without renaming. It still does the same. I will try downloading and installing an older version tomorrow. Ill let you know how it goes. Thank you for the response!!!! Dying to get this fixed and working!!!!! Oh and yes im full admin
Sent from my HTC Sensation 4G
Xx12thANG3LxX said:
Would it make a difference putting the variable in before opening sdkmanagerexe? Because last time i installed and it ran and i didnt put the variable in till after it was set up. If you could give a recap on how to do this again it would be great. Also i changed the name of the sdk on root of C:/ to AndroidSDK. Dont know if this is throwing things off. But even when i try opening it without renaming. It still does the same. I will try downloading and installing an older version tomorrow. Ill let you know how it goes. Thank you for the response!!!! Dying to get this fixed and working!!!!! Oh and yes im full admin
Sent from my HTC Sensation 4G
Click to expand...
Click to collapse
Yes, you have to define and place the variable before starting the sdk executable. I would restart the pc after you do the variable then try running sdk manager again.

Categories

Resources