- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Tags:
- HTML5
- Intel® XDK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The error that you are receiving seems to be related to a Cordova plugin that you are using. What plugins are you using?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Some plugins are adding the plugin cordova-plugin-x-toast
With this, I get the error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page