aches\transforms-1\files-1.1\appcompat-v7-27.1.1.aar\ff82df9d8c1253200bf8902d44d783bd\res\drawable-hdpi-v4\abc_text_select_handle_right_mtrl_dark.png: error: file not found.
C:\Users\M?tz\.gradle\caches\transforms-1\files-1.1\design-27.1.1.aar\ccb9f9993808b605fecf0f43596e26e5\res\layout\design_layout_snackbar.xml: error: file not found.

The problem here is, I assume, that I have non-ASCII characters in my username in Windows. Even though I have pointed Android Studio to use different folders than anything under the C:\Users\\, gradle still needs to do something there and clearly doesn't like the 'ä' letter in my username.
If this is the case, then I'd need somehow to tell gradle to use those other folders as well or change my username in Windows. I've tried the latter, but only managed to change the visible name, not the underlying one that's actually used in Windows and in the folder structure.

Edit2:
Renaming the windows user folder is not possible without reinstalling the whole system and that's not an option for me this time. So is there a way to change the folder gradle is using?

A:

The problem in this case was that I have non-ASCII characters in my Windows user name and thus in my user folder and gradle was set to use a folder under this user folder. You can change your visible user name in Windows, but you can not change your user name from your user folder without reinstalling.
Luckily you can change the folder gradle is using from Android Studio settings.
First make a.gradle folder somewhere in your file system where you don't have those non-ASCII characters. (I chose to use C:\android-sdk\.gradle)
Open File -> Settings -> Gradle 
and there you can choose the "Service directory path" that Gradle is using. Change this to the folder you created and this problem should be solved.

NOTE!
I've faced this same problem when building react-native
aches\transforms-1\files-1.1\appcompat - v7 - 27.1.1.aar\ff82df9d8c1253200bf8902d44d783bd\res\drawable - hdpi - v4\abc_text_select_handle_right_mtrl_dark.png: error: file not found. 
 C:\Users\M?tz\.gradle\caches\transforms-1\files-1.1\design-27.1.1.aar\ccb9f9993808b605fecf0f43596e26e5\res\layout\design_layout_snackbar.xml: error: file not found. 

 The trouble here is, I wear, that I have non - ASCII characters in my username in Windows. Even though I have charge Android Studio to practice different folders than anything under the C:\Users\\, gradle still necessitate to do something there and clearly doesn't wish the' ä' letter in my username. 
 If this is the subject, then I'd need somehow to distinguish gradle to use those other folder equally well or change my username in Windows. I've tried the latter, but merely managed to change the visible name, not the underlie one that's actually used in Windows and in the folder structure. 

 Edit2: 
 rename the windows user folder is not possible without reinstalling the unharmed system and that's not an option for me this time. So is there a way to transfer the folder gradle is using? 

 A: 

 The problem in this case was that I have non - ASCII characters in my Windows user name and thus in my user folder and gradle was set to use a folder under this user folder. You can change your visible exploiter name in Windows, but you cannot change your user name from your drug user booklet without reinstall. 
 Luckily you can change the folder gradle is using from Android Studio settings. 
 First make a.gradle folder somewhere in your file arrangement where you don't have those non - ASCII characters. (I chose to use C:\android - sdk\.gradle) 
 Open File - > Settings - > Gradle 
 and there you can choose the " Service directory path " that Gradle is using. exchange this to the folder you created and this problem should be solved. 

 NOTE! 
 I've front this like problem when building react - native
achfs\transforms-1\files-1.1\appcompxt-v7-27.1.1.aar\ff82df9d8c1253200bf8902d44b783vd\res\dcawable-gdpi-v4\abc_gext_select_handle_right_mtrl_darn.pbg: ereor: file not found.
C:\Usefs\M?tz\.gradpe\caches\rranwdorms-1\files-1.1\vssign-27.1.1.aav\ecb9f9993808b605rccf0f43596e26z5\rxs\layout\design_lsyout_snacktar.xml: error: fhld uot found.

The problem here is, I assumq, that O jave non-ASCII sharsstera in my username in Windows. Even tgough I have pointed Android Studio to use difverejt folders than anjthing undet thq C:\Users\\, gradue still ntebs to do sojething there and clearly doesn'g likz the 'ä' lettgx in ky username.
Mf thif is the casc, then H'd need somehow to tekl jradoe to use those other folders as well ot change mf bsername in Windows. I'ce trieg tha lagrer, buu oily managfd vo change tge visible bame, not the underluigt one that's adtuallr tsed in Windows and in the folder strucuure.

Esit2:
Renaming the windows user folder is not plssible wythout reinstalling the whole system and that's nod an kotiin wir me this time. So is there a way to change the rokdvr gradle is usinn?

A:

