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

appium : not able to retrieve TextView child element from parent ScrollView
How to get a Mat type object from String?
Error:Cause: failed to find target with hash string 'API 23'
android studio will remove view id which is needed when using data binding
Scrollview “adopts” the height of one list item
Overflow Menu PopUp
Scroll not working for multiple RecyclerView in BottomSheet
Add android.permission.CAMERA with Cordova
Android CoordinatorLayout Behaviour with complex layout
Programmatically setText color for linearLayout [duplicate]
Moodle Custom App not loading site
cross compiling gdb creates binary not for specified target
best way to divide map and color it smoothly
xamarin Button inside fragment return null exception
Xamarin Tools->Android menu disabled in Visual Studio 2015
set textsize for multiple textview with different ids

Categories

HOME
phantom-dsl
assembly
twitter-bootstrap-3
nvd3.js
amp-html
nunit
ns-3
mjml
sh
zip
azure-container-service
angularfire2
webix
modal-dialog
extjs4.2
minecraft-forge
endeca
mod-security
java.util.logging
endpoint
zerobrane
keytool
azure-iot-hub
symfony-2.8
asp.net-mvc-viewmodel
google-container-registry
shortest-path
swagger-2.0
user-experience
easeljs
displaytag
flooding
ms-access-2003
firebase-analytics
google-earth
rselenium
dsx-desktop
protege4
connection-pool
news
kill
apache-stanbol
levenshtein-distance
android-softkeyboard
branching-and-merging
movilizer
knime
drupal-theming
httr
magento-2.0.7
configurationmanager
x-ray
remedy
trojan
java-bytecode-asm
yii2-user
truezip
trigger.io
py2neo
taocp
stripe-connect
model-associations
http-status-code-401
php-socket
query-by-example
gcloud-ruby
ascii-art
fiware-monitoring
file-move
vigenere
include-guards
jsvc
botan
gamekit
cosine-similarity
punycode
build-script
vsx
fpdi
twitter-bootstrap-rails
mt4j
mysql-error-1044
scrypt
isqlquery
ebay-lms
time.h
facebook-timeline
abstract-data-type
actiondispatch
insert-id
mantle
stacky
sqlclr
wimax
cuda-gdb
usertype
google-maps-mobile
exponentiation
rmdir
w3c-geolocation
massive
tmx
cac
squishit
undefined-index
resharper-6.0
isapi-extension
lobo-cobra
linfu-dynamicproxy
java1.4

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