【问题标题】:How does the shell script envsetup.sh execute launch?shell脚本envsetup.sh是如何执行launch的?
【发布时间】:2012-03-06 10:17:04
【问题描述】:
 launch 1
 Segmentation fault

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

我已尝试下载不同的源 n 已同步 repo。我重新安装了Linux,然后仔细做了环境,一切顺利,直到我下载了源代码然后启动。 好的,除了查看引发此错误的 envsetup.sh 的 shell 脚本外,我别无选择。我想从这里调试,所以我运行类似

 bash --debugger build/envsetup.sh 

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

【问题讨论】:

  • 你执行的命令是什么?
  • 我仔细设置了环境,就像初始化构建环境中提到的那样。然后这个.. repo init -u android.googlesource.com/platform/manifest -b 姜饼 repo sync 然后 source build/envsetup.sh 午餐。所有这些步骤都运行完美。

标签: android git shell repository building


【解决方案1】:

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

 source build/envsetup.sh

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

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2020-09-15
    • 1970-01-01
    • 2016-08-14
    • 2018-03-31
    • 2012-03-29
    • 2013-12-17
    • 2016-10-19
    • 1970-01-01
    相关资源
    最近更新 更多