Davids-MacBook-Pro-2:tess dweiss$ android update project --path tess-twoError: The project either has no target set or the target is invalid.Please provide a --target to the 'android update' command.Davids-MacBook-Pro-2:tess dweiss$
Can you please help me to figure out what I'm doing wrong ?
My sdk/ndk is freshly downloaded and up to date
Davids-MacBook-Pro-2:tess dweiss$ which android/Users/dweiss/Library/Android/sdk/tools/androidDavids-MacBook-Pro-2:tess dweiss$ ls -l $ANDROID_HOMEtotal 8-rw-r--r-- 1 dweiss staff 1158 14 Jan 17:30 SDK Readme.txtdrwxr-xr-x 4 dweiss staff 136 21 Jan 15:05 add-onsdrwxr-xr-x 6 dweiss staff 204 29 Jan 12:51 build-toolsdrwxr-xr-x 5 dweiss staff 170 14 Jan 17:31 extrasdrwxr-xr-x 25 dweiss staff 850 29 Jan 15:11 ndk-bundledrwxr-xr-x 13 dweiss staff 442 14 Jan 17:31 platform-toolsdrwxr-xr-x 5 dweiss staff 170 29 Jan 12:52 platformsdrwxr-xr-x 3 dweiss staff 102 14 Jan 17:31 sourcesdrwxr-xr-x 4 dweiss staff 136 21 Jan 15:05 system-imagesdrwxr-xr-x 2 dweiss staff 68 29 Jan 15:11 tempdrwxr-xr-x 31 dweiss staff 1054 14 Jan 17:33 toolsDavids-MacBook-Pro-2:tess dweiss$ ls -l /Users/dweiss/Library/Android/sdk/build-tools/total 0drwxr-xr-x 20 dweiss staff 680 29 Jan 12:51 19.1.0drwxr-xr-x 26 dweiss staff 884 21 Jan 15:51 21.1.2drwxr-xr-x 22 dweiss staff 748 29 Jan 12:51 23.0.1drwxr-xr-x 22 dweiss staff 748 14 Jan 17:31 23.0.2Davids-MacBook-Pro-2:tess dweiss$ ls -l /Users/dweiss/Library/Android/sdk/ndk-bundle/total 1888-rw-r--r-- 1 dweiss staff 1306 29 Jan 15:10 GNUmakefile-rw-r--r-- 1 dweiss staff 1360 29 Jan 15:11 README.TXT-rw-r--r-- 1 dweiss staff 14 29 Jan 15:11 RELEASE.TXTdrwxr-xr-x 6 dweiss staff 204 29 Jan 15:10 builddrwxr-xr-x 7 dweiss staff 238 29 Jan 15:11 docs-rwxr-xr-x 1 dweiss staff 856 29 Jan 15:10 find-win-host.cmd-rwxr-xr-x 1 dweiss staff 9820 29 Jan 15:10 ndk-build-rwxr-xr-x 1 dweiss staff 292 29 Jan 15:10 ndk-build.cmd-rwxr-xr-x 1 dweiss staff 48404 29 Jan 15:10 ndk-depends-rwxr-xr-x 1 dweiss staff 27745 29 Jan 15:10 ndk-gdb-rwxr-xr-x 1 dweiss staff 355 29 Jan 15:11 ndk-gdb-py-rwxr-xr-x 1 dweiss staff 294 29 Jan 15:10 ndk-gdb-py.cmd-rwxr-xr-x 1 dweiss staff 35851 29 Jan 15:11 ndk-gdb.py-rwxr-xr-x 1 dweiss staff 779896 29 Jan 15:10 ndk-stack-rwxr-xr-x 1 dweiss staff 1671 29 Jan 15:10 ndk-whichdrwxr-xr-x 16 dweiss staff 544 29 Jan 15:10 platformsdrwxr-xr-x 10 dweiss staff 340 29 Jan 15:10 prebuilt-rwxr-xr-x 1 dweiss staff 328 29 Jan 15:10 remove-windows-symlink.shdrwxr-xr-x 19 dweiss staff 646 29 Jan 15:10 samples-rw-r--r-- 1 dweiss staff 16546 29 Jan 15:11 source.propertiesdrwxr-xr-x 6 dweiss staff 204 29 Jan 15:10 sourcesdrwxr-xr-x 12 dweiss staff 408 29 Jan 15:11 testsdrwxr-xr-x 26 dweiss staff 884 29 Jan 15:10 toolchainsDavids-MacBook-Pro-2:tess dweiss$
Any clues on how to fix this will be much appreciated.
thanks.
Following the instructions at [https://github.com/rmtheis/tess-two/blob/master/BUILDING.md#android-studio-and-gradle] and the android update command fails:
Davids-MacBook-Pro-2:tess dweiss$ android update project --path tess-two
Error: The project either has no target set or the target is invalid.
Please provide a --target to the 'android update' command.
Davids-MacBook-Pro-2:tess dweiss$
Can you please help me to figure out what I'm doing wrong ? My sdk/ndk is freshly downloaded and up to date
Davids-MacBook-Pro-2:tess dweiss$ which android
/Users/dweiss/Library/Android/sdk/tools/android
Davids-MacBook-Pro-2:tess dweiss$ ls -l $ANDROID_HOME
total 8
-rw-r--r-- 1 dweiss staff 1158 14 Jan 17:30 SDK Readme.txt
drwxr-xr-x 4 dweiss staff 136 21 Jan 15:05 add-ons
drwxr-xr-x 6 dweiss staff 204 29 Jan 12:51 build-tools
drwxr-xr-x 5 dweiss staff 170 14 Jan 17:31 extras
drwxr-xr-x 25 dweiss staff 850 29 Jan 15:11 ndk-bundle
drwxr-xr-x 13 dweiss staff 442 14 Jan 17:31 platform-tools
drwxr-xr-x 5 dweiss staff 170 29 Jan 12:52 platforms
drwxr-xr-x 3 dweiss staff 102 14 Jan 17:31 sources
drwxr-xr-x 4 dweiss staff 136 21 Jan 15:05 system-images
drwxr-xr-x 2 dweiss staff 68 29 Jan 15:11 temp
drwxr-xr-x 31 dweiss staff 1054 14 Jan 17:33 tools
Davids-MacBook-Pro-2:tess dweiss$ ls -l /Users/dweiss/Library/Android/sdk/build-tools/
total 0
drwxr-xr-x 20 dweiss staff 680 29 Jan 12:51 19.1.0
drwxr-xr-x 26 dweiss staff 884 21 Jan 15:51 21.1.2
drwxr-xr-x 22 dweiss staff 748 29 Jan 12:51 23.0.1
drwxr-xr-x 22 dweiss staff 748 14 Jan 17:31 23.0.2
Davids-MacBook-Pro-2:tess dweiss$ ls -l /Users/dweiss/Library/Android/sdk/ndk-bundle/
total 1888
-rw-r--r-- 1 dweiss staff 1306 29 Jan 15:10 GNUmakefile
-rw-r--r-- 1 dweiss staff 1360 29 Jan 15:11 README.TXT
-rw-r--r-- 1 dweiss staff 14 29 Jan 15:11 RELEASE.TXT
drwxr-xr-x 6 dweiss staff 204 29 Jan 15:10 build
drwxr-xr-x 7 dweiss staff 238 29 Jan 15:11 docs
-rwxr-xr-x 1 dweiss staff 856 29 Jan 15:10 find-win-host.cmd
-rwxr-xr-x 1 dweiss staff 9820 29 Jan 15:10 ndk-build
-rwxr-xr-x 1 dweiss staff 292 29 Jan 15:10 ndk-build.cmd
-rwxr-xr-x 1 dweiss staff 48404 29 Jan 15:10 ndk-depends
-rwxr-xr-x 1 dweiss staff 27745 29 Jan 15:10 ndk-gdb
-rwxr-xr-x 1 dweiss staff 355 29 Jan 15:11 ndk-gdb-py
-rwxr-xr-x 1 dweiss staff 294 29 Jan 15:10 ndk-gdb-py.cmd
-rwxr-xr-x 1 dweiss staff 35851 29 Jan 15:11 ndk-gdb.py
-rwxr-xr-x 1 dweiss staff 779896 29 Jan 15:10 ndk-stack
-rwxr-xr-x 1 dweiss staff 1671 29 Jan 15:10 ndk-which
drwxr-xr-x 16 dweiss staff 544 29 Jan 15:10 platforms
drwxr-xr-x 10 dweiss staff 340 29 Jan 15:10 prebuilt
-rwxr-xr-x 1 dweiss staff 328 29 Jan 15:10 remove-windows-symlink.sh
drwxr-xr-x 19 dweiss staff 646 29 Jan 15:10 samples
-rw-r--r-- 1 dweiss staff 16546 29 Jan 15:11 source.properties
drwxr-xr-x 6 dweiss staff 204 29 Jan 15:10 sources
drwxr-xr-x 12 dweiss staff 408 29 Jan 15:11 tests
drwxr-xr-x 26 dweiss staff 884 29 Jan 15:10 toolchains
Davids-MacBook-Pro-2:tess dweiss$
Any clues on how to fix this will be much appreciated. thanks.