问题运行MonoDevelop的应用 [英] Problem running a MonoDevelop App

查看:356
本文介绍了问题运行MonoDevelop的应用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是我的问题创造一个MonoDevelop的应用问题的延续,

问题是解决了,我能够创建一个应用程序,但现在我在运行它的问题,

The problem is solved, I am able to create an App, but now I'm having problems running it,

当我运行该应用程序我得到一个错误说,

When I run the application I get an error saying,

C:\\用户\\塔伦\\文件\\项目\\ myAndroidApp \\ myAndroidApp \\ aresgen:

C:\Users\tarun\Documents\Projects\myAndroidApp\myAndroidApp\aresgen:

错误1:找不到SDK平台目录C:\\ Program Files文件
  (86)\\ Android的\\ Android的SDK \\ \\平台的android-4。

Error 1: Could not find SDK platform directory 'C:\Program Files (x86)\Android\android-sdk\platforms\android-4'.

确保您有
  对于在Android SDK这个Android平台版本安装支持
  经理。 (1)(myAndroidApp)

Ensure you have installed support for this Android platform version in the Android SDK Manager. (1) (myAndroidApp)

也有如下的问题,

当我打工具>选项​​>其它>单声道对于Android SDK相关,我收到以下错误,

when I hit tools > options > other > Mono For Android SDKs, I get the following error,

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.FileNotFoundException: Could not load file or assembly 'Mono.Posix, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756' or one of its dependencies. The system cannot find the file specified.

   at MonoDevelop.MonoDroid.Gui.MonoDroidSdkSettingsWidget.Build()

   at MonoDevelop.MonoDroid.Gui.MonoDroidSdkSettingsWidget..ctor()

   at MonoDevelop.MonoDroid.Gui.MonoDroidSdkSettings.CreatePanelWidget()

   at MonoDevelop.Ide.Gui.Dialogs.OptionsDialog.CreatePageWidget(SectionPage page)

   at MonoDevelop.Ide.Gui.Dialogs.OptionsDialog.ShowPage(OptionsDialogSection section)

   at MonoDevelop.Ide.Gui.Dialogs.OptionsDialog.OnSelectionChanged(Object s, EventArgs a)

   --- End of inner exception stack trace ---

   at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner)

   at System.RuntimeMethodHandle.InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeType typeOwner)

   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)

   at System.Delegate.DynamicInvokeImpl(Object[] args)

   at GLib.Signal.ClosureInvokedCB(Object o, ClosureInvokedArgs args)

   at GLib.SignalClosure.Invoke(ClosureInvokedArgs args)

   at GLib.SignalClosure.MarshalCallback(IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data)

另外,我得到这个同样的错误(上面提到的),当我右键单击项目>选项​​>构建与GT;单声道为Android构建/单声道Android应用程序

我的MonoDevelop的版本为2.6(90年2月5日)

My MonoDevelop version is 2.6(2.5.90)

帮助AP preciated!

Help appreciated !

推荐答案

不管你信不信,我读到的SDK它不能分析的空间路径的一个问题。请尝试重新安装了Android SDK的路径下的空间。就我而言,我把它安装到 C:\\ Android的\\ Android的SDK

Believe it or not, I read about a problem with the SDK where it can't parse the spaces in the path. Try reinstalling the Android SDK to a path without spaces. In my case, I installed it to C:\Android\android-sdk.

这篇关于问题运行MonoDevelop的应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