Cordova Plugin in Intel XDX Error?

Get help using Construct 2

Post » Tue Oct 25, 2016 10:39 pm

Error: Could not retrieve plugin "https://github.com/cranberrygame/cordova-plugin-game --variable APP_ID='YOUR_GOOGLE_PLAY_GAME_APP_ID'".
Error: Could not fetch plugin "https://github.com/cranberrygame/cordova-plugin-game --variable APP_ID='YOUR_GOOGLE_PLAY_GAME_APP_ID'".

I put in the correct name according to this tutorial and the app ID but to no avail.

https://www.scirra.com/tutorials/4864/h ... lugin#h2a1

I got my google play services ID but i still get that error message.
B
20
S
7
G
3
Posts: 302
Reputation: 3,634

Post » Tue Oct 25, 2016 10:41 pm

It's a Catch-22, I need to build my game to get an app ID, but can't build my game without an app ID. I did create a Leaderboard in the developer console and I am using that app ID. is it the correct one or do I need another app ID?

Do I use the Google play App ID, which i need to upload the game in order to get? or do I use the app ID in Construct 2? I did create one in Google play anyways, and I did copy and paste the Google Play App ID into the the Intel XDX prompt for the Cordova Game plugin, but it still says error?
B
20
S
7
G
3
Posts: 302
Reputation: 3,634

Post » Wed Oct 26, 2016 4:34 pm

Please help, trying to publish this by Halloween. I followed the tutorial exactly on how to add a third party plug-in to Intel XDX but still shows build error. Do I have to put the actual plugin into the plug-in folder itself? If so the tutorial doesn't mention that.
B
20
S
7
G
3
Posts: 302
Reputation: 3,634

Post » Wed Oct 26, 2016 6:04 pm

Says to remove this code, but this code is missing:

"Now you actually want to remove the code that activates the plugin from Construct 2. You do this by clicking the DEVELOP tab and opening the intelxdk.config.additions.xml file. Find this code:

1
<intelxdk:plugin intelxdk:name="https://github.com/cranberrygame/cordova-plugin-game --variable APP_ID='YOUR_GOOGLE_PLAY_GAME_APP_ID'" intelxdk:value="https://github.com/cranberrygame/cordova-plugin-game --variable APP_ID='YOUR_GOOGLE_PLAY_GAME_APP_ID'" />
and remove it ALL!
Hit CTRL + S and move to the Build tab, build for android and you're done!

REMINDER: You will need to remove the code every time you export it from Construct 2, since the file gets replaced with each exportation.

If you like this tutorial, please favorite it! If you have any questions or think that I'm not clear enough with a part, please tell me in the comments and I will reply and/or update the tutorial. Thank you and hope this helps! :)"
B
20
S
7
G
3
Posts: 302
Reputation: 3,634

Post » Thu Oct 27, 2016 3:24 pm

No one knows? : (
B
20
S
7
G
3
Posts: 302
Reputation: 3,634


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 17 guests