2015-01-22 2 views
0

xamarin Cross Platform을 사용하여 앱을 만들고 있습니다. 모든 것은 디버그에서 작동하지만 릴리스 버전에서 bulid 앱을 실행하면 앱이 다운됩니다. 응용 프로그램 출력 :앱이 출시 버전에서 작동하지 않습니다.

ERROR: 
[mono] Unhandled Exception: [mono] System.MissingMethodException: 
Method not found: 'System.Net.Http.HttpClient.GetAsync'. 
[mono] at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[<LoadData>d__0] (POSSector.Mobile.<LoadData>d__0& stateMachine) 
[0x00000] in <filename unknown>:0 
[mono] at POSSector.Mobile.LoginViewModel.LoadData() 
[0x00000] in <filename unknown>:0 
[mono] at POSSector.Mobile.LoginCommand+<Bind>d__3.MoveNext() [0x00000] in <filename unknown>:0 
[mono] --- End of stack trace from previous location where exception was thrown --- [mono] at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 
[0x00000] in <filename unknown>:0 [mono] at System.Runtime.CompilerServices.TaskAwaiter.GetResult() 
[0x00000] in <filename unknown>:0 [mono] at POSSector.Mobile.LoginCommand+<Execute>d__0.MoveNext() 
[0x00000] in <filename unknown>:0 
[mono-rt] [ERROR] FATAL UNHANDLED EXCEPTION: System.MissingMethodException: Method not found: 'System.Net.Http.HttpClient.GetAsync'. 
+0

동일한 버전의 .net/xamarin이 설치되지 않은 다른 컴퓨터에서 실행하고 있습니까? – DLeh

+0

어셈블리를 확인하십시오. 특히 System.Net.Http.dll. 어셈블리 버전은 무엇입니까? –

+0

옵션 - Anroid Build-Linker/Don 링크와 내 앱 작업을 설정했습니다! – Ibrahim

답변

0

옵션 - 안드로이드 빌드 - 링커/나는 돈 링크와 내 애플 리케이션을 설정! Info for problem

+0

답을 찾을 수 있다고 생각되면 정답으로 표시하십시오. – aliboy38

+0

2 일 후에 답변을 수락 할 수 있습니다.) – Ibrahim

관련 문제