- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Hi,
Tuesday, everthing worked well. I only made changes to some css files, but till yeasterday evening, build isn't possible.
I testet it with the same sources as I had from the last build on Tuesday, it's getting now the same error:
[javac] Compiling 62 source files to .../storyspot/platforms/android/ant-build/classes
[javac] .../storyspot/platforms/android/src/nl/xservices/plugins/Toast.java:109: error: cannot find symbol
[javac] toast.getView().setElevation(6);
[javac] ^
[javac] symbol: method setElevation(int)
[javac] location: class View
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 1 error
What can I do?
Kind regards and thanks for your help,
Sascha
- Balises:
- HTML5
- Intel® XDK
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
According to the github repo, cordova-plugin-x-toast was recently updated two weeks ago and again one day ago. It might be that you need to explicitly include an older version of that plugin to make sure the build works. Are you building with CLI 4.1.2 or CLI 5.1.1? If you are using 4.1.2, I suggest you switch to 5.1.1 and try that. If that doesn't work, use the plugin manager to explicitly include an older version of the plugin in your project, you can see the version numbers here > https://github.com/EddyVerbruggen/Toast-PhoneGap-Plugin/releases
Lien copié
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
The error that you are receiving seems to be related to a Cordova plugin that you are using. What plugins are you using?
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Some plugins are adding the plugin cordova-plugin-x-toast
With this, I get the error.
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
According to the github repo, cordova-plugin-x-toast was recently updated two weeks ago and again one day ago. It might be that you need to explicitly include an older version of that plugin to make sure the build works. Are you building with CLI 4.1.2 or CLI 5.1.1? If you are using 4.1.2, I suggest you switch to 5.1.1 and try that. If that doesn't work, use the plugin manager to explicitly include an older version of the plugin in your project, you can see the version numbers here > https://github.com/EddyVerbruggen/Toast-PhoneGap-Plugin/releases
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Thanks for your answer, it worked.
But only if I manually download an older release(not the latest one), extract and add it.
If a add the git repo, I can change the version.
I changed the CLI to 5.1.1, there you have to add the plugin manually, to in order to get it working.
I manually removed the plugins, and it works if you remove the com.phonegap.plugins.facebookconnect plugin.
So i think, there could be some errors.
- S'abonner au fil RSS
- Marquer le sujet comme nouveau
- Marquer le sujet comme lu
- Placer ce Sujet en tête de liste pour l'utilisateur actuel
- Marquer
- S'abonner
- Page imprimable