Android SDK Problems - Android Q&A, Help & Troubleshooting

Hello all...I have the Android SDK set up on my Dell Dimension 4600 running Windows 7 and ADB IS set up correctly as well as my environment variables. So today I go into my Android SDK to run an update and install API packages that I don't have yet and was getting some weird stuff going on. I go to college full time for computer networking and was installing all the API's just fine on my computer at the college today(actually my removable hard-drive in a computer). I got home and decided to run the same on my home computer to keep things up to date and was getting error messages. Has anybody else ever had this problem? Thought I'd ask the question and seek help from the forums. Any help from anybody is greatly appreciated. I have posted my a docx file to take a look at my screenshots and verify that I have the correct files and all. Thanks be to all!
[EDIT] So I found my answer to my problem. When going into Android SDK Manager you must right click on it and run it as an administrator for it to work and download API's correctly. Don't know if anybody else has this issue but there's your answer! Hope it helps out somebody!

Related

unable to see HTC aria in adb devices

I am having a heck of hard time loading the drivers for the Aria.
I do have USB debugging selected, and it shows up as an adb device in the device manager, but it will not load drivers.
I am running windows 7 64bit if that helps. If anyone can help me out I'd greatly appreciate it.
Get a linux live cd, like ubuntu. Then you don't need drivers
EDIT:Upon reading this I sound like a ****. I didn't mean to be, just trying to helps.
I have it working on Win7 x64.
Have you installed the HTC Sync software? You don't need to run it, but need to install it so it can install the correct drivers for you.
I highly, highly suggest using the irc for support.
webchat.freenode.net:6667
#liberatedAria
weezerisock said:
I am having a heck of hard time loading the drivers for the Aria.
I do have USB debugging selected, and it shows up as an adb device in the device manager, but it will not load drivers.
I am running windows 7 64bit if that helps. If anyone can help me out I'd greatly appreciate it.
Click to expand...
Click to collapse
I had the same issue I'm sure the problem is that you need the ADB drivers which is provided by HTC Sync..
Try installing HTC SYNC UPDATE FOR HTC ARIA™ (AT&T) (2.0.38) | 06.22.2010
http://member.america.htc.com/download/Web_materials/Manual/HTC_Aria_ATT/HTCSync2.0.38.exe
I too am running windows x64 and it worked for me.
Thank you all for your replies! The HTC Sync was exactly what I needed. Thanks!
also, see this post from modest android
http://forum.xda-developers.com/showpost.php?p=7006760&postcount=2
I tried and tried for days to get this working and couldnt. Yesterday I uninstalled and reinstalled the same version of HTC Sync and everything worked on the first try.
Anyone else completely unable to download the HTC Sync software for Aria? I've been trying to root this bad boy for a day and a half now, and just when I've got it narrowed down to no drivers, the HTC site seems to have completely forgotten what HTC Sync for Aria is. lol
-----Edit-----
The download LOOKS like it's available for the Aria, on the Aria downloads page. They ask for my serial number, verify it, and give me a download link. THe download link takes me to a generic download page, where the only version of Sync listed is 2.0.33. Anyone able to get it? Anyone able to host it for download?
Why edit the post again? lol
The new link is to the new version of HTC Sync. I can't post the link, because I'm a n00b, but this is the portion after the domain.
/download/Web_materials/Manual/HTC_Aria_ATT/HTCSync3.0.5372.exe
Try this... it worked for me
taliesin1077 said:
Anyone else completely unable to download the HTC Sync software for Aria? I've been trying to root this bad boy for a day and a half now, and just when I've got it narrowed down to no drivers, the HTC site seems to have completely forgotten what HTC Sync for Aria is. lol
-----Edit-----
The download LOOKS like it's available for the Aria, on the Aria downloads page. They ask for my serial number, verify it, and give me a download link. THe download link takes me to a generic download page, where the only version of Sync listed is 2.0.33. Anyone able to get it? Anyone able to host it for download?
Click to expand...
Click to collapse
After you enter your serial number and the download link appears, don't left click it, right click it and choose save target as. That's how I got HTC sync. Now if I could just get the darn Aria rooted...
timtucker said:
Now if I could just get the darn Aria rooted...
Click to expand...
Click to collapse
it is *really* simple using a Linux Boot CD, nothing to install and it just works almost immediately. Use the IRC #liberatedAria channel for help
here's a mirc command , just type or paste this into Status window
/server -m chat.freenode.net -i timtucker timtucker- [email protected] tim_tucker -j #liberatedAria
The link doesn't work for me; did they pull it already?
Apparently, they were working on a new version of Sync. On Friday, after I posted, I noticed a new version alongside the old. And the old link started working again. After many tries with the usb plug timing, I was able to root my aria. Thanx to all!
Sent from my HTC Liberty using XDA App
Linux Live CD
I know Ubuntu is much easier to get ADB running. But, I edited the file to add the Vendor ID:
Code:
sudo leafpad /etc/udev/rules.d/51-android.rules
In the file, which leafpad created, I typed these two lines for the Kindle Fire 2:
SUBSYSTEM==”usb”,SYSFS{idVendor}==”0x1949″,MODE=”0666″​SUBSYSTEM==”usb”,SYSFS{idVendor}==”1949″,MODE=”0666″​
For HTC, the code is "0bb4"
So, use:
SUBSYSTEM==”usb”,SYSFS{idVendor}==”0bb4″,MODE=”0666″​
I saw 0x1949 in the windows .ini file, and most Linux VIDs were just four digits, so I did both...
Worked like a charm. There's a great tutorial for ADB on Ubuntu / Xubuntu
Joe

