Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: fixed anchor link and some formatting

...

Could not locate the Android SDK at the given path

{multi-excerpt:name=}
Wiki Markup
Multiexcerpt
MultiExcerptNamecannot-locate-android-sdk

If

you

see

the

error,

"Could

not

locate

the

Android

SDK

at

the

given

path",

when

configuring

the

_Android

SDK

Home_

field

in

Studio

preferences,

confirm

that

you

have

all

the

prerequisite

packages

installed,

as

shown

in

the

[Summary of Installed Android Packages|

Installing

the

Android SDK#Summary of Installed Android Packages] screenshot. {multi-excerpt}

Android SDK: Updating Android packages  screenshot.

Windows

xcopy is not recognized as an internal or external command

...

Code Block
1Windows System PATH environment variable
languagepowershell
langnone
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;

...

During development, when using the Titanium.Database module in your project, you may receive an error such as:

Code Block
languagebash
Error in compiler. <class 'sqlite3.OperationalError'>, unable to open database file

...

Warning

Do not post your output directly into the Q&A, as the formatting is likely to be messy making it difficult for others to interpret. Instead, create a new GitHub Gist. To do this, paste the unedited output into the main Gist text area, click the Create Public Gist button at the bottom of the page and copy and share the resulting URL from your browser address bar.

Code Block
linenumberstrue
languagebash
langnone
cls
cd \
echo %PROGRAMFILES%
echo %PROGRAMDATA%
echo %USERPROFILE%
echo %PATH%
echo %JAVA_HOME%
java -version
javac -version
python -V
git --version
rem if the ANDROID_SDK variable is configured, please delete it and run this script again
echo %ANDROID_SDK%
adb version
cd %PROGRAMFILES%
android list target
cd \
rem --- The following are optional ---
rem ----------------------------------
scons -v
rem ----------------------------------
echo %HTTP_PROXY%
echo %HTTPS_PROXY%
rem ----------------------------------
echo %SOCKS_PROXY%
rem ----------------------------------
rem

...