[Q]Android SDK - General Questions and Answers

Hi everyone,
i installed the android sdk r08 on my computer running windows 7, and when i tried to download the packages, it said "failed to create directory C:\Program Files\Android SDK\android-sdk-windows\temp"
i have used the sdk before on my vista and ubuntu computers, so can someone please help me out?

jwils96 said:
Hi everyone,
i installed the android sdk r08 on my computer running windows 7, and when i tried to download the packages, it said "failed to create directory C:\Program Files\Android SDK\android-sdk-windows\temp"
i have used the sdk before on my vista and ubuntu computers, so can someone please help me out?
Click to expand...
Click to collapse
Right click SDK Manager > Run as Administrator.

Enhanced said:
Right click SDK Manager > Run as Administrator.
Click to expand...
Click to collapse
for my firewall
after having instaler JDK and JRE I can not Toujouse instaler SDK R08 I had to instaler SDK r12

I can't help you, sorry...

Please use the Q&A Forum for questions Thanks
Moving to Q&A

Related

[Q] Not able to install the SDK packages, coz SDK blinks for a sec and then closes.

So, I am sorry, if this is a stupid question, I am novice here. I am trying to run SDK manager on windows 7, 32-bit os. It's already installed. Whenever I try running SDK manager, It flashes for a sec and disappears. When I tried executing android.bat from tools, what I got was :
C:\Program Files\Android\tools>android
[INFO] Starting Android SDK and AVD Manager
'xcopy' is not recognized as an internal or external comman
operable program or batch file.
No command line parameters provided, launching UI.
See 'android --help' for operations from the command line.
Exception in thread "main" java.lang.NoClassDefFoundError:
ts/Display
at com.android.sdkmanager.Main.showMainWindow(Main.
at com.android.sdkmanager.Main.doAction(Main.java:2
at com.android.sdkmanager.Main.run(Main.java:99)
at com.android.sdkmanager.Main.main(Main.java:88)
I have java 6 up date 25 already installed and the path is already added to environ var. Also I am interested in developing for android, If anybody is interested in showing me how, I wud be very greatfull. Thanks in advance. Plzzzzzzz........ HELP.
Currently Using : HTC Desire Z.
And yes, I am having eclipse 3.2 already installed on my system. PLzz help................................., somebody......................, anybody.
General tip
If you double click some techie program on Windows and see it just appear and disappear like that, it usually means that this program is meant to be run in a command line window.
So go to All Programs -> Accessories -> Command Prompt and open that
Then go to wherever that program is installed and run it from there.
Oh, and note that Android development needs the JDK, not the JRE version of Java, The JDK contains all the extra parts needed for Java software development in general, including key parts needed by the Android SDK.
While the JRE can be downloaded from www java com , the JDK is only available from java.sun.com .
P.S.
Sorry for not making proper links, but I have not made enough posts to allow them yet.

[Q] How to install Android Debug Bridge?

I downloaded sdk setup tool from this link.
http://developer.android.com/sdk/index.html
But I don't know what to install.
Android 2.2 but, which tools?I just want to install ADB
If you installed the SDK from the page you linked to then you have the adb executable. This page tells you where the executable can be found (ex. C:\Program Files (x86)\Android\android-sdk\platform-tools) and some of the commands.
http://developer.android.com/guide/developing/tools/adb.html
You don't need the entire sdk installed if you just want adb. You just need adb.exe and the two support dlls. Put it anywhere you want and add that directory to your system path to make your life easier. Here are the files from the latest sdk.
http://www.multiupload.com/6TYIX5IB6M
What does that help you do???
Sent from my LG-P999 using xda premium
I was asking it for fixing internal partitions.Anyway problem solved.Thanks for your attention
thank you for the helpful information

can't load/run android sdk

Win7-64
Cannot seem to load the android sdk. I have downloaded the Java SDK SE 7u5 and the JRE 7u5 and installs seem ok. But when I try to execute the android sdk (installer_r20.0.1-windows.exe) I get the error "Java SE Development Kit (JDK) not found. Error: Failed to find Java version for 'c:\windows\system32\java.exe'"
I then added a path in the environment variables as JAVA_HOME to point to this c:\windows\system32\java.exe' but still refuses to load.
Have tried reset, reboot and no go. I have also searched the FAQ but did not locate an answer.
My intent is to work with the Android system for the Google Nexus 7 tablet.
Can anyone please point me to a resolution? Thanks!
caprock said:
Win7-64
Cannot seem to load the android sdk. I have downloaded the Java SDK SE 7u5 and the JRE 7u5 and installs seem ok. But when I try to execute the android sdk (installer_r20.0.1-windows.exe) I get the error "Java SE Development Kit (JDK) not found. Error: Failed to find Java version for 'c:\windows\system32\java.exe'"
I then added a path in the environment variables as JAVA_HOME to point to this c:\windows\system32\java.exe' but still refuses to load.
Have tried reset, reboot and no go. I have also searched the FAQ but did not locate an answer.
My intent is to work with the Android system for the Google Nexus 7 tablet.
Can anyone please point me to a resolution? Thanks!
Click to expand...
Click to collapse
First, make sure that the file java.exe is in this folder "C:\WINDOWS\system32\".
If this file is there, try to run "C:\WINDOWS\system32\java.exe -version" and make sure that you see the message java version "1.7.0_05"
If not - just reinstall java
PlanetInPocket said:
First, make sure that the file java.exe is in this folder "C:\WINDOWS\system32\".
If this file is there, try to run "C:\WINDOWS\system32\java.exe -version" and make sure that you see the message java version "1.7.0_05"
If not - just reinstall java
Click to expand...
Click to collapse
Thanks - This works:
java version "1.7.0_5"
Java(TM) SE Runtime Environment (build 1.7.0_05-b06)
Java HotSpot(TM) 64-bit Server VM (build 23.1-b03, mixed mode)
if the problem hasn't been solved yet just try to install 32-bit version java (before remove 64-bit version)
caprock said:
Win7-64
Cannot seem to load the android sdk. I have downloaded the Java SDK SE 7u5 and the JRE 7u5 and installs seem ok. But when I try to execute the android sdk (installer_r20.0.1-windows.exe) I get the error "Java SE Development Kit (JDK) not found. Error: Failed to find Java version for 'c:\windows\system32\java.exe'"
I then added a path in the environment variables as JAVA_HOME to point to this c:\windows\system32\java.exe' but still refuses to load.
Have tried reset, reboot and no go. I have also searched the FAQ but did not locate an answer.
My intent is to work with the Android system for the Google Nexus 7 tablet.
Can anyone please point me to a resolution? Thanks!
Click to expand...
Click to collapse
Your JAVA_HOME should never point to /system32, otherwise you messed up the Java installation. Download the Java JDK from Oracle, and install it to its own folder.

[Q] Unbricking LG P500 with Android SDK HELP!!!

Hello! Yesterday I was putting a custom recovery on my LG p500, and as I am a noob in phones and everything else I fcked up something, and now i have the ''fastboot mode started'' screen. Now, on this http://www.androidpure.com/unbrick-lg-p500-stuck-at-fastboot-mode-due-to-bad-recovery-flash/ page, i have downloaded all the things listed there.
Now, my computer recognizes the phone, it doesn't open the ''removable disk F'' as it has always, but it says it is recognized.
WHen i downloaded Android SDK, on the page they say I should have a directory on disk C, but I DONT KNOW HOW TO INSTALL ANDROID SDK!! When i click on SDK manager it just opens a window similiar to cmd prompt, and then the window close after some seconds.. Please help me!!
Also, on that link there is the cmd program open and he says what to write to unbrick it, but I don't understand anything about it!! Please someone help me I am mad!!!
Instead of messing with the entire Android SDK, which isn't needed BTW, why not use Android Flash Recovery to install another recovery? Link for Android Flash Recovery ( AFR ) is in my signature. It's just a simple UI for the fastboot executable from the Android SDK. No command windows to deal with and nothing to type. Point and click...
As per you problem with the SDK, Android can't find your Java installation. Did you install Java 6 or 7 SDK as well?
shinobisoft said:
Instead of messing with the entire Android SDK, which isn't needed BTW, why not use Android Flash Recovery to install another recovery? Link for Android Flash Recovery ( AFR ) is in my signature. It's just a simple UI for the fastboot executable from the Android SDK. No command windows to deal with and nothing to type. Point and click...
As per you problem with the SDK, Android can't find your Java installation. Did you install Java 6 or 7 SDK as well?
Click to expand...
Click to collapse
I got rid of the problem, but if the problem gets back i will use your link! thanks!
Kk connect USB goto sdk and find fastboot binary use cmd. And do fastboot flash recovery /path to SD/
Sent from my LG-P500 using xda app-developers app

[Completed] Just Getting Started with Android Development Studio

I've downloaded the Dev Studio then it says I need the JDK. So, I downloaded it and now it's saying I need the JVM. The dialog box also says if I have already downloaded the JDK then I have to go into System Settings and point to it. How do I do that?
Hi there and welcome to Assist,
Here is few guides where you can start from:
[Tutorial] Install Sun Java JDK 6 on Ubuntu 12.04 LTS
[GUIDE][DEV] How to install Sun Java Oracle 1.6.0 - 1.7.0 jdk on Ubuntu 12.04+
[UBUNTU] SDK,JDK,ADB Script
Good luck

Categories

Resources