Error "ANDROID_SUPPORT_V4_VERSION" in Mobile App

Error "ANDROID_SUPPORT_V4_VERSION" in Mobile App

by Aleksandr Kuldaev -
Number of replies: 0

Hi,

I compile the application with the command "npm run ionic: build - prod", before that we make all the changes:

1) android: debuggable = "false",

2) replaced "throw new Error (" No ResourceLoader implementation has been provided. Can't read the url \ "" + url + "\" ");"

3) and "context.optimizeJs"

4) changed the plugin <plugin name = "cordova-sqlite-storage" source = "git" version = "https://github.com/moodlemobile/Cordova-sqlite-storage.git#moodle-phonegapbuild-3.4.0">

Everything goes fine, until I upload to PhoneGap, an error appears:

"+ ------------------------------------------------ -----------------

| cordova-android-support-gradle-release: 27. +

+ ------------------------------------------------- ----------------

The Task.leftShift (Closure) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use Task.doLast (Action) instead.

at build_ceuanyrkx75s6fl23m9k236kf.run (/var/gimlet/tmp/3957763/project/build.gradle:158)

FAILURE: Build failed with an exception.

* Where:

Build file '/var/gimlet/tmp/3957763/project/build.gradle' line: 274

* What went wrong:

A problem occurred evaluating root project 'project'.

> Could not get unknown property 'ANDROID_SUPPORT_V4_VERSION' for object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler. "

If someone can tell where to move and how to solve this problem, I will be grateful )


Average of ratings: -