部署Android应用程序时遇到困难

时间:2016-08-16 10:24:34

标签: android

Getting Error message:: (All Error I can not Copy & pest bcoz of code size restictions)

    Starting deploy MyEmulator ...
    Deploying MyEmulator ...
    Build started.
      End of inner exception stack trace 

at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)       在System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout,CancellationToken cancellationToken)        在System.Threading.Tasks.Task.Wait()        在Xamarin.Android.Tasks.InstallPackageAssemblies.Execute()        在Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()        在Microsoft.Build.BackEnd.TaskBuilder.d__26.MoveNext()      (内部异常#0)Xamarin.AndroidTools.AndroidDeploymentException:InternalError ---> Mono.AndroidTools.InstallFailedException:意外的安装输出:        at Mono.AndroidTools.Internal.AdbOutputParsing.CheckInstallSuccess(String output,String packageName)        在Mono.AndroidTools.AndroidDevice。<> c__DisplayClass90_0.b__0(任务1 t) at System.Threading.Tasks.ContinuationTaskFromResultTask 1.InnerInvoke()        在System.Threading.Tasks.Task.Execute()        ---内部异常堆栈跟踪结束---        在Xamarin.AndroidTools.AndroidDeploySession.d__99.MoveNext()     ---从抛出异常的先前位置开始的堆栈跟踪结束---        在System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(任务任务)        在System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(任务任务)        在Xamarin.AndroidTools.AndroidDeploySession.d__98.MoveNext()< ---

Build FAILED.
An error occured. See full exception on logs for more details.
Build started.
C:\Program Files\MSBuild\14.0\bin\csc.exe /noconfig /nowarn:1701,1702,2008 /nostdlib+ /errorreport:prompt /warn:4 /define:DEBUG;TRACE;__XAMARIN_ANDROID_v1_0__;__MOBILE__;__ANDROID__;__ANDROID_1__;__ANDROID_2__;__ANDROID_3__;__ANDROID_4__;__ANDROID_5__;__ANDROID_6__;__ANDROID_7__;__ANDROID_8__;__ANDROID_9__;__ANDROID_10__;__ANDROID_11__;__ANDROID_12__;__ANDROID_13__;__ANDROID_14__;__ANDROID_15__;__ANDROID_16__;__ANDROID_17__;__ANDROID_18__;__ANDROID_19__;__ANDROID_20__;__ANDROID_21__;__ANDROID_22__;__ANDROID_23__ /errorendlocation /preferreduilang:en-US /reference:"C:\Program Files\Reference Assemblies\Microsoft\Framework\MonoAndroid\v1.0\Java.Interop.dll" /reference:"C:\Program Files\Reference Assemblies\Microsoft\Framework\MonoAndroid\v6.0\Mono.Android.dll" /reference:"C:\Program Files\Reference Assemblies\Microsoft\Framework\MonoAndroid\v1.0\mscorlib.dll" /reference:"C:\Program Files\Reference Assemblies\Microsoft\Framework\MonoAndroid\v1.0\System.Core.dll" /reference:"C:\Program Files\Reference Assemblies\Microsoft\Framework\MonoAndroid\v1.0\System.dll" /reference:"C:\Program Files\Reference MainActivity.cs Resources\Resource.Designer.cs Properties\AssemblyInfo.cs "C:\Users\ITC\AppData\Local\Temp\MonoAndroid,Version=v6.0.AssemblyAttributes.cs" obj\Debug\\TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs obj\Debug\\TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs obj\Debug\\TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
App1 -> C:\Users\ITC\Documents\Visual Studio 2015\Projects\App1\App1\bin\Debug\App1.dll
  Processing: obj\Debug\res\layout\main.xml
  Processing: obj\Debug\res\values\strings.xml
:Deployment failed
    ========== Deploy: 0 succeeded, 1 failed, 0 skipped ==========


    Emulator screen shows message][2]


      [1]: http://i.stack.imgur.com/0xqp4.png
      [2]: http://i.stack.imgur.com/XX3MO.png

0 个答案:

没有答案