Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Phonegap Build error (Plugman vs pluginstall?) #4

Open
kidGodzilla opened this issue Jul 2, 2019 · 6 comments
Open

Phonegap Build error (Plugman vs pluginstall?) #4

kidGodzilla opened this issue Jul 2, 2019 · 6 comments

Comments

@kidGodzilla
Copy link

kidGodzilla commented Jul 2, 2019

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
Copy link
Owner

Thanks for checking I’ll fix this today

@gijsbeijer
Copy link

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
Copy link
Owner

guatedude2 commented Jul 10, 2019

Still looking into this. Not sure whats happening.

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

@gijsbeijer
Copy link

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
Copy link
Owner

Where you able to get this to work?

@gijsbeijer
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants