我尝试assembleDebug
使用CircleCI,但它必须无法构建(preDex).为什么我不能这样做?
问题
./gradlew assembleProductionDebug意外死亡构建92%3%>:app:preDexProductionDebugaction ./gradlew assembleProductionDebug failed
circle.yml
general:
artifacts:
- "app/build/outputs/apk/app-production-release-unaligned.apk"
machine:
java:
version: openjdk7
environment:
ANDROID_HOME: /usr/local/android-sdk-linux
dependencies:
pre:
- echo y | android update sdk --no-ui --all --filter "build-tools-21.1.2"
- echo y | android update sdk --no-ui --all --filter "platform-tools"
- echo y | android update sdk --no-ui --all --filter "tools"
- echo y | android update sdk --no-ui --all --filter "extra-google-google_play_services"
- echo y | android update sdk --no-ui --all …
Run Code Online (Sandbox Code Playgroud)