cli-5.2.0 build phoneGap error找不到索引

时间:2015-12-03 00:21:12

标签: cordova phonegap-build

当我尝试使用' cli-5.2.0'来构建我的应用时'建立phoneGap,我收到错误:上传失败;请再试一次[50]并且没有index.html存在..我按照phonegap博客中的说明更新了我的配置文件:

<content src="index.html"/>
<allow-navigation href="*" />
<plugin name="cordova-plugin-whitelist" version="~1" />
<preference name="phonegap-version" value="cli-5.2.0"/>

1 个答案:

答案 0 :(得分:0)

没有index.html存在意味着您使用了错误的目录结构。

boilerplate of typical layout

以下两个文件应位于同一目录中。

    +
    index.html
    confix.xml