Android SDK Setup - Java is not found in your PATH.

Hi,
I am new to Android. I have downloaded and installed every necessary component in order to start working with Android. The issue I am having is that in Command Prompt, anything I type in related to the Android SDK (for example: adb, or even just android) comes back with "Java was not found in your path". Now, I have changed all my PATH variables under "User" to the EXACT locations of where these folders are, but no dice. It keeps telling me to go and edit my PATH variables. Even running SDK Setup, gives me the same error, and tells me to add where Java was found (even though I have!).
I am starting to get really fed up with this, because Eclipse can't find the "jre" folder inside the Java JDK, either (that is, of course, until I copy the entire jre folder inside of the eclipse folder, or put eclipse inside of the JDK folder)...
I just know it shouldn't have to be this tedious to set everything up and I would really appreciate it if someone can help with this
I am running Java JDK 1.6.0_21 (x64), Eclipse Helios (3.6) IDE for Java EE Dev., Android SDK Revision 6, all on Windows 7 Ultimate x64.
Something to note: I have not encountered any problems with Eclipse Helios and the ADT plugin as stated on the Android Developers website. I can use Eclipse and the SDK to create and run the"Hello, Android!" application on the emulators without issues. I just want to be able to run everything from the command prompt, too. Now, if I can only get my phone to be recognized after I get this resolved.
I also need this for rooting and unlocking the phone.
Bazz44 said:
Hi,
I just know it shouldn't have to be this tedious to set everything up and I would really appreciate it if someone can help with this
I am running Java JDK 1.6.0_21 (x64), Eclipse Helios (3.6) IDE for Java EE Dev., Android SDK Revision 6, all on Windows 7 Ultimate x64.
Click to expand...
Click to collapse
In the SDK tools folder go to libs and edit find_java.bat.
Change all instances of %PROGRAMFILES% to %PROGRAMFILES(X86)% .
I had to do this for my SDK.
Your java will probably still resides in c:\program files (x86)\java or the likes.
To test if it works open DDMS.bat(May need to open twice).
I ran "ddms.bat" before changing the "find_java.bat", and it just came up that it could not find the path > checking if it is installed elsewhere. I did what you suggested (I found three instances of where I needed to add the (x86)), ran "ddms.bat", and got the same error. However, this time it also opened the Dalvik Debug Monitor. Eclipse still won't run without its own copy of the "jre" folder from the JDK at the same folder level as the "eclipse.exe"...
any luck with this? I'm also having same trouble in Win7x64
Gonna give in otherwise n reboot my ubuntu system see if thats any easier
i know i can't use OpenJDK or something so ill have to swap that but fingers crossed
=]
Solution
Install any JRE Java, Copy the java folder at program files/Java/jre6 Paste it inside MOTODEV´s folder program files/Motorola/MOTODEV Studio for Android 1.2/ and rename it to jre
Done
Edited the eclipse .ini works a treat now wi java x64...
time to whip out the olde java books from college an see if any of it comes back to me
Is it possible to install the android sdk platforms & extras offline manually, my only net atm is my desire tethered, unlimited data but I don't wanna push my luck
I'm not sure if it may be related or not but according to the android dev page, you should be using eclipse 3.5 because they have been having problems with 3.6
May or may not be related but worth a shot.
I'm not sure if it may be related or not but according to the android dev page, you should be using eclipse 3.5 because they have been having problems with 3.6
May or may not be related but worth a shot.
i need help http://forum.xda-developers.com/showthread.php?p=24028502#post24028502
Please use the Q&A Forum for questions &
Read the Forum Rules Ref Posting
Moving to Q&A
Make nu system path
Try making new system path named PATH (all caps). its an issue with Win7 64. Hope it helps. and yes Installing the Android sdk is a giant head****. I have it all put as fare as the link to abandroid put it doesn't make plug-in available in the plug-in list. I'm at a loss...
As i said, hope it works.
Having just had this issue myself on a new install of eclipse, the sdk and adt, here's what finally helped me: making sure the java\sdk1.6.x.x\bin directorywas in front of the windows\sys32 directory in the PATH statement of the environmental variables.
I did already add the JAVA_HOME and such, but the above was the step that finally allowed me to finish the setup.
Fix for Win7 64bit and Android SDK/Java install
MacDegger said:
Having just had this issue myself on a new install of eclipse, the sdk and adt, here's what finally helped me: making sure the java\sdk1.6.x.x\bin directorywas in front of the windows\sys32 directory in the PATH statement of the environmental variables.
I did already add the JAVA_HOME and such, but the above was the step that finally allowed me to finish the setup.
Click to expand...
Click to collapse
I had to finally use JAVA_HOME C:/PROGRAM FILES/JAVA/JDK1.7.0_05 That finally allowed me to instal the Android SDK
best answer
rowdyvc said:
I had to finally use JAVA_HOME C:/PROGRAM FILES/JAVA/JDK1.7.0_05 That finally allowed me to instal the Android SDK
Click to expand...
Click to collapse
Thank you you solve my prob man

