my trouble is:
I’m using Ubuntu 14.4, when I open terminal and open this forder ( I use “cd /home/huyquang/Downloads/android-sdk-linux/extras/google/google_play_services/libproject/google-play-services_lib” command to open forder as this topic. I can’t run follow commands:
android update lib-project —path .
ant clean
ant release
because terminal show error: android: command not found
huyquang@HuyPC:~/Downloads/android-sdk-linux/extras/google/google_play_services/libproject/google-play-services_lib$ ant clean
Buildfile: /home/huyquang/Downloads/android-sdk-linux/extras/google/google_play_services/libproject/google-play-services_lib/build.xml
[taskdef] Could not load definitions from resource anttasks.properties. It could not be found.
[taskdef] Could not load definitions from resource emma_ant.properties. It could not be found.
-check-env:
BUILD FAILED
/home/huyquang/Downloads/android-sdk-linux/extras/google/google_play_services/libproject/google-play-services_lib/build.xml:396: Problem: failed to create task or type checkenv
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.
Total time: 0 seconds
and
huyquang@HuyPC:~/Downloads/android-sdk-linux/extras/google/google_play_services/libproject/google-play-services_lib$ ant release
Buildfile: /home/huyquang/Downloads/android-sdk-linux/extras/google/google_play_services/libproject/google-play-services_lib/build.xml
[taskdef] Could not load definitions from resource anttasks.properties. It could not be found.
[taskdef] Could not load definitions from resource emma_ant.properties. It could not be found.
-set-mode-check:
-set-release-mode:
BUILD FAILED
/home/huyquang/Downloads/android-sdk-linux/extras/google/google_play_services/libproject/google-play-services_lib/build.xml:1113: Problem: failed to create task or type xpath
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.
Total time: 0 seconds
↧








