charitosha
November 8th, 2014, 06:05 PM
So i had to re-install adb, thought that since i had installed once i wouldn't have any problems.... well half-way i stumbled upon problem.
The phone is checked at the usb-debugging and even checked in the unknown sources(under application setings).
Since i have 12.04 32 bit i didn't installed ia32-libs. oracle java 7 is installed.
I've downloaded adt-bundle-linux-x86-20140702.
The main problem is the following: until now adb commands works under one condition only.
I have to cd in the terminal to the platform-tools folder and then to use ./adb. If simply adb will be used i will get command not found...
As far as i know when "." is used in front of a file then that file is hidden... why did that happened?
For my PATH variable i used:
nano ~/.bashrc
and at the end of the file i typed:
#AndroidDev PATH
export PATH=${PATH}/home/haris/android_dev_tools/adt-bundle-linux-x86-20140702/sdk/tools
export PATH=${PATH}/home/haris/android_dev_tools/adt-bundle-linux-x86-20140702/sdk/platform-tools
that ~/.bashrc file is saved in /home/haris/.bashrc
Now my declaration of the udev rules works correctly but only declared 1 device.
By the way my second and last question: How is it possible to make udev rules for random devices, so that you won't have to every time to use the vendors id and product id and make a specific udev rule for each and every device that you'll plug-in
The phone is checked at the usb-debugging and even checked in the unknown sources(under application setings).
Since i have 12.04 32 bit i didn't installed ia32-libs. oracle java 7 is installed.
I've downloaded adt-bundle-linux-x86-20140702.
The main problem is the following: until now adb commands works under one condition only.
I have to cd in the terminal to the platform-tools folder and then to use ./adb. If simply adb will be used i will get command not found...
As far as i know when "." is used in front of a file then that file is hidden... why did that happened?
For my PATH variable i used:
nano ~/.bashrc
and at the end of the file i typed:
#AndroidDev PATH
export PATH=${PATH}/home/haris/android_dev_tools/adt-bundle-linux-x86-20140702/sdk/tools
export PATH=${PATH}/home/haris/android_dev_tools/adt-bundle-linux-x86-20140702/sdk/platform-tools
that ~/.bashrc file is saved in /home/haris/.bashrc
Now my declaration of the udev rules works correctly but only declared 1 device.
By the way my second and last question: How is it possible to make udev rules for random devices, so that you won't have to every time to use the vendors id and product id and make a specific udev rule for each and every device that you'll plug-in