- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, I can not get the intel.xdk.device plugin to compile on server with DEBUG, TEST(mobile) or BUILD. This is for Android, ver 2548, cli 5.1.1. I tried two different projects and I get the same fault (From DEBUG see below). Can anyone verify if the problem so I know its not my fault?
-compile:
[javac] Compiling 16 source files to .../appanalyzer/platforms/android/bin/classes
[javac] .../appanalyzer/platforms/android/src/com/intel/xdk/device/Device.java:277: error: cannot find symbol
[javac] final ViewGroup parent = (ViewGroup)webView.getView().getParent();
[javac] ^
[javac] symbol: method getView()
[javac] location: variable webView of type CordovaWebView
[javac] .../appanalyzer/platforms/android/src/com/intel/xdk/device/Device.java:378: error: cannot find symbol
[javac] webView.getView().setOnKeyListener(webViewListener);
[javac] ^
[javac] symbol: method getView()
[javac] location: variable webView of type CordovaWebView
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: .../appanalyzer/platforms/android/src/com/intel/xdk/device/Device.java uses unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 2 errors
BUILD FAILED
.../android-sdk-linux/tools/ant/build.xml:720: The following error occurred while executing this line:
.../android-sdk-linux/tools/ant/build.xml:734: Compile failed; see the compiler error output for details.
Total time: 6 seconds
.../appanalyzer/platforms/android/cordova/node_modules/q/q.js:126
throw e;
^
Error code 1 for command: ant with args: release,-f,.../appanalyzer/platforms/android/build.xml
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Do you have other plugins included that could be conflicting with the intel.xdk.device plugin?
Try creating a new blank app, add the device plugin, and try building that. It worked for me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks John.
I made a new test project with only inte.xdk.device and I have the same fault.
hmmm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Downgraded to cli 4.1.2 and the test project compiles.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
also downgraded intel.xdk.device 1.2.5 to 1.2.4.
for my project i downgraded
cli to 4.1.2
and
device to 1.2.4
and
cordova-plugin-statusbar1.0.0 to org.apache.cordova.statusbar0.1.9
and it works.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The app is a lot more stable and the bugs I see are my bad programming(for now).
Thanks for the help.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page