<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic I have same problem, and in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Could-not-build-debug-module-XDK-2893/m-p/1105484#M70327</link>
    <description>&lt;P&gt;I have same problem, and solved it by lowering version of Intel XDK Device plugin to 2.0.0. Try it, may be fresh version of Device plugin is buggy =)&lt;/P&gt;</description>
    <pubDate>Tue, 23 Feb 2016 10:19:39 GMT</pubDate>
    <dc:creator>Jiang__Peng1</dc:creator>
    <dc:date>2016-02-23T10:19:39Z</dc:date>
    <item>
      <title>Could not build debug module (XDK 2893)</title>
      <link>https://community.intel.com/t5/Software-Archive/Could-not-build-debug-module-XDK-2893/m-p/1105482#M70325</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I'm having issues with trying to build a debug module for my app. I'm not entirely sure why it's like this, but I had no problems with this initially. Recently, I've been trying to get IAPs and other core Cordova plugins to work, so my focus was on adding those plugins, and releasing into the Google Play alpha channel, and debugging the IAP just to get things working on a basic level. So I haven't been using the debug module during this time.&lt;/P&gt;

&lt;P&gt;I had some rare quirks recently with my dev machine, like having me to force it to shut down and losing debugging mode on my android test phone. So right now, I've just reestablished my dev setup and I'm testing out XDK to make sure I can still do my tests on the device directly, and so I've encountered this problem.&lt;/P&gt;

&lt;P&gt;Right now it tells me that I need to update my debug module. So I hit that and wait for the debug build. It tells me that it "Could not generate a debug module". Under Debug Module Error, here's what's in red:&lt;/P&gt;

