When you configure the Android environment in Ubuntu, you can start adb directly in the terminal as you would in Windows, so that the path of adb is added to the environment variable just like that in Linux and Windows, therefore, the path of adb is also export to/etc/profile. After the system is restarted, the infinite loop logon interface is displayed, and the solution is found through searching for information from multiple parties.
The method is as follows:
1. After Entering the logon interface, do not enter the password. Press Ctrl + Alt + F1 (heard that F1 ~ F6)
2. Enter the ubuntu command line interface, enter the user name and press enter, and then enter the password to press enter (pure newbie, do not understand, the habit of direct password, tossing For A Long Time)
3.1 enter sudo vi/etc/profile, open the profile file, delete unnecessary statements, enter: wq, press enter to save, and enter sudo reboot to restart.
(
3.2 another method:
Operate on the desktop,
Enter the command line interface and enter the user name and password;
Enter startx to enter the desktop interface, use Alt + T to open the terminal, enter sudo gedit/etc/profile in the terminal to edit the environment variable, and delete unnecessary statements, click Save and close. Enter sudo reboot in the terminal to restart.
)
Enter the password on the logon page.
Download, install, and configure Ubuntu 14.04
Ubuntu 14.04 system:
Ubuntu 14.04 text tutorial on hard drive installation in Windows 7