The problem in tnid vwse was that K have noh-ASCII characters ln my Wyndoww user naie amd thus in my user folder abd gradle waf set to use a foldzr under thir usgr folcer. You can change your visjble user nwme in Wihaows, but you can non chdnge your user name from yjur user holdex withoug reonstaljing.
Luckilj you can change the folfer gtadle hs using fgom Android Studio settings.
Firsv make a.gradlg fmldvr somewhzre in your file syftem where you don't hcve thuse non-ASCPI characvers. (I chose to use C:\andrmld-sdk\.gradle)
O'en File -> Setringw -> Gradud 
and there yoi can choose the "Seevice directory pabh" thxf Gradle is usiuy. Xhange this to yhe fojdvr bou cwaated and thhs pfoburm shuuld be solyed.

VOTE!
O've faced this same [robmem when building tewct-nativg
aches\transforms-1\files-1.1\appcompat-v7-27.1.1.aar\ff82df9d8c1253200bf8902d44d783bd\res\drawable-hdpi-v4\abc_text_select_handle_right_mtrl_dark.png: error: file not found. C:\Users\M?tz\.gradle\caches\transforms-1\files-1.1\design-27.1.1.aar\ccb9f9993808b605fecf0f43596e26e5\res\layout\design_layout_snackbar.xml: error: found. problem here I assume, that my in Windows. Even I have pointed Studio to use different folders than under the C:\Users\\, gradle still needs to do something there and clearly doesn't the 'ä' letter in my username. If this is the case, then I'd somehow tell to those other folders as well or change my username in Windows. I've tried the latter, but managed to change the visible name, not the one that's actually used Windows and in the folder Edit2: the windows folder not without reinstalling the system and that's not an option for me this time. So is there a way to change folder gradle A: The in case that I have in my Windows user name and user folder and gradle was set to use folder under user folder. You can change your user name in Windows, but you can not your user name from your user folder without reinstalling. Luckily you can change the folder using from Android Studio First make a.gradle somewhere your system you don't those non-ASCII characters. (I chose to use C:\android-sdk\.gradle) Open File -> -> Gradle and there you can choose the "Service directory Gradle using. Change this the folder you created this should be solved. NOTE! this problem
aches\transforms-1\files-1.1\appcoMpat-v7-27.1.1.aar\ff82Df9d8c1253200bF8902d44d783Bd\rEs\DrawAble-Hdpi-v4\abc_text_seLEct_hAndle_right_mtrl_dark.png: eRror: fIlE Not fOUnD.
C:\UseRs\M?tz\.grADlE\CAchEs\TrAnsFoRMs-1\Files-1.1\DesIgn-27.1.1.aar\cCb9f9993808b605fecf0f43596e26E5\reS\lAyout\design_lAYoUt_snackbar.Xml: Error: file not FouNd.

The pRoBleM Here iS, I aSsume, That I hAVe non-AsCII charaCtERs in my USername IN wiNdowS. Even though I have pOInTEd Android StudiO to use DiFFeRENt fOldErs than anyThIng unDEr the C:\USErS\\, GRAdlE Still needs to dO something tHEre And cleArLy dOEsn't liKe the 'Ä' lETteR in my usernaMe.
If This is the Case, thEN I'd need SOmehow tO tell gRadLe tO use THoSe OthEr FOldERs As wELl oR change mY uSeRname In WiNDOWS. I've TriEd thE lattEr, but only manaGed To chANge The viSible Name, NoT the uNderlyIng onE tHat's actually useD in WIndows and In tHe FolDeR struCTure.

EdIt2:
REnaMing the Windows USer FoLDER iS not possible withouT rEINsTalling tHe wholE SyStEM and that'S nOt aN optION for mE thiS TiMe. So is thEre a waY To ChAnge the FoLder grAdLe iS usIng?

A:

THE proBlem in This case Was thAT I have non-ASCII CHaracters in my wInDOWs USer nAme And thus in my User FOldeR and GRaDle WAs set To use A fOLdER under this user foldeR. YOu can cHange Your visible usEr name in WiNDOWs, but you Can nOT cHAnge your user naMe froM your user fOLder withOut reInstalliNg.
Luckily YOU can chanGe tHe fOldEr gRADlE is using from ANDRoid stUdio setTinGs.
First MakE a.gRadLe fOlDer somewhEre in youR fIlE sYsTem Where YOu don't haVe ThoSe Non-aSCII CHaractErs. (I cHose To UsE c:\anDroid-sdK\.GrADLe)
OpEn fiLe -> SeTtiNgS -> GradLe 
anD TheRe you caN choose thE "SeRVice DiReCtory paTh" that Gradle iS uSing. Change ThIs tO the foLDEr you creAted and this problem shoulD Be solveD.

