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.
Related
Loading XCodewe are getting this error.
Any solution?
FAILED pluginJSON =
["AuthProxy1342781311","AuthProxy","initWebStrategies",[]] 2020-01-24
12:59:00.432213+0530 myJobCard[23188:330651] ERROR: Plugin 'StatusBar'
not found, or is not a CDVPlugin. Check your plugin mapping in
config.xml. 2020-01-24 12:59:00.432347+0530 myJobCard[23188:330651]
FAILED pluginJSON = ["StatusBar1342781312","StatusBar","_ready",[]]
2020-01-24 12:59:00.432539+0530 myJobCard[23188:330651] ERROR: Plugin
'Console' not found, or is not a CDVPlugin. Check your plugin mapping
in config.xml. 2020-01-24 12:59:00.432642+0530 myJobCard[23188:330651]
FAILED pluginJSON = ["INVALID","Console","logLevel",["LOG","Set
javascript initial log level: ERROR"]] 2020-01-24 12:59:00.432821+0530
myJobCard[23188:330651] ERROR: Plugin 'Console' not found, or is not a
CDVPlugin. Check your plugin mapping in config.xml. 2020-01-24
12:59:00.432906+0530 myJobCard[23188:330651]
FAILED pluginJSON =
["INVALID","Console","logLevel",["LOG","Ionic Native: event fired
after 444 ms"]] 2020-01-24 12:59:00.433063+0530
myJobCard[23188:330651] ERROR: Plugin 'SMPSettingsExchangePlugin' not
found, or is not a CDVPlugin. Check your plugin mapping in config.xml.
We are using the following versions in npm:
version image
List of plugins which we are using in our project:List of plugin verions
We are trying the following solutions:
In X-Code, goto Build Phases -> open the Compiled Sources dropdown. Click + and add the missing plugin .m file that should be in your Plugins directory (but is missing from the compiled sources).All ready.M file is available . please follow the image in x-code All plugins .m files
In short:
delete ./plugins/ios.json,
then delete ./platforms/ios,
then run cordova platform add ios
then cordova build. Deleting ios.json
Sorry to say that you aren't providing a lot of information, which makes guessing a lot harder - what app are you trying to build? Is the SMP SDK installed? It does look a little to me that the project config is out of sync with the sources, which may happen if you blindly delete folders in Cordova :)
To be safe when Cordova runs into hiccups, I usually
Remove the offending plugins with cordova plugin remove <id>
Remove the offending platform with cordova platform add <ios>
In case of doubt, get rid of the plugins and platforms folders altogether
Re-add the offending platform via cordova platform add ios
Re-add the offending plugin via cordova plugin add <id>
Also, as a general rule of thumb - do not mess with the platforms folder. As opposed to Ionic sources, the generated output is not meant to be modified, and if there are issues with the output, it is likely that there are issues with your Cordova project settings.
Maybe my CI tutorial gives you another hint or two as well: https://developers.sap.com/tutorials/ci-best-practices-mobile-cordova.html
(On Elasticsearch version 6.5.1)
How can I build/run Elasticsearch from source with local plugins?
I've tried the following command to install the plugins:
./distribution/build/cluster/run\ node0/elasticsear-6.5.1-SNAPSHOT/bin/elasticsearch-plugin install file:/<path_to_plugin_zip> and that says it successfully installed the plugin.
However, when I run elasticsearch via ./gradlew run --debug-jvm, it cleans out the contents of that directory before running ES.
The reason I installed the plugin into that particular directory is that I put a debugger in the PluginsService.java file, and saw that the Path pluginsDirectory parameter in the constructor was set to /Users/jreback/Desktop/elasticsearch/distribution/build/cluster/run node0/elasticsearch-6.5.1-SNAPSHOT/plugins.
So, how can I get my plugin installed on my local ES version and run ES such that the plugin code doesn't get removed as the process starts up? Many thanks in advance!
FWIW, I got this working with some manual code changes (there may be or likely is a more recommended way to do this, but this worked for me).
In my ES checkout, I made the following code change to server/src/main/java/org/elasticsearch/env/Environment.java:
replace this line: pluginsFile = homeFile.resolve("plugins"); with pluginsFile = Paths.get("<path to plugin directory");
(Also, you must import java.nio.file.Paths at the top of that file).
The directory structure for the directory you listed above should look like this:
- plugin parent directory (should whatever you put in the Environment.java file)
- plugin directory (name of the plugin)
- plugin-descriptor.properties file
- plugin jar file (generated from building the plugin in some prior step)
Then you should see that it loaded the plugin you've just added in the logs when you start up ES again.
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
I received a new version of a plugin of a project I work in collaboration with other people.I copied it over the old version in the /plugin directory. Eclispe (3.7.2 on Win7) ignored the plugin (don’t show up in the Help/About Eclipse/Installed Plugins). I put the old version back (I put an “_old” at the end of the .jar file) and it worked again but the plugin’s command in the menu appeared with a “%” character at the beginning. After some more copying of old/new version in the /plugin directory, even the old plugin won’t install. I put back an acient original version of the plugin, but still not working. It just stop suddenly working. I checked my permissions on the /plugin directory, started Eclipse as an administrator, but no success.
Thanks.
First of all you should put both versions in plugins directory only if they have different versions in plugin.xml definitions but even in this case only one of them probably will be active i.e. will add its contributions to Eclipse. You should use copy/paste actions to provide additionals to Eclipse carefully, plugins and features directories are not supposed for manual usage. To manage your plugins easily follow the dropins directory usage. For now the best you can do is to remove all versions of your custom plugin and run Eclipse to the clean workbench.
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.