Showing results for 
Search instead for 
Did you mean: 

build fail with android billing plugin

I'm trying to get the IAP to work on my android app, and followed a couple of tutorials, for example this one:

When I install the plugin as instructed everything goes well but I get build fail on both of them. It says it can't install the plugin. I carefully copy paste the key from the android developer site so it can't be that. 

I just can't figure out what is wrong! 

From the build log:

Error: Plugin Purchase failed to install.


I can't figure out how to get a more detailed build log though

Tags (2)
0 Kudos
1 Reply

Anna -- that article was written two years ago, unfortunately, the state of Cordova has changed dramatically since then, so there is no guarantee that the plugin and build system that was used two years ago will still work today. There appear to be a lot of issues associated with that plugin. I don't see anything in particular that might be causing your build error. When I add it to a demo project of mine I am able to build with it. I used the technique described in that article:

Screen Shot 2016-08-22 at 6.21.34 PM.png