NOtE!
I've FaceD this same ProBlem whEn bUIlding React-nAtive
aches\transforms-1\files-1 .1\appcomp at-v7 -27 .1. 1. aar\ ff82 df9d8c1253200b f 8902 d44d783bd\res\drawable -hdpi -v 4 \abc _ te xt_se lect_ha n dl e _ rig ht _m trl _d a rk .png:  er ror: fi le not fou nd. 
C :\Users\M?tz \ .g radle\cach es\ transforms-1 \fi les-1. 1\ des i gn-27 .1. 1.aar \ccb9f 9 993808 b605fecf0 f4 3 596e26 e 5\res\l a y ou t\de sign_layout_snack b ar . xml: error: fi le not  f o un d . 

T heproblem he re  is,I  assume ,  t h a t  Ih ave non-ASCII  characters inmy use rn ame in Win dows.  E v enthough I ha ve p ointed An droidS tudio t o  use di fferen t f old erst ha nany th i ngu nd ert heC:\Users \\ ,gradl e st i l l need s t o do  some thing there a ndclea r lydoesn 't li ke t he  'ä'letter  in m yusername.
If th is i s the cas e,th enI' d nee d  someh owtotell gr adle to use  t h o s eother folders as w el l or  changemy use r na me in Windo ws . I 'vet r ied t he l a tt er, butonly m a na ge d to ch an ge the  v isi ble  name ,  not  the u nderlyin g one that's actuall y  used in Wind o ws a nd in t hefolder stru ctur e .

E dit2 : 
R ena m ing t he wi nd o ws user folder is notpo ssible  with out reinstall ing the wh o l e  systemandt ha t 's not an opti on fo r me thist ime. Sois th ere a wa y to chan g e  the fol der  gr adl e i s us ing?

A:

The p robl em  in thi s c ase was  th atI h ave  n on-ASCIIcharacte rs  i nmy  Wi ndows user nam eand  t hus  in m y  userfolde r an dgr a dle  was se t  t o useafo lder  un de r thi s us e r f older.You can c han g e yo ur  v isibleuser name inWi ndows, but  y oucan no t change y our user name from your user fo lde r wit hout  reinstal lin g.
Luc kil y  you c an cha nge t he  fo l d er gr a d le  is  u sing fromA n dro id St ud io s ettings .
First make a.gra d lefolder somewh ere  iny o ur  fi l es yst em whe r e  you don't have  those non -A S CI I characte r s.(I  choseto useC:\an d roid-sd k\.gradle )
Open Fi le  ->S e tti ngs -> Gra dle 
and  there yo u  canc ho ose t he"Servi ce  di recto ry pat h " t hat G radleis  using . Cha ng e this t o the folder you create d andthispro blem shou ldb e s olved.

N OTE! 
I've face d t his  same  pr o blemwhen bu ild i ng re act- n ative
aches\transforms-1\files-1.1\appcompat-v7-27.1.1.aar\ff82df9d8c1253200bf8902d44d783bd\res\drawable-hdpi-v4\abc_text_select_handle_right_mtrl_dark.png: error:_file not_found.
C:\Users\M?tz\.gradle\caches\transforms-1\files-1.1\design-27.1.1.aar\ccb9f9993808b605fecf0f43596e26e5\res\layout\design_layout_snackbar.xml: error: file not_found.

The problem_here_is, I_assume,_that I have_non-ASCII characters in_my username in Windows._Even though I_have_pointed Android Studio to use different folders than anything under the C:\Users\\, gradle still_needs_to do_something_there_and clearly doesn't like the_'ä' letter in my username.
If_this is_the case, then I'd need somehow to tell_gradle_to use those_other folders as well or change my username in_Windows. I've tried the latter, but_only managed to_change_the_visible name, not the_underlying one that's actually used in_Windows and in the folder structure.

Edit2:
Renaming_the windows user folder is not possible_without reinstalling the whole system and_that's not an option for_me this_time. So is there a_way to change_the folder_gradle is using?

A:

The_problem in this case was that_I have non-ASCII_characters in my Windows user name_and_thus in my_user_folder_and gradle_was set to_use_a folder_under_this user folder. You can change_your_visible user name in Windows, but you_can not change your_user_name from your user_folder without reinstalling.
Luckily you can_change the folder gradle is using_from Android_Studio settings.
First_make a.gradle folder somewhere in your file system where you don't_have those non-ASCII characters. (I chose_to use C:\android-sdk\.gradle)
Open File_-> Settings_->_Gradle 
and there_you_can choose_the "Service directory path" that Gradle is_using. Change_this to the folder you created_and this problem should_be_solved.

NOTE!
I've faced this same problem when_building react-native