H
H
haa2018-11-03 14:52:16
Android
haa, 2018-11-03 14:52:16

What is the error when building ionicframework?

Good afternoon. I'm trying to build a project for android through
ionic cordova build android
and gives an error:

FAILURE: Could not determine which tasks to execute.

* What went wrong:
Task 'wrapper' not found in root project 'android'.

* Try:
Run gradle tasks to get a list of available tasks.

BUILD FAILED

Total time: 8.214 secs
/usr/share/gradle/bin/gradle: Command failed with exit code 1
[ERROR] An error occurred while running subprocess cordova.

I watched a lot of instructions for this error, it does not help.
------------------------------------------------------------
Gradle 1.4
------------------------------------------------------------
Gradle build time: 9 Сентябрь 2013 г. 20:44:25 UTC
Groovy: 1.8.6
Ant: Apache Ant(TM) version 1.9.3 compiled on July 24 2018
Ivy: non official version
JVM: 1.7.0_181 (Oracle Corporation 24.181-b01)
OS: Linux 4.4.0-135-generic amd64

What could be the problem?
Thanks.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry Baibukhtin, 2018-11-03
@PiloTeZ

I don't know why, you can try

ionic cordova platform remove android
ionic cordova platform add android

Maybe the gradle version doesn't match ionic, but that's unlikely.
If the problem is not solved, you can raise the project from scratch, probably the problem will be solved.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question