&lt;UL style="margin: 0px; padding: 0px; box-sizing: border-box; font-family: intelXDK; color: rgb(34, 34, 34); font-size: 14px; font-style: normal; font-variant: normal; font-weight: 100; letter-spacing: normal; line-height: normal; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(238, 238, 238);"&gt;
	&lt;LI style="margin: 0px; padding: 0px; box-sizing: border-box; font-family: intelXDK;"&gt;&lt;SPAN class="appx-build-error" style="margin: 0px; padding: 0px; box-sizing: border-box; font-family: intelXDK; color: rgb(237, 28, 36);"&gt;The App ID is "com.intel.appx.ProjectName.xwalk15"&lt;/SPAN&gt;&lt;/LI&gt;
	&lt;LI style="margin: 0px; padding: 0px; box-sizing: border-box; font-family: intelXDK;"&gt;&lt;SPAN class="appx-build-error" style="margin: 0px; padding: 0px; box-sizing: border-box; font-family: intelXDK; color: rgb(237, 28, 36);"&gt;The App Name is "AP Debug x15 ProjectName"&lt;/SPAN&gt;&lt;/LI&gt;
	&lt;LI style="margin: 0px; padding: 0px; box-sizing: border-box; font-family: intelXDK;"&gt;&lt;SPAN class="appx-build-error" style="margin: 0px; padding: 0px; box-sizing: border-box; font-family: intelXDK; color: rgb(237, 28, 36);"&gt;Application will be signed.&lt;/SPAN&gt;&lt;/LI&gt;
	&lt;LI style="margin: 0px; padding: 0px; box-sizing: border-box; font-family: intelXDK;"&gt;&lt;SPAN class="appx-build-error" style="margin: 0px; padding: 0px; box-sizing: border-box; font-family: intelXDK; color: rgb(237, 28, 36);"&gt;Plugin "cordova-plugin-network-information" (1.1.0) installed.&lt;/SPAN&gt;&lt;/LI&gt;
	&lt;LI style="margin: 0px; padding: 0px; box-sizing: border-box; font-family: intelXDK;"&gt;&lt;SPAN class="appx-build-error" style="margin: 0px; padding: 0px; box-sizing: border-box; font-family: intelXDK; color: rgb(237, 28, 36);"&gt;Plugin "intel.xdk.device" (2.0.1) installed.&lt;/SPAN&gt;&lt;/LI&gt;
	&lt;LI style="margin: 0px; padding: 0px; box-sizing: border-box; font-family: intelXDK;"&gt;&lt;SPAN class="appx-build-error" style="margin: 0px; padding: 0px; box-sizing: border-box; font-family: intelXDK; color: rgb(237, 28, 36);"&gt;Plugin "intel.xdk.cache" (1.2.3) installed.&lt;/SPAN&gt;&lt;/LI&gt;
	&lt;LI style="margin: 0px; padding: 0px; box-sizing: border-box; font-family: intelXDK;"&gt;&lt;SPAN class="appx-build-error" style="margin: 0px; padding: 0px; box-sizing: border-box; font-family: intelXDK; color: rgb(237, 28, 36);"&gt;Plugin "cordova-plugin-device" (1.1.0) installed.&lt;/SPAN&gt;&lt;/LI&gt;
	&lt;LI style="margin: 0px; padding: 0px; box-sizing: border-box; font-family: intelXDK;"&gt;&lt;SPAN class="appx-build-error" style="margin: 0px; padding: 0px; box-sizing: border-box; font-family: intelXDK; color: rgb(237, 28, 36);"&gt;Plugin "cordova-plugin-device-motion" (1.2.0) installed.&lt;/SPAN&gt;&lt;/LI&gt;
	&lt;LI style="margin: 0px; padding: 0px; box-sizing: border-box; font-family: intelXDK;"&gt;&lt;SPAN class="appx-build-error" style="margin: 0px; padding: 0px; box-sizing: border-box; font-family: intelXDK; color: rgb(237, 28, 36);"&gt;Plugin "cordova-plugin-device-orientation" (1.0.2) installed.&lt;/SPAN&gt;&lt;/LI&gt;
	&lt;LI style="margin: 0px; padding: 0px; box-sizing: border-box; font-family: intelXDK;"&gt;&lt;SPAN class="appx-build-error" style="margin: 0px; padding: 0px; box-sizing: border-box; font-family: intelXDK; color: rgb(237, 28, 36);"&gt;Plugin "cordova-plugin-root-detection" (0.1.1) installed.&lt;/SPAN&gt;&lt;/LI&gt;
	&lt;LI style="margin: 0px; padding: 0px; box-sizing: border-box; font-family: intelXDK;"&gt;&lt;SPAN class="appx-build-error" style="margin: 0px; padding: 0px; box-sizing: border-box; font-family: intelXDK; color: rgb(237, 28, 36);"&gt;Plugin "cc.fovea.cordova.purchase" (4.0.0) installed.&lt;/SPAN&gt;&lt;/LI&gt;
	&lt;LI style="margin: 0px; padding: 0px; box-sizing: border-box; font-family: intelXDK;"&gt;&lt;SPAN class="appx-build-error" style="margin: 0px; padding: 0px; box-sizing: border-box; font-family: intelXDK; color: rgb(237, 28, 36);"&gt;Plugin "com.intel.xdk.ppfa" (1.0) installed.&lt;/SPAN&gt;&lt;/LI&gt;
	&lt;LI style="margin: 0px; padding: 0px; box-sizing: border-box; font-family: intelXDK;"&gt;&lt;SPAN class="appx-build-error" style="margin: 0px; padding: 0px; box-sizing: border-box; font-family: intelXDK; color: rgb(237, 28, 36);"&gt;Updated "package" to "com.intel.appx.ProjectName.xwalk15"&lt;/SPAN&gt;&lt;/LI&gt;
	&lt;LI style="margin: 0px; padding: 0px; box-sizing: border-box; font-family: intelXDK;"&gt;&lt;SPAN class="appx-build-error" style="margin: 0px; padding: 0px; box-sizing: border-box; font-family: intelXDK; color: rgb(237, 28, 36);"&gt;App name updated to [AP Debug x15 ProjectName]&lt;/SPAN&gt;&lt;/LI&gt;
	&lt;LI style="margin: 0px; padding: 0px; box-sizing: border-box; font-family: intelXDK;"&gt;&lt;SPAN class="appx-build-error" style="margin: 0px; padding: 0px; box-sizing: border-box; font-family: intelXDK; color: rgb(237, 28, 36);"&gt;Updated "minSdkVersion" with "14"&lt;/SPAN&gt;&lt;/LI&gt;
	&lt;LI style="margin: 0px; padding: 0px; box-sizing: border-box; font-family: intelXDK;"&gt;&lt;SPAN class="appx-build-error" style="margin: 0px; padding: 0px; box-sizing: border-box; font-family: intelXDK; color: rgb(237, 28, 36);"&gt;Updated "targetSdkVersion" with "21"&lt;/SPAN&gt;&lt;/LI&gt;
	&lt;LI style="margin: 0px; padding: 0px; box-sizing: border-box; font-family: intelXDK;"&gt;&lt;SPAN class="appx-build-error" style="margin: 0px; padding: 0px; box-sizing: border-box; font-family: intelXDK; color: rgb(237, 28, 36);"&gt;Updated "installLocation" to "auto"&lt;/SPAN&gt;&lt;/LI&gt;
	&lt;LI style="margin: 0px; padding: 0px; box-sizing: border-box; font-family: intelXDK;"&gt;&lt;SPAN class="appx-build-error" style="margin: 0px; padding: 0px; box-sizing: border-box; font-family: intelXDK; color: rgb(237, 28, 36);"&gt;Added "screenOrientation" to "landscape"&lt;/SPAN&gt;&lt;/LI&gt;
	&lt;LI style="margin: 0px; padding: 0px; box-sizing: border-box; font-family: intelXDK;"&gt;&lt;SPAN class="appx-build-error" style="margin: 0px; padding: 0px; box-sizing: border-box; font-family: intelXDK; color: rgb(237, 28, 36);"&gt;Updated "versionCode" to "19"&lt;/SPAN&gt;&lt;/LI&gt;
	&lt;LI style="margin: 0px; padding: 0px; box-sizing: border-box; font-family: intelXDK;"&gt;&lt;SPAN class="appx-build-error" style="margin: 0px; padding: 0px; box-sizing: border-box; font-family: intelXDK; color: rgb(237, 28, 36);"&gt;Updated "versionName" to "0.1"&lt;/SPAN&gt;&lt;/LI&gt;
	&lt;LI style="margin: 0px; padding: 0px; box-sizing: border-box; font-family: intelXDK;"&gt;&lt;SPAN class="appx-build-error" style="margin: 0px; padding: 0px; box-sizing: border-box; font-family: intelXDK; color: rgb(237, 28, 36);"&gt;Added "debuggable" to "false"&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;A build log was provided. Here are the last several lines where the error was spotted:&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;-compile:
    [javac] Compiling 26 source files to .../builds/build.Uw_EUL.tmp/appanalyzer/platforms/android/bin/classes
    [javac] .../builds/build.Uw_EUL.tmp/appanalyzer/platforms/android/src/com/intel/xdk/device/Device.java:179: error: cannot find symbol
    [javac]         final ViewGroup parent = (ViewGroup) webView.getEngine().getView().getParent();
    [javac]                                                     ^
    [javac]   symbol:   method getEngine()
    [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] 1 error

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: 7 seconds

