ADB & SDK help - EVO 4G Q&A, Help & Troubleshooting

Does anybody have links to, or willing to share the programs needed (Android SDK, Drivers, etc.)? I have been trying to find all the programs, but keep running into dead ends. The Drivers file listed in JoeyKrim's "Basics of ADB" thread are no longer hosted, The ADB files in SDK are missing a lot of files, and I don't know which ones I need. In place of the files, is a Notepad Readme which I Copy/Pasted here:
Welcome to the Android SDK!
The Android SDK archive now only contains the tools. It no longer comes
populated with a specific Android platform or Google add-on. Instead you
use the SDK Manager to install or update SDK components such as platforms,
tools, add-ons, and documentation.
In order to start developing applications, you must install at least one
version of the Android platform using the SDK Manager.
This requires an Internet connection, so if you plan to use the SDK
offline, please make sure to download the necessary components while online.
To start the SDK Manager, please execute the program "SDK Setup.exe".
Any help would be appreciated...

if you've downloaded the SDK from devlopers.android.com (i think is the url) then load it up and download everything that offers, so that you can make some android emulators for local testing.
then get yourself an IDE for programming in, eclipse has a nice plugin for android development, i use it myself. its a bit dated as an ide, but its nice.
once you have that youre done.
you can either use the emulator to test your code or actually run it on your android device if its connected.
good luck.

That's where the problem comes in. When I try to install the Android SDK, it doesn't have anything available. It has a "Readme" File that says you need to manually download the necessary add-ons. I don't know what add-ons to download. Also, the driver files that joeykrim references in his "Basics of ADB" thread have been removed from the servers, so I don't have access to them.
When I Rooted my EVO, I used Jiqqaman's 3 click "Simple Root", which loads the Clockwork Recovery. I would like to learn how to do some of the things myself, since other than changing ROM's, there isn't much that can be done without the correct programs (Pushing/pulling apks from the phone, some of the diagnostics need to be done from a shell, etc.)

The Android SDK archive now only contains the tools. It no longer comes
populated with a specific Android platform or Google add-on. Instead you
use the SDK Manager to install or update SDK components such as platforms,
tools, add-ons, and documentation.
To start the SDK Manager, please execute the program "SDK Setup.exe".
Click to expand...
Click to collapse
did you even read the README file? its right there.
run the SDK setup.exe -> available packages, and go get what you need.
then look up getting android development working in eclipse.

Related

Installing Drivers Not Working

I am using SDK to install drivers so I can take a picture of my Android screen.
Trying to use the following guide:
Follow these steps to install new SDK components in your environment:
1. Launch the Android SDK and AVD Manager as described in the section above.
2. Select Available Packages in the left panel. This will reveal all of the components that are currently available for download from the SDK repository.
3. Select the component(s) you'd like to install and click Install Selected. If you aren't sure which packages to select, read Which components do I need?.
4. Verify and accept the components you want and click Install Accepted. The components will now be installed into your existing Android SDK directories.
New platforms are automatically saved into the <sdk>/platforms/ directory of your SDK; new add-ons are saved in the <sdk>/add-ons/ directory; samples are saved in the <sdk>/samples/android-<level>/; and new documentation is saved in the existing <sdk>/docs/ directory (old docs are replaced).
_____________________________________________
I get to "Available Packages" then when trying to search or install drivers, it gives me the following message:
Failed to fetch URL https://dl-ssl.google.com/android/repository/repository.xml, reason: HTTPS SSL error. You might want to force download through HTTP in the settings.
Any help? I just want to take a simple picture of my phone and the developers of this thing didn't have the foresight to just make it simple like iPhone?
Thanks.
nbakid2000 said:
I am using SDK to install drivers so I can take a picture of my Android screen.
Trying to use the following guide:
Follow these steps to install new SDK components in your environment:
1. Launch the Android SDK and AVD Manager as described in the section above.
2. Select Available Packages in the left panel. This will reveal all of the components that are currently available for download from the SDK repository.
3. Select the component(s) you'd like to install and click Install Selected. If you aren't sure which packages to select, read Which components do I need?.
4. Verify and accept the components you want and click Install Accepted. The components will now be installed into your existing Android SDK directories.
New platforms are automatically saved into the <sdk>/platforms/ directory of your SDK; new add-ons are saved in the <sdk>/add-ons/ directory; samples are saved in the <sdk>/samples/android-<level>/; and new documentation is saved in the existing <sdk>/docs/ directory (old docs are replaced).
_____________________________________________
I get to "Available Packages" then when trying to search or install drivers, it gives me the following message:
Failed to fetch URL https://dl-ssl.google.com/android/repository/repository.xml, reason: HTTPS SSL error. You might want to force download through HTTP in the settings.
Any help? I just want to take a simple picture of my phone and the developers of this thing didn't have the foresight to just make it simple like iPhone?
Thanks.
Click to expand...
Click to collapse
ur posting this in the wrong section in the forums... go to the market and download a app that'll take a screenshot of your android device screen. i believe you need root for that though so make sure you have a rooted device. if not, check out the forums for the 3 step root process. so easy a caveman can do it. cheers.
I wasn't aware this was the wrong forum for this...especially since I'm attempting to install software that is specifically for the developers of Android.
My phone isn't rooted, either.
Although the app says you need root you actually don't.

