【问题标题】:android-6.0.1_r45 error: could not load boot.imgandroid-6.0.1_r45 错误:无法加载 boot.img
【发布时间】:2017-12-14 19:04:29
【问题描述】:

我已经成功构建了android-6.0.1_r45系统。但是当我尝试将它刷到nexus 5x时,我发现一个错误无法加载boot.img。我检查了我的/generic折叠,有ramdisk.img, system.img 和 userdata.img。 boot.img 在哪里? 为什么它在我的构建版本中不存在。 我用了这个“午餐 aosp_arm-eng”

【问题讨论】:

    标签: android android-source


    【解决方案1】:

    我找到了答案。 “lunch aosp_arm-eng”是指模拟器的完整构建,它仅适用于模拟器。我想falsh NEXUS 5X,所以我必须使用“aosp_bullhead-userdebug”构建。哦,天哪

    【讨论】:

      【解决方案2】:

      当我准备在新终端中刷入 Neuxs 5X 时,我遇到了同样的错误。

      $ fastboot flashall -w
      error: could not load boot.img
      

      这是我的解决方案,关键步骤是在运行“fastboot flashall -w”之前运行“lunch”cmd。希望有帮助。

      $ cd android-7.1.1_r14/
      $ lunch #select 21. aosp_bullhead-userdebug
      $ cd out/target/product/bullhead
      $ fastboot flashall -w
      

      我猜,我们不需要先运行lunch,而是在我们构建安卓系统的同一个终端中运行fastboot flashall -w

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 2015-10-02
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多