I am tring build my ionic project with android platform i get this error


#1

cordova build android
⠹ Running command [11:00:24] lint finished in 44.52 s
:heavy_multiplication_x: Running command - failed!

[ERROR] Cordova encountered an error.
You may get more insight by running the Cordova command above directly.

[ERROR] An error occurred while running cordova build android (exit code 1):

    ANDROID_HOME=/home/infraadmin/android-sdks
    JAVA_HOME=/home/infraadmin/Tanmay_Data/jdk1.8.0_131
    Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512M; support was removed in 8.0
    
    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: 21.066 secs
    Error: /usr/share/gradle/bin/gradle: Command failed with exit code 1

While building ionic project with android platform i got error
#2

Post your ionic info and ionic cordova requirements output please. Thanks.

Most probably a Cordova/Gradle problem: https://issues.apache.org/jira/browse/CB-12819


#3

thank u .my problem get solved … i install new android sdk path and gradle path in my .bashrc file
:+1: