gpt4 book ai didi

android - Phonegap - 为 android 构建 -> 未找到类 : javac1. 8

转载 作者:塔克拉玛干 更新时间:2023-11-02 23:25:55 26 4
gpt4 key购买 nike

我已经尝试了 2 天来解决我在使用 phonegap/cordova 时遇到的这个问题。

在 Mac 上工作,我可以为 iOS 构建。但是每次我尝试为 android 构建时,我都会收到此错误:

BUILD FAILED
/Users/m/Documents/adt-bundle-mac-x86_64-20131030/sdk/tools/ant/build.xml:601: The following error occurred while executing this line:
/Users/m/Documents/adt-bundle-mac-x86_64-20131030/sdk/tools/ant/build.xml:720: The following error occurred while executing this line:
/Users/m/Documents/adt-bundle-mac-x86_64-20131030/sdk/tools/ant/build.xml:734: Class not found: javac1.8

任何帮助都会很棒!!没有任何在线资源有帮助!

最佳答案

你的mac有安装java sdk/JDK吗?您可以在您的终端中尝试 javac -version 并检查结果。

也可以引用http://docs.oracle.com/javase/8/docs/technotes/guides/install/mac_jdk.html

关于android - Phonegap - 为 android 构建 -> 未找到类 : javac1. 8,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24167142/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com