Sangeeta bhatt
Sangeeta bhatt

Reputation: 61

Cordova build command fails from command Prompt. Task 'cdvBuildDebug' not found in root project 'android'

I am trying to build and generate APK using command prompt. When I used command "cordova build android" for building the project, I am stuck at following issue:

ANDROID_HOME=C:\Phonegap\sdk JAVA_HOME=C:\Program Files\Java\jdk1.8.0_151 Starting a new Gradle Daemon for this build (subsequent builds will be faster). Incremental java compilation is an incubating feature.

FAILURE: Build failed with an exception.

Total time: 36.254 secs

Can anyone tell me where is this property "cdvBuildDebug" resides and how can i fix this issue?

Upvotes: 1

Views: 1724

Answers (1)

Waqar Abbas
Waqar Abbas

Reputation: 1

Try to make build using the phonegap build website . https://build.phonegap.com/people/sign_in

Upvotes: -1

Related Questions