.../builds/build.Uw_EUL.tmp/appanalyzer/platforms/android/cordova/node_modules/q/q.js:126
                    throw e;
                          ^
Error code 1 for command: ant with args: release,-f,.../builds/build.Uw_EUL.tmp/appanalyzer/platforms/android/build.xml&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;And here's what it looks like in XDK. I've also attached the build log file if that's of any help.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="debug-module-build-fail.jpg"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/8445iD0324ABBD908299C/image-size/large?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="debug-module-build-fail.jpg" alt="debug-module-build-fail.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="https://community.intel.com/legacyfs/online/drupal_files/491439"&gt;491439&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jan 2016 06:14:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Could-not-build-debug-module-XDK-2893/m-p/1105482#M70325</guid>
      <dc:creator>J_C_</dc:creator>
      <dc:date>2016-01-27T06:14:27Z</dc:date>
    </item>
    <item>
      <title>I tried removing some of the</title>
      <link>https://community.intel.com/t5/Software-Archive/Could-not-build-debug-module-XDK-2893/m-p/1105483#M70326</link>
      <description>&lt;P&gt;I tried removing some of the plugins to see what works and what doesn't. Here's what appears to work (tested this until it showed me it's downloading to my device or it throws me the build error):&lt;/P&gt;

&lt;OL&gt;
	&lt;LI&gt;Remove all plugins (Core, XDK, 3rd Party) - OK&lt;/LI&gt;
	&lt;LI&gt;Use only Core and XDK plugins - COULD NOT BUILD MODULE&lt;/LI&gt;
	&lt;LI&gt;Use only Core plugins - OK&lt;/LI&gt;
	&lt;LI&gt;Use only XDK plugins - COULD NOT BUILD MODULE
		&lt;OL&gt;
			&lt;LI&gt;Use only Intel XDK Cache plugin - OK&lt;/LI&gt;
			&lt;LI&gt;&lt;STRONG&gt;Use only Intel XDK Device plugin - COULD NOT BUILD MODULE (THIS MIGHT BE THE CAUSE)&lt;/STRONG&gt;&lt;/LI&gt;
		&lt;/OL&gt;
	&lt;/LI&gt;
	&lt;LI&gt;Use only 3rd party plugins - OK&lt;/LI&gt;
	&lt;LI&gt;Use core, XDK, and 3rd party plugins except 4b - OK&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Wed, 27 Jan 2016 07:05:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Could-not-build-debug-module-XDK-2893/m-p/1105483#M70326</guid>
      <dc:creator>J_C_</dc:creator>
      <dc:date>2016-01-27T07:05:00Z</dc:date>
    </item>
    <item>
      <title>I have same problem, and</title>
      <link>https://community.intel.com/t5/Software-Archive/Could-not-build-debug-module-XDK-2893/m-p/1105484#M70327</link>
      <description>&lt;P&gt;I have same problem, and solved it by lowering version of Intel XDK Device plugin to 2.0.0. Try it, may be fresh version of Device plugin is buggy =)&lt;/P&gt;</description>
      <pubDate>Tue, 23 Feb 2016 10:19:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Could-not-build-debug-module-XDK-2893/m-p/1105484#M70327</guid>
      <dc:creator>Jiang__Peng1</dc:creator>
      <dc:date>2016-02-23T10:19:39Z</dc:date>
    </item>
    <item>
      <title>For what its worth, the Intel</title>
      <link>https://community.intel.com/t5/Software-Archive/Could-not-build-debug-module-XDK-2893/m-p/1105485#M70328</link>
      <description>&lt;P&gt;For what its worth, the Intel XDK plugins will be deprecated in the near future. You can still use them, but we highly recommend finding a similar Cordova plugin and switching to that.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Feb 2016 14:06:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Could-not-build-debug-module-XDK-2893/m-p/1105485#M70328</guid>
      <dc:creator>John_H_Intel2</dc:creator>
      <dc:date>2016-02-23T14:06:08Z</dc:date>
    </item>
    <item>
      <title>I am working in a brand new</title>
      <link>https://community.intel.com/t5/Software-Archive/Could-not-build-debug-module-XDK-2893/m-p/1105486#M70329</link>
      <description>&lt;P&gt;I am working in a brand new app, started with a blank template (Cordova). I inserted some plugins (none XDK, but the last one is listed as com.intel.xdk.ppfa).&lt;/P&gt;