[SOLVED] Trouble installing SDK on 64Bit Windows 7

Hey guys, Ive just purchased a new x64 windows7 computer and am having difficulty getting the SDK installed.. I had it on my xp 32bit just fine, but the installer for android sdk wont recognize that I have the Java SE JDK installed and is telling me to set an environment variable to point to it. I am not all that familiar with setting Environment variables, or the new OS, any help would be greatly appreciated thanks. Just looking to get adb running for GB and above for ODIN, not looking to develop.
To install Odin3 and flash roms you don't use adb.exe for any task.
But the answer to your trouble is your path.
I wish that i knew more about ADB, and the SDK...
I did manage to establish a working development environment last spring, but the system I use is only a 32 bit environment.
The time since my setup has been so long ago now, that I have forgotten the particulars of the build. But I did learn a great deal from the guides posted here:
http://www.xda-developers.com/android/all-in-one-guide-to-adb/
Forgive my limited reply, as I desire to help you, but its quite clear that your knowledge of the android SDK exceeds that of mine.
And if you dont mind, I wish ask a question of you.
As you have used the 32 bit SDK successfully in the past, is it possible to copy and transfer all of the files needed to produce a working environment by simply loading said files from one PC to another ??
Or is the environment an individual set of parameters that must be created for use on each machine ??
I have never been successful in my search for an answer to that question.
Im sorry that its such an off topic request, but I truly wish to learn more in my old age....tbank you...g
rangercaptain said:
To install Odin3 and flash roms you don't use adb.exe for any task.
But the answer to your trouble is your path.
Click to expand...
Click to collapse
Thanks for the quick response, yea i gathered that much with the path , just dont know which field to put it in under environment variables or the proper format.. my question is how to properly set environment variables for the sdk to install.. Or just even a workaround for getting ADB up on windows 7.. Had no issues whatsoever on XP.. I Extracted the java.exe to the path the sdk software is looking, and still no luck (i like having ADB to push apks, root or recoveries n such when not looking to ODIN etc) I've tried several different tutorials and can't seem to get past the install of the sdk verifying i have the java se installed. ..
Sent from my SAMSUNG-SGH-I717 using xda app-developers app
gregsarg said:
I wish that i knew more about ADB, and the SDK...
I did manage to establish a working development environment last spring, but the system I use is only a 32 bit environment.
The time since my setup has been so long ago now, that I have forgotten the particulars of the build. But I did learn a great deal from the guides posted here:
http://www.xda-developers.com/android/all-in-one-guide-to-adb/
Forgive my limited reply, as I desire to help you, but its quite clear that your knowledge of the android SDK exceeds that of mine.
And if you dont mind, I wish ask a question of you.
As you have used the 32 bit SDK successfully in the past, is it possible to copy and transfer all of the files needed to produce a working environment by simply loading said files from one PC to another ??
Or is the environment an individual set of parameters that must be created for use on each machine ??
I have never been successful in my search for an answer to that question.
Im sorry that its such an off topic request, but I truly wish to learn more in my old age....tbank you...g
Click to expand...
Click to collapse
My apologies if i sounded sassy in my response, i didn't mean to offend and am very thankful for all that u contribute here on xda and ur response. As for your question, i believe IMO due to the heavy reliance on drivers for the SDK to run for "X" device(s) development is being implemented on, it would more than likely need to be created specific to each machine during the install of each runtime ..but would imagine certain elements could be transferred or copied across. . But again just my guess, for i have not tried. I am new to win 7 and a NEWB to XDA. .. You sir are the mentor in this happenstance. Thanks again for the link and advice.
Sent from my SAMSUNG-SGH-I717 using xda app-developers app
Make sure you installed 64bit java. I had the same problem and it turned out I kept installing the 32bit java. Their downloads can be very confusing.
Right click on "computer" on the start menu or in Windows explorer. Then go to properties.
On the left you will see an option that says "advanced system settings"click on that.
In the new window there will be 5 tabs up top, go to the "advanced" tab which is in the middle.
Once there, at the bottom is a button that says "environmental variables"
Click on that and there will be a new window broken into 2 sections: user variables, and system variables.
Go down to system variables till you see one named "path" select it and choose edit.
Now, you should have the java jre installed.
I have a 64 bit environment with 32 bit java,.That's fine.
The path that is installed to, and what you want to enter into your variable is:
;C\program files (x86)\java\jre7\bin
Close that out.
Now open a command prompt and simply type java, if you get a long list of details that tell you the commands you can use, congratulations java is now in your path.
If it says "java is an unknown command" you have messed up somewhere.
Ok, now that you have adb installed, go to the platform-tools folder.
Copy:
Aapt.exe
Adb.exe
Adbwinapi.dll
Adbwinusbapi.dll
And paste those into your main Windows folder.
Now, you can enter adb command from any directory, you do not have to cd to the platform-tools folder first.
Excellent ....
Many thanks !!.....g
studacris said:
Right click on "computer" on the start menu or in Windows explorer. Then go to properties.
On the left you will see an option that says "advanced system settings"click on that.
In the new window there will be 5 tabs up top, go to the "advanced" tab which is in the middle.
Once there, at the bottom is a button that says "environmental variables"
Click on that and there will be a new window broken into 2 sections: user variables, and system variables.
Go down to system variables till you see one named "path" select it and choose edit.
Now, you should have the java jre installed.
I have a 64 bit environment with 32 bit java,.That's fine.
The path that is installed to, and what you want to enter into your variable is:
;C\program files (x86)\java\jre7\bin
Close that out.
Now open a command prompt and simply type java, if you get a long list of details that tell you the commands you can use, congratulations java is now in your path.
If it says "java is an unknown command" you have messed up somewhere.
Ok, now that you have adb installed, go to the platform-tools folder.
Copy:
Aapt.exe
Adb.exe
Adbwinapi.dll
Adbwinusbapi.dll
And paste those into your main Windows folder.
Now, you can enter adb command from any directory, you do not have to cd to the platform-tools folder first.
Click to expand...
Click to collapse
Thank you very much sir for the indepth instructions. . Between your directions and gregsarg's link i was able to get adb up by using the 32bit ver download instead of the 64bit even though my machine is 64bit... Guess there is at least a little functional backwards compatibility left in win 7 afterall. ..:thumbup::thumbup:
Please re-edit your title so you have [solved]Original Question so others having the same issue can enjoy the given solution. Thank you.

