merbin2012 / cordova-plugin-codeplay-facebookads-free

Free facebook audience network ads for cordova user. This supports banner ads, Interstitial ads and video ads.
23 stars 9 forks source link

build errror #1

Closed halkoy closed 5 years ago

halkoy commented 5 years ago

What went wrong: A problem occurred evaluating script.

Could not find method implementation() for arguments [com.android.support:recyclerview-v7:25.3.1] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler

merbin2012 commented 5 years ago

@halkoy can you give me a screenshot.

halkoy commented 5 years ago

@merbin2012 image

halkoy commented 5 years ago

FAILURE: Build failed with an exception.

merbin2012 commented 5 years ago

Which version of Android studio you using?

halkoy commented 5 years ago

@merbin2012 I am using online phonegap build . Adobe phonegap build. https://build.phonegap.com/

I dont use android studio

merbin2012 commented 5 years ago

Ooh, sorry dear might they using low version of android studio. That is why it show this error. implementation method is new, please refer the following link https://stackoverflow.com/questions/44493378/whats-the-difference-between-implementation-and-compile-in-gradle

I'm strongly recommend you to avoid online build. If you have any problem for making your own application download and learn from my Android Code Play app https://play.google.com/store/apps/details?id=cordova.code.play Thanks for your comments, and now I'm closing this bug due to old version of android studio. If you feel I'm mistaken feel free to open it again.

halkoy commented 5 years ago

which phonegap, cordova version I should use for this plugin? cli-8.1.1 ?

@merbin2012

merbin2012 commented 4 years ago

@halkoy I think it depends on an SDK version.