Project execution failed with appodeal plugin

0

I'm getting the following error when trying to run a project with the appodeal plugin. Does anyone know what this is about, and how could I resolve this error?

* Where:
Build file 'C:\Users\Diego\Desktop\appodeal- 
testar\platforms\android\com.appodeal.plugin\starter-adcolony\build.gradle' 
line: 47

* What went wrong:
A problem occurred evaluating project ':com.appodeal.plugin:starter- 
adcolony'.
> Could not get unknown property 'cdvCompileSdkVersion' for object of type 
com.android.build.gradle.LibraryExtension.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or -- 
debug option to get more log output.

* Get more help at https://help.gradle.org

BUILD FAILED in 1s
Picked up _JAVA_OPTIONS: -Xmx512M
at ChildProcess.whenDone (C:\Users\Diego\Desktop\appodeal- 
testar\platforms\android\cordova\node_modules\cordova- 
common\src\superspawn.js:169:23)
at ChildProcess.emit (events.js:180:13)
at maybeClose (internal/child_process.js:936:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:220:5)
(node:5188) UnhandledPromiseRejectionWarning: Unhandled promise rejection. 
This error originated either by throwing inside of an async function without 
a catch block, or by rejecting a promise which was not handled with 
.catch(). (rejection id: 1)
(node:5188) [DEP0018] DeprecationWarning: Unhandled promise rejections are 
deprecated. In the future, promise rejections that are not handled will 
terminate the Node.js process with a non-zero exit code.

The line to which he accuses the error is this:

android {
compileSdkVersion cdvCompileSdkVersion//linha 48 que acusa o erro
buildToolsVersion cdvBuildToolsVersion
publishNonDefault false
    
asked by anonymous 28.09.2018 / 15:40

0 answers