我正在尝试构建我的第一个 android 培训应用程序,仅使用sdk tools
. 我正在使用本教程:https ://developer.android.com/training/basics/firstapp/running-app.html
我在使用 android create project 命令生成的项目文件夹中。我使用的是 Windows 8.1 64 位。不幸的是,当我尝试运行时gradlew.bat assembleDebug
出现错误:
'gradlew.bat' is not recognized as an internal command or external command,operable program or batch file.
我不知道发生了什么事。我将平台工具和工具添加到我的路径中。我将不胜感激!
当我使用 gradle -vi 时,我正在获取有关 gradle 的信息。字节 gradlew.bat 不工作。