How To Set Up an IDE to Develop to the Nook Touch on Windows

Setting up a development environment is really not that hard. I am using Windows 7 with a 64-bit processor, although the procedure is not terribly different across sytems, just make sure you choose the right download for your architecture.
The entire process can be broken down into four major steps. Let's get started.
1) Get Java
You can get the Java Standard Edition Software Development Kit through this link: http://www.oracle.com/technetwork/java/javase/downloads/
At the time of writing this post, the latest version available is 7u3. Click the download button under where it says 'JDK' and you will be taken to a list of installers. Make sure you get an installer from the group who's header is "Java SE Development Kit 7u3"; the other one is just sample code.
Make doubly sure that you choose the right architecture (x86 vs x64) as the wrong one will give you an error message and you will have to go uninstall everything and start over.
After the download has finished, run the installer.
Note: It may give the option to install JavaFX and the Ask Toolbar. While they won't hinder your development in any way, there won't be any need for them within the scope of this guide so you might find it worthwhile to not install them.
2) Get Eclipse
Once you've installed the Java DK, go get a copy of the Eclipse IDE here:
http://www.eclipse.org/downloads/ You can see that the IDE comes in many different flavors. Eclipse Classic will work fine.
Extract the folder and place the 'eclipse' subdirectory in a safe place. Try running eclipse by traversing this directory and running eclipse.exe. If you see the Eclipse splashscreen, everything is OK. If you see an error message then something may have gone wrong when you installed Java. If it complains about missing or corrupted DLLs, you probably have installed the wrong version of Java for your system. If it complains about not being able to find Java (for example, stuff about javaw.exe) you may need to manually add Java's location to your Path environmental variable. There is lots of documentation on how to do throughout the internet and most can probably explain it better than me. (^; Another method to fix the problem is to go find out where all the Java binaries are (Normally something like "C:\Program Files\Java\jdk~~~~~~~\bin"), copy the directory path, and add
Code:
-vm
<FOLDERPATH>\javaw.exe
to the end of the 'eclipse.ini' file that resides alongside 'eclipse.exe'
Note: You may notice that the version of Eclipse you downloaded isn't installed, but instead just runs out of a folder. You may want to consider creating a binaries folder in your home directory to keep all of software of this style in one place.
3) Get Android Plugins for Eclipse
Now that you have Eclipse up an running, you need to set it up for Android development. Start Eclipse up and click the 'Help' menu. Click 'Install New Software...'
In the window that comes up, you should see a combo box labelled 'Work with:' . Paste in:
Code:
https://dl-ssl.google.com/android/eclipse/
then hit enter.
Check 'Developer Tools' and click next. Let Eclipse do it's thing then click 'Finish'.
4) Get the API
Now that you have Eclipse's Android integration plugins, you need to grab an Android API. In Eclipse, under the 'Window' menu, click 'Android SDK Manager.'
The window that opens will automatically go to the internet and grab all the API packages available to download. The Nook Touch currently runs Android 2.1, so find that package set and check it. Click the 'Install <x> Packages' button and let it run.
You are finished! Now to create an Android program. In Eclipse's main menu, navigate File > New > Other... and select 'Android Project' from the 'Android' folder in the window. If you want to modify the source of an existing program, choose the appropriate radio button and browse to the parent directory of the 'src' folder. After you have created your project, you are going to want to make sure it has the right dependencies. On the lefthand pane ('Package Explorer') right click your project folder (The top one) and hit 'Properties.' Under the 'Android' screen, make sure 'Android 2.1' is checked and not another version. Click OK and you should be set.
To generate an APK, under 'File' click 'Export.' In 'Android' click 'Export Android Application.' Choose the right project, click next. If this is the first time you've exported an Android application, you will need to create a keystore. Select the appropriate radio button, navigate to a safe location, and give it your keystore a password. Click 'next' and add all the information you see fit. You will be able to reuse this keystore in future programs. After you've created a keystore, proceed through the export wizard, give your APK a filename, click finish and the file will be generated.
The rest is up to you. (^:
Thanks klausef!
For a non-dev (OK, I used to program short apps in BASIC on my commodore 64 when I was 8 years old), how much can I hope to achieve by setting this up? Do I need to understand a programming language? If so, which? Do you have any suggestions for a noob like me?
Haha I am no Java expert myself but I've been hacking around with the NoRefresh thing and other apps people have coded. You can do more than you think just by rummaging around online documentation.

Using Android SDK for screenshots...

I have the Android SDK installed from this: installer_r20-windows.exe
When I follow the instructions on every tutorial I've found, (CMD window, go to tools dir, type ddms...) which used to work on my older version of Android SDK, I now get an error:
"SWT folder 'lib\x86' does not exist.
Please set ANDROID_SWT to point to the folder containing swt.jar for your platform."
Now, swt.jar is in \x86_64
I tried changing that dir to be called x86 but that gave me a series of other errors. I can't find anything called "ANDROID_SWT"... what do I do?
Rooted Kindle Fire (yes I have a screenshot app, but I have other reasons for wanting to see it on my computer.)
Searched the forum and didn't find anything that seemed to help...
Try using AirDroid instead, works perfectly fine for what you need. It's available on the Play Store.
Sent from my Amazon Kindle Fire using xda-developers app
WebKat said:
I have the Android SDK installed from this: installer_r20-windows.exe
When I follow the instructions on every tutorial I've found, (CMD window, go to tools dir, type ddms...) which used to work on my older version of Android SDK, I now get an error:
"SWT folder 'lib\x86' does not exist.
Please set ANDROID_SWT to point to the folder containing swt.jar for your platform."
Now, swt.jar is in \x86_64
I tried changing that dir to be called x86 but that gave me a series of other errors. I can't find anything called "ANDROID_SWT"... what do I do?
Rooted Kindle Fire (yes I have a screenshot app, but I have other reasons for wanting to see it on my computer.)
Searched the forum and didn't find anything that seemed to help...
Click to expand...
Click to collapse
This is referring to a system variable most likely. Right click My Computer > Properties > Advanced system settings > Advanced > Environment Variables. You'll probably find it in there and it'll need to be updated to your new \x86_64 path.
Try searching google instead of the forums. Seeing as how it's a SDK issue you'll probably get better results; just include 'environment variable' and 'path' to your search keywords and I'm sure you'll find something.

No fastboot.exe in android SDK

Yeterday i downloaded Android SDK tools and platform tools get to tools folder but don't found fastboot.exe there. tried to search it in google but don't found for windows. what i need to do now?
EdikNeznanov said:
Yeterday i downloaded Android SDK tools and platform tools get to tools folder but don't found fastboot.exe there. tried to search it in google but don't found for windows. what i need to do now?
Click to expand...
Click to collapse
You need to download sdk tools. Fastboot is now included in it.
EdikNeznanov said:
Yeterday i downloaded Android SDK tools and platform tools get to tools folder but don't found fastboot.exe there. tried to search it in google but don't found for windows. what i need to do now?
Click to expand...
Click to collapse
You can get Android SDK Tools here:
http://developer.android.com/sdk/index.html
or also can download at : (for Mac & Linux also)
http://wiki.cyanogenmod.com/wiki/Howto:_Install_the_Android_SDK
Download and install in a folder like c:\Android
You may also need Java Run time and get it from here:
http://www.java.com/en/download/index.jsp
Hope this may be useful. (If really just press 'Thanks').
It is available in, >Android\android-sdk\platform-tools
Not in Android\android-sdk\tools
As written in many tutorials. This is the main confusion that bring me to this thread. finally i found it myself
aatifaneeq said:
It is available in, >Android\android-sdk\platform-tools
Not in Android\android-sdk\tools
As written in many tutorials. This is the main confusion that bring me to this thread. finally i found it myself
Click to expand...
Click to collapse
Mystery solved! Thanks, aatifaneeq.

(CLOSED) [Project] Galaxy OStool

[Thread closed]
First of all I must admit, that i can't create a DevDB post instead (I don't have permissions, or something).
--------------------------------------------------------------------------------------------------------
Recently, i used Androxyde's Sony FlashTool, and I had an idea to create something like this, but for Samsung devices.
That's how Hackaye's Galaxy OStool was created.
It's based on VB.net and Heimdall CommandLine.
You may ask: Mate, but what the heck is it for? We have Odin and Heimdall Frontend!
Yeah, but can Odin and Heimdall download firmware for your device and install it with one click?
Do they have One-Click Root and TWRP installation options?
I guess not.
The app is currently available for Windows users, and requires latest .NET Framework installed.
---------------------------------------------------------------------------------------------------------
How to use the OStool:
Choose your device from the list (currently only Galaxy S5 SM-G900F but if the project gets some fame, i'll add more )
Then click what you want to do, you can choose Repair/Re-stock, Rooting with Chain Fire's AutoRoot, or installing TWRP.
After selecting, the program will download all the necessary files from my MediaFire account, and will notify you, that it's ready to flash.
You will be instructed how to go to download mode (the program is directed to begginers, so i had to add that), and will prompt you to install Zadig drivers, if needed.
Then after clicking the red "FLASH!!!" button, a CMD windows will appear with heimdall running, informing you about the installation progress.
----------------------------------------------------------------------------------------------------------
Some info about the project:
I am open to contribute with anyone that has knowlege about VB.net coding, i am also looking for better server to host files on, so please tell me if you know about one
Also, I couldn't test the program, cause my PC is autistic, and I can't install the necessary Zadig drivers, which ends with Libusbx error -12 (PLEASE HELP ME HOW TO FIX THIS!!!)
You should also know, that this version is only for testing the engine, the GUI will be TOTALLY redesigned.
If you want to contribute, download the SPECIAL Dev Pack from the link below. If you only want to test it, download a standard setup.
That's all from me,
Hackaye (WHY I CAN'T CHANGE MY NICK FROM EUKON TO HACKAYE?!!)
----------------------------------------------------------------------------------------------------------
Download Links:
OStool v0.1a Standard Setup: bit.ly/2LSRz9T
Dev Pack link (You need to have standard version installed first!!!): bit.ly/2O6jrVn

Categories

Resources