Phonegap build error for windows - phonegap-build

I am trying to create a build for windows using here where as was following this same method till last week.
unfortunately today I am getting error as below,
Any suggestion please.

Don't use CLI if you are using Build.

Try to install the plugin again
cordova plugin add cordova-plugin-vibration

I had the same isue. I solved the problem that I had excluded all plugins from xml except on and then I tried to build. After every succesful build I include new plugin, then I came to the error.
You have wrong plugin for vibration in xour xml:
your plugin :
<plugin name="org.apache.cordova.vibration"/>
replace it with this:
<plugin name="org.apache.cordova.vibration" spec="0.3.13" source="pgb" />
Tell me if it works?
Regards, Ivan

Related

Updating versionCode for Android PhoneGap app

I have tried updating the config.xml file to include: versionCode="10002"
I've created a 'platforms/android/release-signing.properties' file and ran:
phonegap build --release android --versionCode=10002
Nothing seems to make the versionCode=10002 stick. How can I fix this?
I had tried it with both the "android-" prepended and without.
As well as with the parameters on separate lines rather than on the same line.
That did not help.
What did end up resolving it for me was creating a new PhoneGap Build app. That was created fine with the new version and I uploaded to the Google Play Store no problem. It seems to be a bug with PhoneGap's inability to update the version number. Too bad.
It should work if you add android-versionCode instead of just versionCode to the <widget> in config.xml.
For example:
<widget id="com.test.app"
version="1.2.3"
android-versionCode="10002">

NativeScript platform add error

I am trying to add the android platform to my NativeScript project. When I run tns platform add android I get the following error: Package name must look like: com.company.Name
Here is my environment:
tns version 2.0.0,
node version 4.4.3,
tns doctor returns No issues were detected
Package name in project.json: com.mycompany.myproject
The error message has the Name with capital N. However if I try to use Myproject, the regex (^[^A-Z] + $) applied to the name does not validate.
Any suggestions are greatly appreciated.
Thank you.
Try opening the AndroidManifest.xml located in app/App_Resources/Android and putting your package name there under the <manifest> tag. Then run tns build android and see what happens. This should run just fine. If not, you might try getting a new app and see if something isn't borked on that project elsewhere causing this issue to bubble up. Hope that helps :)

Jenkins missing config.xml of Jobs under windows

I got a Problem with our Jenkins Server:
The Config.xml files for the jobs are missing after some time and we dont know why.
I'm rather sure that noone is deleting the files.
I already uninstalled the Plugin email-ext as I first noticed missing jobs after I first installed the Plugin.
However this morning there was again 1 config.xml missing.
Jenkins Version is 1.598 and its running under win7.
I appreciate any hints on what could be the source of my problem.
Thanks in advance.
You can use Process Monitor to see which process deletes xml files.

PushWoosh plugin: External repo not found in Phonegap Build (PGB)

I am using PGB (PhonegapBuild) and added pushwoosh plugin 3.4.5, it runs perfect since the app build but since last night, my build failed everytime, even i have not make any changes in config.xml or pushwoosh code. I am getting this error
Error - Plugin (or a specific plugin version) not found in external repo: com.pushwoosh.plugins.pushwoosh
Any one can help
Thanks
It looks like every time new version of the plugin is submitted, the old one disappears from plugins.cordova.io.
I'm not really sure how plugins.cordova.io works, doing search for pushwoosh plugin there displays version 3.4.9
http://plugins.cordova.io/#/search?search=pushwoosh
This is how you should add the plugin:
<gap:plugin name="com.pushwoosh.plugins.pushwoosh" source="plugins.cordova.io" />
Remove "version" attribute, it worked for me after.

How do I set where my grails plugins should be installed?

I saw the light and install the joda-time plugin for grails.
However, when I tried to commit my changes to source control I realised that grails had located the files in:
C:\Users\Steve\.grails\1.1.1\plugins
instead of somewhere under the project directory of:
f:\grails\projects\myproject
Yeah I'm using windows :-\
So now when someone pulls down my changes from source control they are missing all the joda-time plugin lovelyness and they are wanting to spank me :)
What should I be setting so that grails doesn't put anything under my user directory?
(It isn't installed as a global plugin - just as a project one - at least I think so, I ran "grails install-plugin joda-time" )
Many thanks in advance.
P.S. Currently listening to Plug In Baby by Muse....how coincidental :D
The plugin is listed in application.properties, so when someone gets your code Grails will install missing plugins the first time they run 'grails run-app' or other commands.
If you want to revert to 1.0.x behavior just create grails-app/conf/BuildConfig.groovy with the line
grails.project.plugins.dir='plugins'
and your plugins will be in with the rest of the project files.

Resources