0

If I open the .apk built with "PhoneGap Build" service, I find three js files in the app root folder.

"phonegap.js"
"cordova-2.7.0.js"
"cordova.js"

These files have different filename but identical content. Why PG Build includes these three files if I reference phonegap.js only?

folder structure screenshot

4

1 回答 1

1

这个问题的答案可以在官方支持论坛找到:
Dupplicates in APK (phonegap.js & cordova.js & cordova-xxxjs)

许多用户包含错误的文件。允许包含上述任何内容避免了很多混乱——在我们看来,这足以超过两个额外文件的占用空间。

于 2013-05-29T18:21:39.187 回答