guatedude2 / cordova-plugin-kiosk-launcher

Sets a Cordova application as a launcher
17 stars 16 forks source link

Phonegap Build error (Plugman vs pluginstall?) #4

Open kidGodzilla opened 5 years ago

kidGodzilla commented 5 years ago

Seeing this:

Error - Plugin error (you probably need to remove plugin files from your app): Fetching plugin "cordova-plugin-kiosk-launcher@^1.1.1" via npm Installing "cordova-plugin-kiosk-launcher" at "0.2" for android 

Failed to install 'cordova-plugin-kiosk-launcher': Error: Unable to graft xml at selector "/manifest/application/activity[@android:label='@string/activity_name']" from 

"/var/gimlet/tmp/47199102437880/2947910/www_android/project/AndroidManifest.xml" during config install at ConfigFile_graft_child [as graft_child] 

(/var/gimlet/tmp/47199102437880/2947910/www_android/project/cordova/node_modules/cordova-common/src/ConfigChanges/ConfigFile.js:120:19) at PlatformMunger_apply_file_munge [as apply_file_munge] 

(/var/gimlet/tmp/47199102437880/2947910/www_android/project/cordova/node_modules/cordova-common/src/ConfigChanges/ConfigChanges.js:86:34) at munge_helper 

(/var/gimlet/tmp/47199102437880/2947910/www_android/project/cordova/node_modules/cordova-common/src/ConfigChanges/ConfigChanges.js:265:14) at PlatformMunger.add_plugin_changes 

(/var/gimlet/tmp/47199102437880/2947910/www_android/project/cordova/node_modules/cordova-common/src/ConfigChanges/ConfigChanges.js:179:12) at 

/var/gimlet/tmp/47199102437880/2947910/www_android/project/cordova/node_modules/cordova-common/src/PluginManager.js:126:25 at _fulfilled 

(/var/gimlet/tmp/47199102437880/2947910/www_android/project/cordova/node_modules/q/q.js:834:54) at self.promiseDispatch.done 

(/var/gimlet/tmp/47199102437880/2947910/www_android/project/cordova/node_modules/q/q.js:863:30) at Promise.promise.promiseDispatch 

(/var/gimlet/tmp/47199102437880/2947910/www_android/project/cordova/node_modules/q/q.js:796:13) at 

/var/gimlet/tmp/47199102437880/2947910/www_android/project/cordova/node_modules/q/q.js:857:14 at runSingle 

(/var/gimlet/tmp/47199102437880/2947910/www_android/project/cordova/node_modules/q/q.js:137:13) 

Unable to graft xml at selector "/manifest/application/activity[@android:label='@string/activity_name']" from 

"/var/gimlet/tmp/47199102437880/2947910/www_android/project/AndroidManifest.xml" during config install - You can fix this here

Which links here: http://docs.phonegap.com/phonegap-build/support/failed-builds/#plugin-error

guatedude2 commented 5 years ago

Thanks for checking I’ll fix this today

gijsbeijer commented 4 years ago

Any news? I think I'm having a related issue:

Error - Plugin (or a specific plugin version) not found in external repo: 
cordova-plugin-kiosk-launcher - You can fix this here

Thats all I'm getting though, no extra info.

I installed the npm version and in my config.xml:

<plugin name="cordova-plugin-kiosk-launcher" spec="~0.2" />

Thanks

guatedude2 commented 4 years ago

Still looking into this. Not sure whats happening.

@kidGodzilla could you tell me more about how you reproduced this?

gijsbeijer commented 4 years ago

Well, I kind of just followed the readme:

e.g. installed with the npm version cordova plugin add cordova-plugin-kiosk-launcher etc.

After this (even if I don't use the plugin) it just fails at building on Phonegap Build with the error mentioned in my previous message (it does work if I build locally).

Hope this helps.

guatedude2 commented 3 years ago

Where you able to get this to work?

gijsbeijer commented 2 years ago

Nope I went for using another plugin (I'd have to look into the project to find out which one)