<?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 No, that seemed to fix it. I in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/compile-problems-with-Android-and-the-push-notification-plug-in/m-p/1052839#M50706</link>
    <description>&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;No, that seemed to fix it. I downgraded the version to 1.4.3 and the project built fine with Cordova CLI 5.1.1&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Many thanks Paul!&lt;/P&gt;</description>
    <pubDate>Thu, 21 Jan 2016 10:53:43 GMT</pubDate>
    <dc:creator>Martin_B_1</dc:creator>
    <dc:date>2016-01-21T10:53:43Z</dc:date>
    <item>
      <title>compile problems with Android and the push notification plug-in</title>
      <link>https://community.intel.com/t5/Software-Archive/compile-problems-with-Android-and-the-push-notification-plug-in/m-p/1052833#M50700</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I recently upgraded my project to the latest version of the xdk, which required moving from Cordova 3.5 to Cordova 5.1.1. This meant also updating the push notification third-party plug-in as well. The updated plug-in (https://github.com/phonegap/phonegap-plugin-push) compiles fine on the IOS build. But on android build it gives an error:&lt;/P&gt;

&lt;PRE class="brush:plain;"&gt;symbol:   method getAssets()
  location: class GCMIntentService
.../DevDollarCandy/platforms/android/src/com/adobe/phonegap/push/PushPlugin.java:72: error: cannot find symbol
                            token = InstanceID.getInstance(getApplicationContext()).getToken(senderID, GCM);
                                    ^
  symbol: variable InstanceID
.../DevDollarCandy/platforms/android/src/com/adobe/phonegap/push/PushPlugin.java:76: error: cannot find symbol
                            token = InstanceID.getInstance(getApplicationContext()).getToken(senderID, GCM);
                                    ^
  symbol: variable InstanceID
.../DevDollarCandy/platforms/android/src/com/adobe/phonegap/push/PushPlugin.java:132: error: cannot find symbol
                        InstanceID.getInstance(getApplicationContext()).deleteInstanceID();
                        ^
  symbol: variable InstanceID
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
23 errors
 FAILED&lt;/PRE&gt;

&lt;P&gt;I noticed in the instructions for the plug-in, it has a special procedure for compiling with android.&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
	&lt;H3&gt;Compiling&lt;/H3&gt;

	&lt;P&gt;As of version 1.3.0 the plugin has been switched to using Gradle/Maven for building. You will need to ensure that you have installed the Android Support Library version 23 or greater, Android Support Repository version 20 or greater, Google Play Services version 27 or greater and Google Repository version 22 or greater.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P style="box-sizing: border-box; margin-bottom: 16px; color: rgb(51, 51, 51); font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px;"&gt;&lt;SPAN style="font-size: 13.008px; line-height: 19.512px;"&gt;However, since I don't know what the xdk does behind the scenes, I'm not certain if this is already being done, or if something is to be changed.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="box-sizing: border-box; margin-bottom: 16px; color: rgb(51, 51, 51); font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px;"&gt;&lt;SPAN style="font-size: 13.008px; line-height: 19.512px;"&gt;How do I go about resolving this error? Thanks.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 07 Nov 2015 18:05:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/compile-problems-with-Android-and-the-push-notification-plug-in/m-p/1052833#M50700</guid>
      <dc:creator>Ian_Ippolito</dc:creator>
      <dc:date>2015-11-07T18:05:30Z</dc:date>
    </item>
    <item>
      <title>Specify version 1.2.3 of the</title>
      <link>https://community.intel.com/t5/Software-Archive/compile-problems-with-Android-and-the-push-notification-plug-in/m-p/1052834#M50701</link>
      <description>&lt;P&gt;Specify version 1.2.3 of the push plugin, the newest version won't work with out current build system. We expect to have a fix for this in the near future, for now you need to use this older version of the plugin.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Nov 2015 16:30:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/compile-problems-with-Android-and-the-push-notification-plug-in/m-p/1052834#M50701</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2015-11-10T16:30:29Z</dc:date>
    </item>
    <item>
      <title>Thanks for the information</title>
      <link>https://community.intel.com/t5/Software-Archive/compile-problems-with-Android-and-the-push-notification-plug-in/m-p/1052835#M50702</link>
      <description>&lt;P&gt;Thanks for the information Paul.&lt;BR /&gt;
	&lt;BR /&gt;
	I was trying out your suggestion of switching to version 1.2.3, but saw that there was no way to change the version with a dropdown (like I have seen on other plugins). Does this perhaps require changing a configuration file manually instead?&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper" image-alt="Capture.JPG"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/8185i244683DA1271D67C/image-size/large?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Nov 2015 03:38:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/compile-problems-with-Android-and-the-push-notification-plug-in/m-p/1052835#M50702</guid>
      <dc:creator>Ian_I_</dc:creator>
      <dc:date>2015-11-11T03:38:52Z</dc:date>
    </item>
    <item>
      <title>Sorry, there's a bug in that</title>
      <link>https://community.intel.com/t5/Software-Archive/compile-problems-with-Android-and-the-push-notification-plug-in/m-p/1052836#M50703</link>
      <description>&lt;P&gt;Sorry, there's a bug in that plugin feed. Remove the plugin and add it as a third-party plugin with the following information:&lt;/P&gt;