[Q] Android SDK install fails

Trying to install the most recent version on this new computer, after downloading the SDK and continuing to install, it isn't detecting JAVA developement kit, right after you hit next to install the software it goes to the next window saying it can't detect Java, and I'm certain it's there.
THoughts
Have you updated? I think oracle pushed a new update recently, they may have changed install path
think so
the page where it gets hung actually has a link to oracle, i went and downloaded package 7u7 for windows, I alredy had it on the computer anyway, that same window says if you think its on your computer go to environmental variables and put it HOME_JAVA which I did, and I still can't get past that window......i hate this lol
Hmm, well I haven't had a chance to set it up on my pc nor have I had any inclination to do so. My only source of internet is a sad WiMAX connection under 1Mb, the 3g in my phone is faster sometimes. Every once in awhile I get a little over 5 but most if the time its too slow for any sort of large files
musicman625 said:
Trying to install the most recent version on this new computer, after downloading the SDK and continuing to install, it isn't detecting JAVA developement kit, right after you hit next to install the software it goes to the next window saying it can't detect Java, and I'm certain it's there.
THoughts
Click to expand...
Click to collapse
Do you need the entire SDK? I know om4 has a link for adb lite
Sent from my EVO using xda premium

help needed with ubuntu (chroot) on my device

hey all i have an alps u89...
this phone http://cwelltech.en.alibaba.com/pro...quad_core_android_4_2_Star_mobile_phones.html
and i am unable to get ubuntu running on it via chroot method
i am wondering if anybody else has had it running on this phone, or if anyone may know what the problem could be...
after installing needed apps from market and downloading ubuntu image i try and run the setup in cmd and it just seems like nothing wants to work
i have googled every combination to try and find some answers but to no avail...
i have also tried every ubuntu installer app the market... none seem to work... i dont know if my device supports loop devices which is a requirement, but it says that if it dont support loop devices it simply wont boot into ubuntu, but im unable to get it to even start installing...
so any help is greatly apprieciated...
and if anyone is able to assist me in getting it to run on my phone, i am happy to buy them a drink or two as i have near enough given up any hope of having a nice ubuntu running
one last note, i did have a very primitive linux distribution running(gimp) had very limited functionality and it wasnt what i was after...
i cant remember which of the market installer apps i used for it but i am after ubuntu to be as close to the pc counterpart as possible
whats that i hear? challenge accepted??
i hope i heard right

Categories

Resources