Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to install 'cordova-plugin-flurryanalytics':TypeError: Uh oh! #5

Closed
berndartmueller opened this issue Oct 7, 2015 · 8 comments

Comments

@berndartmueller
Copy link

Hey,

since this commit (7438dc9) I can not build my cordova project anymore.

Does someone know how to fix this issue?

Thanks!

[39m�[22m�[1m�[31mFailed to install 'cordova-plugin-flurryanalytics':TypeError: Uh oh!
Arguments to path.resolve must be strings
at Object.posix.resolve (path.js:439:13)
at module.exports.framework.install (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/platforms/android.js:139:35)
at Object.ActionStack.process (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/util/action-stack.js:67:25)
at handleInstall (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:575:20)
at /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:335:28
at _fulfilled (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:787:54)
at self.promiseDispatch.done (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:816:30)
at Promise.promise.promiseDispatch (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:749:13)
at /usr/local/lib/node_modules/cordova/node_modules/q/q.js:509:49
at flush (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:108:17)

@blakgeek
Copy link
Owner

blakgeek commented Oct 7, 2015

What version of Cordova and the Android platform are you using?

@berndartmueller
Copy link
Author

cordova 4.3.0, android platform 3.7.1

@blakgeek
Copy link
Owner

blakgeek commented Oct 8, 2015

Ok. That's the issue. The new version of the plugin is meant to work with Android platform version >= 4 where the build process uses gradle. I'll create a separate branch that continues to support the older version and update the README with instructions.

@berndartmueller
Copy link
Author

That's great, thank you!

When are you finished with implementing this separate branch?

@blakgeek
Copy link
Owner

blakgeek commented Oct 8, 2015

I will try to get to it by the weekend.

On Thu, Oct 8, 2015 at 1:42 PM, Bernd Artmüller notifications@github.com
wrote:

That's great, thank you!

When are you finished with implementing this separate branch?


Reply to this email directly or view it on GitHub
#5 (comment)
.

Check out my games on www.bggamecentral.com or download them from the App
Stores
https://itunes.apple.com/us/artist/henry-lawton/id895605107
[image: Get it on Google Play]
https://play.google.com/store/apps/developer?id=BG+Games

@berndartmueller
Copy link
Author

Any news? :)

blakgeek added a commit that referenced this issue Oct 15, 2015
Added  separate branch to support the 3.x Android platform
@blakgeek
Copy link
Owner

I just pushed an updated version of the plugin.xml that will work with the older android platform. You should remove and re-add the plugin like so. I have two removes listed because I don't which version you currently have installed

cordova plugins rm com.blakgeek.cordova.plugin.flurryanalytics --save
cordova plugins rm cordova-plugin-flurryanalytics --save
cordova plugins add https://github.com/blakgeek/cordova-plugin-flurryanalytics#android/3.x --save

@blakgeek
Copy link
Owner

Let me know if you're still running into issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants