小编Cod*_*kie的帖子

Xamarin Android Player在尝试查找VirtualBox时出错

我有一个干净的Windows 10安装.安装Visual Studio 2015和Xamarin Bussiness版本后,我安装了Xamarin Android Player x64,现在我收到以下错误:

Error when attempting to find VirtualBox please check it's installed and try again.
Xamarin Android Player will now exit.
Run Code Online (Sandbox Code Playgroud)

Xamarin说明了一个解决方案

通过将"C:\ Program Files\Oracle\VirtualBox"添加到我的%PATH%来修复它

我可以毫无问题地打开VirtualBox版本4.3.28 r 100309.

我如何实施此解决方案或是否有更新的解决方案?

virtualbox xamarin.android xamarin windows-10 xamarin-android-player

10
推荐指数
2
解决办法
9223
查看次数

错误:由于连接的Mac与本地应用程序之间存在不一致,因此需要重建应用程序ApplicationName

在尝试构建我的Xamarin应用程序的iOS版本时,我收到以下错误:

The application ApplicationName needs to be rebuilt due to an inconsistency between 
the connected Mac and the local app. Please rebuild the application and try
again.
Run Code Online (Sandbox Code Playgroud)

我使用以下软件:

  1. Windows 10

    • Visual Studio 2015社区
    • Xamarin.iOS 9.4.2.24
    • Xamarin 4.0.1.145
  2. OS X 10.11.3 El Capitan.

    • Xcode 7.2.1
    • Xamarin Studio 5.10.3
    • 单声道4.2.3
    • GTK + 2.24.23
    • Xamarin.iOS 9.4.2.27
    • Xamarin.Android 6.0.2.1

这有什么工作吗?

xamarin.ios xamarin

6
推荐指数
1
解决办法
1838
查看次数

轮播页面指示器

我有一个使用 Visual Studio 2013 的 Xamarin.Forms (1.4.2.6359) 项目,并创建了下面的轮播页面。我想添加页面指示器,即轮播页面顶部的点。这可以通过 Xamarin Forms CarouselPage 来完成吗?

public class SplashPage : CarouselPage
{
    public SplashPage ()
    {
        this.Children.Add(new CarouselChild("Logo.png", "Welcome"));
        this.Children.Add(new CarouselChild("Settings.png", "Settings"));
    }

}

class CarouselChild : ContentPage
{

    public CarouselChild(string image, string text)
    {
        StackLayout layout = new StackLayout
        {
            HorizontalOptions = LayoutOptions.CenterAndExpand,
            VerticalOptions = LayoutOptions.CenterAndExpand,
        };
        layout.Children.Add(new Image
        {
            Source = image,
        });
        layout.Children.Add(new Label
        {
            HorizontalOptions = LayoutOptions.CenterAndExpand,
            VerticalOptions = LayoutOptions.EndAndExpand,
            Text = text,
            Scale = 2,
        });

        this.Content = layout; …
Run Code Online (Sandbox Code Playgroud)

c# carousel xamarin xamarin.forms

5
推荐指数
1
解决办法
8356
查看次数

couchbase桶选择

我想在couchbase telnet会话中选择一个特定的存储桶.
我可以使用此命令从默认存储桶中获取值:
get a1 0

如何通过couchbase memcached协议选择一个桶?

couchbase couchbase-bucket

1
推荐指数
1
解决办法
1795
查看次数