android fastboot烧录程序提示fastboot没有那个文件或目录

编程入门 行业动态 更新时间:2024-10-06 22:20:50

android fastboot<a href=https://www.elefans.com/category/jswz/34/1769777.html style=烧录程序提示fastboot没有那个文件或目录"/>

android fastboot烧录程序提示fastboot没有那个文件或目录

android 5.1

.html

fastboot烧录程序提示fastboot没有那个文件或目录,或提示:=:需要一元表达式

解决办法如下:

重新FastBoot的安装(Ubuntu)

一般来说,如果你安装了Android Sdk,那么fastboot就在你的platform-tools目录下面.

你也可以通过一下代码来安装:

  1. sudo apt-get update

  2. sudo apt-get install android-tools-fastboot

FastBoot的环境变量设置(Ubuntu)

使用以下命令来查看fastboot所在的位置:

which fastboot


我的电脑的结果:

 
  1. zyr:~/Android/Sdk/platform-tools$ which fastboot

  2. /usr/bin/fastboot

 

使用以下命令打开~/.bashrc文件

vim ~/.bashrc


按下i键进入编辑模式,

添加一行

PATH=$PATH:/usr/bin/fastboot

这里$PATH:后面的路径就是你执行which命令的结果.

然后执行

source ~/.bashrc

 

在终端上输入fastboot -h 看下是否出错。

然后将/usr/bin/下的fastboot拷贝到烧录程序的那个目录,然后错误提示消除了!

 

 

 

更多推荐

android fastboot烧录程序提示fastboot没有那个文件或目录

本文发布于:2024-03-07 19:41:45,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1718740.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:烧录   提示   文件   目录   程序

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!