简体   繁体   English

运行 ionic cordova build android 命令时出现问题

[英]problems when running the ionic cordova build android command

I don't know how to soluicon the problem, I've tried everything, please help.我不知道如何解决这个问题,我已经尝试了一切,请帮助。 在此处输入图像描述

From the error it appears that you have neither Java nor Android Studio installed, ANDROID_SDK_ROOT & ANDOID_HOME are both undefined!从错误看来,您既没有安装 Java 也没有安装 Android Studio,ANDROID_SDK_ROOT 和 ANDOID_HOME 都未定义!

Try it:试试看:

Error: ANDROID_HOME is not set and "android" command not in your PATH. 错误:ANDROID_HOME 未设置且“android”命令不在您的 PATH 中。 You must fulfill at least one of these conditions. 您必须至少满足其中一项条件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 运行“ ionic cordova build android”命令时,如何解决无效或意外的令牌问题? - How to fix Invalid or unexpected token issue when running “ionic cordova build android” command? 构建和运行时离子 Cordova 错误 - Ionic Cordova Error When Build and Running 当我键入离子cordova构建android - when i type ionic cordova build android 离子科尔多瓦建立Android - ionic cordova build android 我已经在Ionic中创建了一个项目,但是当我尝试使用ionic cordova build android命令来构建它时,它返回一个错误,提示: - I have created a project in Ionic, but when I try to build it with the command ionic cordova build android, it returns an error which says: 运行 ionic cordova build android 时如何修复 AAPT 错误前台活动未找到? - how to fix AAPT error foreground activity not found when running ionic cordova build android? 使用cordova build --release android时离子构建android错误 - ionic build android error when using cordova build --release android 当我使用此评论时出错 Ionic cordova build android in ionic 9 - error when i use this comment Ionic cordova build android in ionic 9 运行ionic cordova build android --prod --release时发生错误 - An error occurred while running ionic cordova build android --prod --release 运行cordova build -release android时出错 - Error when running cordova build –release android
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM