My version of cordova 6.3.1 and there was a stupid glitch. Doing cordova build --release android
Running command: /home/admin/ProgrammaJS/NEW/hooks/after_prepare/010_add_platform_class.js /home/admin/ProgrammaJS/NEW add to body class: platform-android ANDROID_HOME=/home/admin/android-studio/ JAVA_HOME=/home/admin/jdk Error: Could not find gradle wrapper within Android SDK. Might need to update your Android SDK. Looked here: /home/admin/android-studio/tools/templates/gradle/wrapper But the SDK version is the latest android-studio-ide-145.3276617 and released on September 19. How to fix this bug
