android - shell脚本envsetup.sh是如何执行launch的?

标签 android git shell repository building

 launch 1
 Segmentation fault

** Don't have a product spec for: 'full'
** Do you have the right repo manifest?

我尝试下载不同的源并同步存储库。我重新安装了Linux,然后仔细地做了环境,一切都很顺利,直到我下载了源码然后启动。 好吧,我别无选择,只能查看抛出此错误的 envsetup.sh 的 shell 脚本。我想从这里调试,所以我运行像

 bash --debugger build/envsetup.sh 

但我不知道如何从这里执行启动。当此脚本运行时,它会提供启动选项,将尝试在错误源处设置断点。

最佳答案

我们将 shell 脚本称为 envsetup.sh 。当使用命令获取此脚本时

 source build/envsetup.sh

我可以将这个脚本中的所有函数作为命令执行。对于任何可能想知道的人。泰

关于android - shell脚本envsetup.sh是如何执行launch的?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9581637/

相关文章:

regex - 在 zsh 正则表达式中匹配 unicode 字符

c# - OpenCV:cv::Mat 无法从看似有效的数据中创建矩阵

git - 恢复已添加但未提交的文件

git - 'git 子模块更新 --init --recursive' VS 'git submodule foreach --recursive git submodule update --init'

git clone 从本地到远程

bash - 如何在 bash stdout 中将多行转换为一行?

android - 在 Android 中伪造应用程序崩溃

android - Google API intel x86 atom 和 Google Play intel x86 atom 系统镜像的区别

php - 通过 Android Studio 使用 MySQL 数据库登录应用程序

c - 在 C 中制作 shell 时遇到问题