android


Android SDK location should not contain whitespace, as this cause problems with NDK tools


Recently I have installed the last version of Android Studio (Android Studio 2.1), keeping the old 1.2 version previously installed. Now i have Android Studio 2.1 and Android Studio 1.2. In Android Studio 1.2 when I click on SDK Manager it works properly, but in Andorid Studio 2.1 this problem appears:
how can I fix keeping the two versions of Android studio? Thanks
As the warning message states, the SDK location should not contain whitespace.
Your SDK is at C:\Users\Giacomo B\AppData\Local\Android\sdk. There is a whitespace character in Giacomo B.
The easiest solution is to move the SDK somewhere else, where there is no space or other whitespace character in the path, such as C:\Android\sdk. You can point both Android Studio installations to the new location.
just change the path:
"c:\program files\android\sdk" to "c:\progra~1\android\sdk"
or
"c:\program files (x86)\android\sdk" to "c:\progra~2\android\sdk"
note that the paths should not contain spaces.
As long as you aren't using the NDK you can just ignore that warning.
By the way: This warning has nothing to do with parallel installations.
Simply....If you are not using NDK, there is no problem at all. On the other this is just warning not an error. With warning you can go ahead but not errors. Any it's better to adjust the whitespaces.
E.g if your SDK is at C:\program file\Android studio. There is a whitespaces "program file".
There are 2 simple methods:
1. Remove the whitespaces
2. Install at another location which don't have whitespaces.
It is possible to make a symbolic link from e.g. C:\Android\sdk to the actual location of the sdk (which contains whitespaces), and refer to this symbolic link from within Android Studio as the location of the SDK. I have, however, not tried whether NDK will work with such a setup, even though Android Studio stops giving this warning about whitespaces.

Related Links

Android - How to do if customer wants to specify his key for exporting project to .apk?
How to measure or estimate bitmap size in Android Versions that do not support bitmap.getByteCount()
illegal instruction while running iperf
Putting included layout at top and bottom of main layout
Android TextView `ifAtLineStart` method?
play two audio files simultaneously
Intent does not resolve
tabview with fragments in android
Custom android.widget.Filter
SQLiteDatabase warning Android
Android:How to apply theme to android application
binding to running Service (after finish() ) / callback Handler
Android, ListView IllegalStateException: “The content of the adapter has changed but ListView did not receive a notification”!
How to route audio through bluetooth headphones on Android 4.0.3 rooted tablet
Run full screen on HTC Touch HD2 with Android 2.3
how to rotate the android widget text? and something I don't understand

Categories

HOME
shell
uml
url-redirection
beautifulsoup
xml
assembly
facebook-oauth
prism
cheerio
string
owl-carousel
cakephp-3.4
square
data-visualization
okhttp
reactive-programming
http-post
vuejs
asp.net-mvc-viewmodel
ag
dataflow-diagram
xunit
fragment-backstack
underscore.js
8051
datastax-enterprise-graph
tpm
constexpr
papaparse
twos-complement
joomla2.5
apic
reason
ideascript
nohup
password-protection
portforwarding
postgresql-8.4
naming
plr
memory-mapping
getchar
sonarlint-eclipse
chai-as-promised
yii2-api
fclose
mongotemplate
convex-optimization
opengl-4
check-mk
mouseleave
flac
pocketsphinx-android
visual-studio-2008-sp1
custom-lists
dotnetnuke-7
swizzling
lua-telegram-bot
kendo-upload
jnlua
tfs-workitem
sciruby
terracotta
themoviedb-api
sapscript
cwrsync
user-permissions
shopizer
procedural-programming
at-job
jbake
insight.database
with-statement
template-deduction
cancellation
winginx
ray
jquery-slider
websphere-esb
qscrollarea
git-repo
xmltodict
node-blade
cardreader
cascadingdropdown
nokia-s40
sentestingkit
usertype
predicatebuilder
promotion-code
filemerge
umra
strsep
collectionviewsource
facebook-iframe
non-clustered-index
isapi-extension
build-environment
visualj#
windows-identity
entitykey
online-storage
wcf-proxy
mathematical-typesetting
commercial-application

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App