cordova无法创建文件夹窗口

时间:2017-03-28 10:17:45

标签: cordova windows-10 visual-studio-cordova

当我尝试在Windows 10 cordova应用程序的presistent文件夹中创建媒体文件夹时,我在JavaScript控制台中使用Visual Studio进行调试时出现以下错误:

public partial class MainWindow : Window
{
    public MainWindow()
    {
        InitializeComponent();

        // Dummy items to generate 4 items in ListBox
        DataContext = new object[] { 1, 2, 3, 4 };
    }
}

我用来创建文件夹的代码如下:

Exception is about to be caught by JavaScript library code at line 314, column 13 in ms-appx-web://appname/www/cordova.js 0x800a138f - JavaScript runtime error: Unable to get property 'error' of undefined or null reference

0 个答案:

没有答案