我正在尝试使用 this guide 为 Android 编译 fastboot| ,但出现以下错误:
************************************************************
You are attempting to build with the incorrect version
of java.
Your version is: java version "1.6.0_23".
The correct version is: Java SE 1.6.
Please follow the machine setup instructions at
http://source.android.com/source/download.html
************************************************************
请注意,我有正确的主要 版本,但没有正确的次要 版本。 Android makefile 真的这么挑剔吗?在尝试编译源代码而不是此修订版时,有没有一种方法可以使用 Java 1.6.0?我是否必须卸载 Java 才能完成此操作?
最佳答案
啊。发布后不久,我发现了本指南 Ubuntu 32-bit users (为什么我在提出问题之前的一个小时内找不到它,我不知道......)。我现在有 fastboot 工作。只是想我会在这里留下这个信息以防其他人遇到这个问题。 :)
关于java - 由于 Java 版本不正确,Android fastboot 构建失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9213956/