I’m on Circle CI 2.0 with a circleci/android:api-26-alpha image and a build step that installs the NDK bundle:
- run: sdkmanager --install "ndk-bundle" && yes | sdkmanager --licenses
I’m seeing the following, followed by an immediate build failure:
[============================= ] 75% Computing updates...
[============================= ] 75% Computing updates...
[=======================================] 100% Computing updates...
All SDK package licenses accepted.
Exited with code 141
The docker image itself looks fine to me so I’m not really sure what could be causing it.
Has anyone found a workable solution for the time being?
SOLUTION: I have solved my issue. For others, the command needs to be split up into two separate run statements.
Does not work
- run: sdkmanager --install "ndk-bundle" && yes | sdkmanager --licenses
Works
- run: sdkmanager --install "ndk-bundle"
- run: sdkmanager --licenses