&lt;P&gt;I can build normally, but if I try to debug, I receive an error: Could not generate debug module.&lt;/P&gt;

&lt;P&gt;Looking the list, all the plugins are instaled:&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-family: Consolas, 'Lucida Console', Menlo, Monaco, 'DejaVu Sans Mono', monospace, sans-serif; font-size: 1em; line-height: 1.5;"&gt;The App ID is "com.intel.appx.MoedaseMedalhas.xwalk15"&lt;/SPAN&gt;&lt;/P&gt;

&lt;PRE class="brush:plain;"&gt;The App Name is "AP Debug x15 MoedaseMedalhas"
Application will be signed.
Plugin "cordova-plugin-statusbar" (2.0.0) installed.
Plugin "cordova-plugin-device" (1.1.0) installed.
Plugin "cordova-plugin-splashscreen" (2.1.0) installed.
Plugin "cordova-plugin-camera" (1.2.0) installed.
Plugin "cordova-plugin-inappbrowser" (1.1.0) installed.
Plugin "cordova-plugin-network-information" (1.1.0) installed.
Plugin "cordova-plugin-vibration" (2.0.0) installed.
Plugin "cordova-sqlite-storage" (0.7.14) installed.
Plugin "org.apache.cordova.dialogs" (0.3.0) installed.
Plugin "org.apache.cordova.globalization" (0.3.4) installed.
Plugin "com.google.playservices" (19.0.0) installed.
Plugin "com.cmackay.plugins.googleanalytics" (0.1.15) installed.
Plugin "com.google.admobsdk" (6.12.2) installed.
Plugin "cordova-plugin-admob" (2.2.0) installed.
Plugin "com.intel.xdk.ppfa" (1.0) installed.&lt;/PRE&gt;

&lt;P&gt;What can be the error? How to solve it? Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Feb 2016 16:43:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Could-not-build-debug-module-XDK-2893/m-p/1105486#M70329</guid>
      <dc:creator>Hamilton_Tenório_da_</dc:creator>
      <dc:date>2016-02-23T16:43:36Z</dc:date>
    </item>
    <item>
      <title>Hamilton, that last plugin</title>
      <link>https://community.intel.com/t5/Software-Archive/Could-not-build-debug-module-XDK-2893/m-p/1105487#M70330</link>
      <description>&lt;P&gt;Hamilton, that last plugin (com.intel.xdk.ppfa) is inserted automatically by the debug module builder, it is a helper plugin for the Debug tab.&lt;/P&gt;

&lt;P&gt;My suspicion is the debug module builder is having a conflict with one of the plugins on lines 10 and 13-16. Easiest way to find out is by removing them and confirming that you can build a debug module. Then add back, one-by-one, the most important to the least important, building a new debug module after each attempt, until you find the one that is causing the troubles.&lt;/P&gt;

&lt;P&gt;Once you find the one that is causing troubles, I would simply debug without that plugin, you might have to add some conditional code around those places in your app that make calls to those APIs, so you avoid calling something that is not there.&lt;/P&gt;

&lt;P&gt;p.s. You should also update the versions of those other two core plugins (org.apache.cordova.dialogs and org.apache.cordova.globalization), you are using the CLI 4.1.2 versions for those plugins.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Feb 2016 16:55:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Could-not-build-debug-module-XDK-2893/m-p/1105487#M70330</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2016-02-23T16:55:00Z</dc:date>
    </item>
  </channel>
</rss>

