As a matter of fact at the moment there is no other way than to re-install Android Studio to some other directory with no non-ASCII characters and blank spaces, like С:\Android\SDK
7 Eylül 2018
7 kişi değerlendirdi
0 yorum
{"2_cwfp":{"state":{"logo":{"href":"//yandex.com.tr","isForeign":true},"form":{"action":"/search/","searchLabel":"Bul","hiddenInputs":[{"name":"lr","value":20815}]},"actions":{"advancedSearch":{"checked":false,"ariaLabel":"Gelişmiş arama"},"moreButtonProps":{"ariaLabel":"Daha fazla"},"cbir":{"name":"cbir","label":"Görsele göre arama","infoUrl":"//yandex.ru/promo/photosearch/index?source=landingdesk","isMacOS":false}},"userSection":{"loggedIn":false,"loginProps":{"loginUrl":"https://passport.yandex.com.tr/auth?retpath=%2F&origin=serp_desktop_auth_new","loginText":"Giriş yap","burgerAriaLabel":"Menü"}},"navigation":{"tabs":[{"id":"www","label":"Arama","url":"//yandex.com.tr","params":{"source":"tabbar"},"target":""},{"id":"images","label":"Görsel","url":"//yandex.com.tr/gorsel/search","params":{"text":"[$query]","noreask":"[$noreask]","nomisspell":"[$nomisspell]","parent-reqid":"[$reqid]","from":"tabbar"}},{"id":"video","label":"Video","url":"//yandex.com.tr/video/search","params":{"text":"[$query]","noreask":"[$noreask]","parent-reqid":"[$reqid]","from":"tabbar"}},{"id":"maps","label":"Haritalar","url":"//yandex.com.tr/harita","params":{"text":"[$query]","source":"serp_navig"}},{"id":"translate","label":"Çeviri","url":"//ceviri.yandex.com.tr","params":{"text":"[$query]","from":"tabbar"}}],"selectedTabId":"www"},"context":{"query":"your android sdk location contains non-ascii characters","reqid":"1725718988233377-9770261170200723374-balancer-l7leveler-kubr-yp-sas-247-BAL","lr":"20815","counters":{"type":"b","data":{"$header":"0_6frkz000","logo":"0_6frkz001","login":"0_6frkz003","usermenu":"0_6frkz004","market-cart":"0_6frkz006","more-button":"0_6frkz007","cbir":"0_6frkz008","$navigation":"0_6frkz009","item":"0_6frkz00i","tab-www":"0_6frkz00b","tab-images":"0_6frkz00d","tab-video":"0_6frkz00f","tab-maps":"0_6frkz00h","tab-translate":"0_6frkz00j"}}},"loggedIn":false,"baobab":{"parentNode":{"context":{"genInfo":{"prefix":"0_6frkw01-0-1"},"ui":"desktop","service":"web","reqid":"1725718988233377-9770261170200723374-balancer-l7leveler-kubr-yp-sas-247-BAL","fast":{"name":"header-desktop"}}}}},"type":"header-desktop"},"2_6frk0":{"state":{"answersUrl":"https://stackoverflow.com/questions/49212923/your-sdk-location-contains-non-ascii-characters-no-android-in-tools-menu#answers","type":"fact","tabsOptions":[{"id":"question","text":"Soru"},{"id":"bestAnswer","text":"En iyi yanıt"},{"id":"moreAnswers","text":"4 yanıt daha","shortText":"Daha fazla"}],"tabContents":{"question":{"construct":[{"type":"paragraph","content":[{"type":"text","content":"I've just downloaded and installed Android Studio but there is no "},{"type":"text","content":"Android"},{"type":"text","content":" submenu in "},{"type":"text","content":"Tools"},{"type":"text","content":" menu and no "},{"type":"text","content":"AVD Manager"},{"type":"text","content":" icon on the instrument panel. When I start "},{"type":"text","content":"SDK Manager"},{"type":"text","content":", there is an error message: "}]},{"type":"paragraph","content":[{"type":"text","content":"Please specify a Android SDK location"}]},{"type":"paragraph","content":[{"type":"text","content":"SDK Manager screenshot: \"Please specify a Android SDK location\""}]},{"type":"paragraph","content":[{"type":"text","content":"If I click on "},{"type":"text","content":"Edit"},{"type":"text","content":" link next to "},{"type":"text","content":"Android SDK Location"},{"type":"text","content":" field, there is another error message:"}]},{"type":"paragraph","content":[{"type":"text","content":"Your SDK location contains non-ASCII characters"}]},{"type":"paragraph","content":[{"type":"text","content":"SDK Components Setup screenshot: \"Your SDK location contains non-ASCII characters\""}]},{"type":"paragraph","content":[{"type":"text","content":"I studied these somewhat similar questions, but non of them helped me:"}]},{"type":"list","content":[{"type":"text","content":[{"type":"text","content":[{"type":"text","content":"Your project path contains non-ASCII characters android studio"}]}]},{"type":"text","content":[{"type":"text","content":[{"type":"text","content":"Unable to install SDK tools component while installing Android Studio"}]}]},{"type":"text","content":[{"type":"text","content":[{"type":"text","content":"unable to install or locate android sdk in android studio"}]}]},{"type":"text","content":[{"type":"text","content":[{"type":"text","content":"NO Android option in \"tool\" menu, and no avd manager"}]}]}]},{"type":"paragraph","content":[{"type":"text","content":"I see that the path really contains non-ASCII characters, but is there any workaround other than uninstall Android Studio and then install it from scratch to some other directory like "},{"type":"text","content":"С:\\Android\\SDK"},{"type":"text","content":"? "}]},{"type":"paragraph","content":[{"type":"text","content":"UPD"},{"type":"text","content":":"}]},{"type":"paragraph","content":[{"type":"text","content":"it seems there is no such workaround at this time"}]}],"footerProps":{"date":1536300774,"numLiked":5,"numCommented":0}},"bestAnswer":{"construct":[{"type":"paragraph","content":[{"type":"text","content":"As a matter of fact at the moment there is no other way than to re-install Android Studio to some other directory with no non-ASCII characters and blank spaces, like "},{"type":"text","content":"С:\\Android\\SDK"}]}],"footerProps":{"date":1536300632,"numLiked":7,"numCommented":0}},"moreAnswers":[{"construct":[{"type":"paragraph","content":[{"type":"text","content":"I guess you've solved this by now but I ran into the same problem today and after a little research and some annoying tries I solved it. What I found out is this:"}]},{"type":"list","content":[{"type":"text","content":[{"type":"text","content":[{"type":"text","content":"Using "},{"type":"code","content":[{"type":"text","content":"mklink"}],"isInline":true},{"type":"text","content":" function you can create a junction to a location but it will not boter if you are creating a it to a non existing location(that's the \"file not found\" you were getting). And you are creating a junction to a non existing location in this case due to "},{"type":"code","content":[{"type":"text","content":"C:\\Users\\username\\AppData\\Local\\Android\\Sdk"}],"isInline":true},{"type":"text","content":" should(not sure about this) be created by the Android Studio Setup Wizard during installation. In order to solve that, you should create "},{"type":"code","content":[{"type":"text","content":"\\Android\\Sdk"}],"isInline":true},{"type":"text","content":" in "},{"type":"code","content":[{"type":"text","content":"C:\\Users\\username\\AppData\\Local"}],"isInline":true},{"type":"text","content":" and it's done."}]}]},{"type":"text","content":[{"type":"text","content":[{"type":"text","content":"The installer does not show junctions to non existing locations in the Sdk install location so if you don't create the folders you can't select the link."}]}]},{"type":"text","content":[{"type":"text","content":[{"type":"text","content":"Finally but not less important, the installer does not allow the Sdk to be installed in a folder in the root directory "},{"type":"code","content":[{"type":"text","content":"C:\\"}],"isInline":true},{"type":"text","content":", so you have to create the junction in any other directory but the root one or move it if it's already there(that's what I did)."}]}]},{"type":"text","content":[{"type":"text","content":[{"type":"text","content":"As I was writting this the installer was running and when it was done I came across the exact same problem with the location to store Android Proyects, and so the same solution to the installer must be aplied to the "},{"type":"code","content":[{"type":"text","content":"Save location"}],"isInline":true},{"type":"text","content":" in the "},{"type":"code","content":[{"type":"text","content":"New proyect"}],"isInline":true},{"type":"text","content":" step."}]}]}]},{"type":"paragraph","content":[{"type":"text","content":"This is exactly what I did:"}]},{"type":"paragraph","content":[{"type":"text","content":"1) Create "},{"type":"code","content":[{"type":"text","content":"\\Android\\Sdk"}],"isInline":true},{"type":"text","content":" in "},{"type":"code","content":[{"type":"text","content":"C:\\Users\\username\\AppData\\Local\\"}],"isInline":true}]},{"type":"paragraph","content":[{"type":"text","content":"2) Open "},{"type":"code","content":[{"type":"text","content":"cmd"}],"isInline":true},{"type":"text","content":" as admin and enter the following command:"}]},{"type":"paragraph","content":[{"type":"code","content":[{"type":"text","content":"mklink /J \"C:\\..\\android-sdk\" \"C:\\Users\\username\\AppData\\Local\\Android\\Sdk\""}],"isInline":true}]},{"type":"paragraph","content":[{"type":"text","content":"It will return this:"}]},{"type":"paragraph","content":[{"type":"code","content":[{"type":"text","content":"C:\\WINDOWS\\system32>Junction created for C:\\..\\android-sdk \u003c\u003c===>> C:\\Users\\username\\AppData\\Local\\Android\\Sdk"}],"isInline":true}]},{"type":"paragraph","content":[{"type":"text","content":"Note: "},{"type":"code","content":[{"type":"text","content":"android-sdk"}],"isInline":true},{"type":"text","content":" is the name the junction will have, you can name it as you like and "},{"type":"code","content":[{"type":"text","content":"\\..\\"}],"isInline":true},{"type":"text","content":" reffers to the folder where you want to put the it in, make sure there are no non-ASCII characters in the folder's name anyways."}]},{"type":"paragraph","content":[{"type":"text","content":"3) In the Sdk install location, select "},{"type":"code","content":[{"type":"text","content":"C:\\..\\android-sdk"}],"isInline":true},{"type":"text","content":" and the installation will be ready to go."}]},{"type":"paragraph","content":[{"type":"text","content":"4) Repeat the process for the "},{"type":"code","content":[{"type":"text","content":"Save location"}],"isInline":true},{"type":"text","content":" for new proyects, just instead of "},{"type":"code","content":[{"type":"text","content":"C:\\Users\\username\\AppData\\Local\\Android\\Sdk"}],"isInline":true},{"type":"text","content":" use the location you want the proyects to be stored in."}]},{"type":"list","content":[{"type":"text","content":[{"type":"text","content":"Didn't try moving the junctions files but I suggest you don't, I guess that could get the paths lost and mess up the installation."}]}]},{"type":"paragraph","content":[{"type":"text","content":"Hope this is usefull and good luck with your proyects!"}]}],"footerProps":{"date":1589320312,"numLiked":1,"numCommented":0}},{"construct":[{"type":"paragraph","content":[{"type":"text","content":"If you don’t want to reinstall the Android SDK in another location you can also create a "},{"type":"text","content":"junction point"},{"type":"text","content":" which is a link to the actual location. You can use the "},{"type":"text","content":"junction tool"},{"type":"text","content":" to do this."}]},{"type":"paragraph","content":[{"type":"text","content":"For example, you can create the directory C:\\Android and then create the junction "},{"type":"text","content":"SDK"},{"type":"text","content":" and claim the SDK lives there with"}]},{"type":"code","content":[{"type":"text","content":"Junction C:\\Android\\SDK C:\\Users\\Whatever\\actual\\location"}]},{"type":"paragraph","content":[{"type":"text","content":"The operating system will show the same contents under both paths and applications will not know the difference. "}]}],"footerProps":{"date":1520700814,"numLiked":0,"numCommented":1}}]},"organic":{"faviconProps":{"src":"https://favicon.yandex.net/favicon/v2/https://stackoverflow.com","size":"m","pageNumber":0,"index":0},"title":"Your \u0007[SDK\u0007] \u0007[location\u0007] \u0007[contains\u0007] \u0007[non\u0007]-\u0007[ASCII\u0007] \u0007[characters\u0007] - no \u0007[Android\u0007] in Tools Menu","pathProps":{"items":[{"url":"https://stackoverflow.com/questions/49212923/your-sdk-location-contains-non-ascii-characters-no-android-in-tools-menu","text":"stackoverflow.com"},{"url":"https://stackoverflow.com/questions/49212923/your-sdk-location-contains-non-ascii-characters-no-android-in-tools-menu","text":"your-sdk-location-contains-non-ascii-characters-no-android-in-tools-menu"}]},"faviconPosition":0,"subtitlePosition":1,"linkProps":{"url":"https://stackoverflow.com/questions/49212923/your-sdk-location-contains-non-ascii-characters-no-android-in-tools-menu"},"hostTitle":"Stackoverflow.com","description":"stackoverflow.com › your-sdk-location-contains-non-ascii-characters-no-android-in-tools-menu"},"extralinksProps":{"hidden":true,"directions":["bottom-end"],"items":[{"variant":"reportFeedback","reportFeedback":{"feature":"Блок ответов для разработчиков","title":"Bu yanıtta yanlış olan nedir?","checkBoxLabels":[{"value":"Yanıt sorguya uygun değil"},{"value":"Yanıt hatalı"},{"value":"Yanıttaki bilgiler eksik"},{"value":"Diğer"}]}}]},"baobab":{"parentNode":{"context":{"genInfo":{"prefix":"2_6frkw0d-0-1"},"ui":"desktop","service":"web","reqid":"1725718988233377-9770261170200723374-balancer-l7leveler-kubr-yp-sas-247-BAL","fast":{"name":"article"}}}}},"type":"article"},"2_6frk1":{"state":{"linksGroups":[{"type":"geo","links":[{"label":"Columbus","title":"Columbus","url":"//yandex.com.tr/tune/geo","logNode":{"name":"region"},"target":"_self","a11yLabel":"Bölgeniz Columbus","needRetpath":true}]},{"type":"feedback","links":[{"label":"Hata bildir","logNode":{"name":"feedback","attrs":{"behaviour":{"type":"dynamic"}}}}]},{"type":"settings","links":[{"label":"Ayarlar","url":"//yandex.com.tr/tune/search","logNode":{"name":"settings"},"target":"_self","needRetpath":true}]},{"type":"company","links":[{"label":"Hakkımızda","url":"https://company.yandex.com.tr","logNode":{"name":"about"},"target":"_blank"},{"label":"Ticari teklifler","url":"/search/direct?text=your%20android%20sdk%20location%20contains%20non-ascii%20characters&filters_docs=direct_cm","logNode":{"name":"commercial"},"target":"_blank"},{"label":"Kariyer","url":"//yandex.com.tr/jobs/?utm_source=serp_turkie&utm_medium=footerlink&utm_content=career","logNode":{"name":"vacancy"},"target":"_blank"},{"label":"Kullanım lisansı","url":"//yandex.com.tr/legal/termsofuse/","logNode":{"name":"license"},"target":"_blank"},{"label":"Gizlilik Politikası","url":"//yandex.com.tr/legal/confidential/","logNode":{"name":"confidential"},"target":"_blank"}],"a11yHidden":true}],"reportFeedbackProps":{"feature":"Подвал","title":"Hata bildir","checkBoxLabels":[]},"isSearchApp":false,"hasExtralinks":true,"limitingSelector":".AliceFabButton","baobab":{"parentNode":{"context":{"genInfo":{"prefix":"2_6frkw0e-0-1"},"ui":"desktop","service":"web","reqid":"1725718988233377-9770261170200723374-balancer-l7leveler-kubr-yp-sas-247-BAL"}}}},"type":"serp-footer"},"2_6frk2":{"state":{"conditionLoadList":{"marketCart":false,"highchartsHighstock":false,"advProductGallery":false,"musicPlayer":false,"ecomRates":false,"photoViewer":false,"easterEggModal":false,"easterEggPlusGamesModal":false,"futurisFeedbackLoader":false,"darkmodeChangeDrawer":true},"reportFeedbackBaseProps":{"initEmail":"","metaFields":{"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","userTestids":"186144,151171,287509,1103277,338390,1104784,1104719,1102974,785125,1103877,1106218,1080658,1095345,1091205,1105459,1087425,1083581,1087741,912285","yandexuid":"7007233741725718988","uid":"0","queryText":"your android sdk location contains non-ascii characters","reqid":"1725718988233377-9770261170200723374-balancer-l7leveler-kubr-yp-sas-247-BAL","searchSlices":["drawer_search_slice_english","drawer_search_slice_cs"],"userRegionName":"Columbus","userRegionId":"20815","isChildAccount":false}},"extralinksPopupProps":{"abuseLink":"https://twitter.yandex.com.tr/search/abuse?sign=a135dd7c3524ed49531e9f62fce98e47&keyno=0"},"isLoggedIn":false,"userMenuDialogProps":{"flag":"skin,feedback","host":"yandex.com.tr","lang":"tr","project":"serp","queryParams":{"utm_source":"search"},"retpath":"https%3A%2F%2Ftwitter.yandex.com.tr%2Fsearch%2F%3Ffilters_docs%3Ddirect_cm%26lr%3D20815%26text%3Dyour%2Bandroid%2Bsdk%2Blocation%2Bcontains%2Bnon-ascii%2Bcharacters%26ncrnd%3D25969","tld":"com.tr"},"baobab":{"parentNode":{"context":{"genInfo":{"prefix":"2_6frkw0f-0-1"},"ui":"desktop","service":"web","reqid":"1725718988233377-9770261170200723374-balancer-l7leveler-kubr-yp-sas-247-BAL","fast":{"name":"lazy-load"}}}}},"type":"lazy-load"}}