(11-09-2012 12:34 AM)MaXiMu Wrote: Bash_profile
Quote:should android.bat work from any dir?
Yes if path enviroment folder is correct
Please Upload photo For I see on what folder Android-sdk and ndk thanks.
My Bash_profile
Code:
# To the extent possible under law, the author(s) have dedicated all
# copyright and related and neighboring rights to this software to the
# public domain worldwide. This software is distributed without any warranty.
# You should have received a copy of the CC0 Public Domain Dedication along
# with this software.
# If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
# base-files version 4.1-1
# ~/.bash_profile: executed by bash(1) for login shells.
# The latest version as installed by the Cygwin Setup program can
# always be found at /etc/defaults/etc/skel/.bash_profile
# Modifying /etc/skel/.bash_profile directly will prevent
# setup from updating it.
# The copy in your home directory (~/.bash_profile) is yours, please
# feel free to customise it to create a shell
# environment to your liking. If you feel a change
# would be benifitial to all, please feel free to send
# a patch to the cygwin mailing list.
# User dependent .bash_profile file
# source the users bashrc if it exists
if [ -f "${HOME}/.bashrc" ] ; then
source "${HOME}/.bashrc"
fi
# Set PATH so it includes user's private bin if it exists
# if [ -d "${HOME}/bin" ] ; then
# PATH="${HOME}/bin:${PATH}"
# fi
# Set MANPATH so it includes users' private man if it exists
# if [ -d "${HOME}/man" ]; then
# MANPATH="${HOME}/man:${MANPATH}"
# fi
# Set INFOPATH so it includes users' private info if it exists
# if [ -d "${HOME}/info" ]; then
# INFOPATH="${HOME}/info:${INFOPATH}"
# fi
export PATH=${PATH}:/cygdrive/c/Android/android-sdk/platform-tools
export PATH=${PATH}:/cygdrive/c/android-ndk-r8b
export PATH=${PATH}:/cygdrive/c/Android/android-sdk/tools
Hi,
Now I can see the problem
Code:
nano .bashrc_profile
and should be nano .bash_profile
the file name was bad...
But now I have another problem.
Code:
$ android.bat update project --target android-16 ppsspp/android
Error: Argument 'ppsspp/android' is not recognized.
Usage:
android [global options] update project [action options]
Global options:
-h --help : Help on a specific command.
-v --verbose : Verbose mode, shows errors, warnings and all messages.
--clear-cache: Clear the SDK Manager repository manifest cache.
-s --silent : Silent mode, shows errors only.
Action "update project":
Updates an Android project (must already have an AndroidManifest.xml).
Options:
-l --library : Directory of an Android library to add, relative to this
project's directory.
-p --path : The project's directory. [required]
-n --name : Project name.
-t --target : Target ID to set for the project.
-s --subprojects: Also updates any projects in sub-folders, such as test
projects.
Ok found the problem. Another line is wrong
it is
Code:
cd
android.bat update project --target android-16 ppsspp/android
android.bat update project --target android-16 ppsspp/native/android
and should be
Code:
cd
android.bat update project --target android-16 --path ppsspp/android
android.bat update project --target android-16 --path ppsspp/native/android