[Xamarin] Xamarin.Forms. Android 실행/ 디버깅시에 에뮬레이터 배포 오류

Why am I getting this error in Xamarin.Forms using Visual Studio?

 

개발하면서 저장한 "프로젝트" 경로명에 빈칸(space)나 특수문자 (#,-) 등이 있으면 안됨

 

 

 
0 Votes"
BruceKrueger-2659 asked    Jharedtroll23-5978 published  Jun 13 2021 at 4:46 AM

Why am I getting this error in Xamarin.Forms using Visual Studio?

Severity Code Description Project File Line Suppression State Error XARDF7023: System.IO.DirectoryNotFoundException: Could not find a part of the path 'MediaSessionCompat_OnActiveChangeListenerImplementor.class'. at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound, WIN32_FIND_DATA& data) at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost) at Xamarin.Android.Tasks.RemoveDirFixed.RunTask() 0

dotnet-xamarinforms
 ·  1 

Does this error come from a new project or an existed project? If this issue comes from a new project, update your VS to the latest version and click the Repair selection in the VS installer. If this issue comes from an existed project, please share related code or a simple demo to reproduce this issue.

 0 Votes0 ·
 
ddtechboy avatar image
 
1 Vote"
ddtechboy answered    Jharedtroll23-5978 published   

I was banging my head around for quite a while and figured out that you cant have any spaces or special characters in the path to your project

For example: C:/abc xyz/ProjectName/... is unacceptable because there is a space between abc and xyz.

경축! 아무것도 안하여 에스천사게임즈가 새로운 모습으로 재오픈 하였습니다.
어린이용이며, 설치가 필요없는 브라우저 게임입니다.
https://s1004games.com

I don't exactly know why but this works for me

Hope it helps!

Happy coding!

 ·  1

This! You saved me from desperation on my finals week.

I just changed the file directory to the repo and worked like a charm!

 0 Votes0 ·ㅇ[출처] https://docs.microsoft.com/en-us/answers/questions/281969/why-am-i-getting-this-error-in-xamarinforms-using.html
 

 

 

본 웹사이트는 광고를 포함하고 있습니다.
광고 클릭에서 발생하는 수익금은 모두 웹사이트 서버의 유지 및 관리, 그리고 기술 콘텐츠 향상을 위해 쓰여집니다.
번호 제목 글쓴이 날짜 조회 수
1 [no code 게임개발] PlayMaker 요약 file 졸리운_곰 2025.03.05 250
대표 김성준 주소 : 경기 용인 분당수지 U타워 등록번호 : 142-07-27414
통신판매업 신고 : 제2012-용인수지-0185호 출판업 신고 : 수지구청 제 123호 개인정보보호최고책임자 : 김성준 sjkim70@stechstar.com
대표전화 : 010-4589-2193 [fax] 02-6280-1294 COPYRIGHT(C) stechstar.com ALL RIGHTS RESERVED