&lt;UL&gt;
	&lt;LI&gt;choose github repo&lt;/LI&gt;
	&lt;LI&gt;&lt;A href="https://github.com/phonegap-build/PushPlugin" target="_blank"&gt;https://github.com/phonegap-build/PushPlugin&lt;/A&gt;&lt;/LI&gt;
	&lt;LI&gt;2.4.0&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;I gave you the wrong version to use with CLI 4.1.2, use the settings I'm providing above. I will be fixing that feed mistake.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Nov 2015 18:55:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/compile-problems-with-Android-and-the-push-notification-plug-in/m-p/1052836#M50703</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2015-11-11T18:55:53Z</dc:date>
    </item>
    <item>
      <title>Hi, Is there a solution for</title>
      <link>https://community.intel.com/t5/Software-Archive/compile-problems-with-Android-and-the-push-notification-plug-in/m-p/1052837#M50704</link>
      <description>&lt;P&gt;Hi, Is there a solution for this when using Cordova CLI 5.1.1?&lt;/P&gt;

&lt;P&gt;I am getting a build error when trying to use the latest version of the Phonegap Push plugin.&lt;/P&gt;

&lt;P&gt;Build failed... plugin contains Gradle script.&lt;/P&gt;

&lt;P&gt;Thanks for any help.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jan 2016 16:44:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/compile-problems-with-Android-and-the-push-notification-plug-in/m-p/1052837#M50704</guid>
      <dc:creator>Martin_B_1</dc:creator>
      <dc:date>2016-01-20T16:44:45Z</dc:date>
    </item>
    <item>
      <title>Martin, inspecting the git</title>
      <link>https://community.intel.com/t5/Software-Archive/compile-problems-with-Android-and-the-push-notification-plug-in/m-p/1052838#M50705</link>
      <description>&lt;P&gt;Martin, inspecting the git repo, it looks to me like version 1.4.3 is the last version to not include a gradle script. I would try that one.&lt;/P&gt;

&lt;P&gt;However, I don't think that is the problem, our build system supports gradle, it just does not support "hook scripts" inside plugins. I think there is a conflict between this plugin and another plugin in your project. See this note in that plugin's repo: &lt;A href="https://github.com/phonegap/phonegap-plugin-push/blob/2301364665ea5ec86f3e2d695321f0413e30d9e7/docs/INSTALLATION.md#multidex" target="_blank"&gt;https://github.com/phonegap/phonegap-plugin-push/blob/2301364665ea5ec86f3e2d695321f0413e30d9e7/docs/INSTALLATION.md#multidex&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jan 2016 19:33:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/compile-problems-with-Android-and-the-push-notification-plug-in/m-p/1052838#M50705</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2016-01-20T19:33:00Z</dc:date>
    </item>
    <item>
      <title>No, that seemed to fix it. I</title>
      <link>https://community.intel.com/t5/Software-Archive/compile-problems-with-Android-and-the-push-notification-plug-in/m-p/1052839#M50706</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;No, that seemed to fix it. I downgraded the version to 1.4.3 and the project built fine with Cordova CLI 5.1.1&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Many thanks Paul!&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2016 10:53:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/compile-problems-with-Android-and-the-push-notification-plug-in/m-p/1052839#M50706</guid>
      <dc:creator>Martin_B_1</dc:creator>
      <dc:date>2016-01-21T10:53:43Z</dc:date>
    </item>
    <item>
      <title>Thank you, Martin.</title>
      <link>https://community.intel.com/t5/Software-Archive/compile-problems-with-Android-and-the-push-notification-plug-in/m-p/1052840#M50707</link>
      <description>&lt;P&gt;Thank you, Martin.&lt;/P&gt;

&lt;P&gt;I did some deeper investigation and those later versions of that plugin were incorrectly added to the featured list, since they will not work due to their gradle scripts. We do not support gradle scripts in plugins, only as part of the standard Android/Crosswalk build scripts. We will not support gradle scripts (and hook scripts) in plugins until we've implemented our "isolated" build system, which is necessary to protect against malicious gradle scripts introduced by third-party plugins.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2016 18:45:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/compile-problems-with-Android-and-the-push-notification-plug-in/m-p/1052840#M50707</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2016-01-21T18:45:11Z</dc:date>
    </item>
  </channel>
</rss>

