当我尝试在控制台中运行我的项目时,我正在使用intellij运行我的flutter项目(注意我正在使用Mac):
Launching lib/main.dart on Android SDK built for x86 in debug mode...
Initializing gradle...
Resolving dependencies...
Running 'gradlew assembleDebug'...
现在,当我转到项目内的终端并运行命令时-出现未找到的错误
$ gradlew assembleDebug
command not found: gradlew
关于如何使它也可以在终端上运行的任何建议?
$ ls -l android
total 56
drwxr-xr-x 5 adam staff 160 Sep 24 00:41 app
-rw-r--r-- 1 adam staff 850 Sep 9 02:18 build.gradle
drwxr-xr-x 2 adam staff 64 Apr 30 20:38 gen
drwxr-xr-x 3 adam staff 96 Apr 30 20:38 gradle
-rw-r--r-- 1 adam staff 29 Apr 18 02:24 gradle.properties
-rwxr-xr-x 1 adam staff 4971 Apr 30 20:38 gradlew
-rw-r--r-- 1 adam staff 2404 Apr 30 20:38 gradlew.bat
-rw-r--r-- 1 adam staff 109 Sep 4 23:54 local.properties
-rw-r--r-- 1 adam staff 484 Apr 18 02:24 settings.gradle