I'm doing this simple guide on how to achieve a logcat when an issue is received
It's very simple but some people on here don't know how to do one.
1. Download Android SDK from here:
2. Extract Android SDK to any area
3. Once Android SDK is extracted, be sure to put the path and download Android SDK Tools:
Examples:
Windows
Open your start menu, right click on 'My Computer' and select 'Properties'
Once another window opens go to 'Advanced settings'
Followed by selecting 'Environmental Variables'
Look for PATH and enter the following:
Now java will need to be installed
Go to the following link:
Go into Android SDK folder and open 'SDK Manager.exe'
Only check 'Android SDK Tools' and Android SDK Platform-tools
Linux
Go into your Home folder and Press CTRL+H (This is done to show hidden folders and files)
Look for the file '.bashrc'
Open it and put the following or similar:
You will need to add something for any devices to be recognized:
Open terminal and enter:
Enter the following in the file:
Now save and close the file, in terminal enter:
Now you will need to install java
Open terminal and enter:
Now that everything is installed
Open terminal either type:
OR, if that doesn't work
4. How to do a logcat:
This is very simple as now you have installed Android SDK and ADB
First connect the device via USB to your computer
Be sure to have usb debugging enabled
To verify the device is connected type:
Windows
Open Command Prompt
Enter the following (Yes there's a space in between the '>'):
Linux
Open Terminal
Enter the following (Yes there's a space in between the '>'):
*The logcat.txt is your logcat that you can copy and paste for developers
5. Now that you've created a logcat copy and paste it to:
http://pastebin.com/
It's very simple but some people on here don't know how to do one.
1. Download Android SDK from here:
Code:
http://developer.android.com/sdk/index.html
2. Extract Android SDK to any area
3. Once Android SDK is extracted, be sure to put the path and download Android SDK Tools:
Examples:
Windows
Open your start menu, right click on 'My Computer' and select 'Properties'
Once another window opens go to 'Advanced settings'
Followed by selecting 'Environmental Variables'
Look for PATH and enter the following:
Code:
C:\Android-sdk-windows; C:\Android-sdk-windows\platform-tools; C:\Android-sdk-windows\tools;
Now java will need to be installed
Go to the following link:
Code:
http://www.java.com/en/
Go into Android SDK folder and open 'SDK Manager.exe'
Only check 'Android SDK Tools' and Android SDK Platform-tools
Linux
Go into your Home folder and Press CTRL+H (This is done to show hidden folders and files)
Look for the file '.bashrc'
Open it and put the following or similar:
Code:
export PATH=$PATH:~/android/sdk
export PATH=$PATH:~/android/sdk/platform-tools
export PATH=$PATH:~/android/sdk/tools
You will need to add something for any devices to be recognized:
Open terminal and enter:
Code:
sudo gedit /etc/udev/rules.d/51-android.rules
Code:
SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0666"
Code:
sudo chmod +x /etc/udev/rules.d/51-android.rules
Now you will need to install java
Open terminal and enter:
Code:
sudo add-apt-repository ppa:ferramroberto/java
sudo apt-get update
sudo apt-get install sun-java6-jdk sun-java6-jre sun-java6-plugin
Now that everything is installed
Open terminal either type:
Code:
android
Code:
cd ~/android/sdk/tools
./android
4. How to do a logcat:
This is very simple as now you have installed Android SDK and ADB
First connect the device via USB to your computer
Be sure to have usb debugging enabled
To verify the device is connected type:
Code:
adb devices
Windows
Open Command Prompt
Enter the following (Yes there's a space in between the '>'):
Code:
adb logcat > logcat.txt
Linux
Open Terminal
Enter the following (Yes there's a space in between the '>'):
Code:
adb logcat > logcat.txt
*The logcat.txt is your logcat that you can copy and paste for developers
5. Now that you've created a logcat copy and paste it to:
http://pastebin.com/
Last edited: