2017-10-18 3 views
0

gitのプラグインをphonegapビルドzipファイルのビルドに含めるにはどうすればいいですか? config.xmlファイル内 プラグイン仕様はphonegap build git非npmプラグインを含む

<plugin name="com.ourcodeworld.plugins.Filebrowser" spec="~1.0.0" 
src="https://github.com/ourcodeworld/cordova-ourcodeworld-filebrowser.git" /> 

プロジェクトは、通常、コルドバアプリとしてAndroid上で実行されます。 PhoneGap Buildでエラーメッセージが表示されます。 具体的なエラーは次のとおりです。

Error - The following plugin, plugin version or a dependancy of this plugin is not on npm: 
[email protected]~1.0.0 

何が欠けていますか?あなたはgitのプラグインのURLで "スペック" に記入する必要が

答えて

0

<plugin name="com.ourcodeworld.plugins.Filebrowser" 
      spec="https://github.com/ourcodeworld/cordova-ourcodeworld-filebrowser.git" /> 

"SRC" は必要ありません。 "名前"はVisual Studio Cordovaで必要です。 PhoneGap Buildはgitからプラグインを取得します。ドキュメントは次のとおりです。

http://docs.phonegap.com/phonegap-build/configuring/plugins/#plugin-source

関連する問題