Error yang muncul waktu build aplikasi android

root@docker-testing-build-android:~/deploy-android# ./gradlew assembleDebug
FAILURE: Build failed with an exception.
* What went wrong:
Task 'assembleDebug' not found in root project 'JARANGUDA API'.
* Try:
Run gradlew tasks to get a list of available tasks. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at


solusi error diatas, jalankan

export ANDROID_HOME=$PWD/android-sdk-linux
export PATH=$PATH:$PWD/android-sdk-linux/platform-tools/
echo y | /home/jaranguda/android-sdk-linux/tools/bin/sdkmanager "platforms;android-29" >/dev/null
echo y | /home/jaranguda/android-sdk-linux/tools/bin/sdkmanager "build-tools;29.0.1" >/dev/null
echo y | /home/jaranguda/android-sdk-linux/tools/bin/sdkmanager "platform-tools" >/dev/null

sesuaikan dengan path sdk, versi android, dan build tools yang digunakan.

setelah selesai, jalankan kembali

./gradlew assembleDebug

Leave a comment

Your email address will not be published. Required fields are marked *