Próbowałem użyć assembleDebug
przy użyciu CircleCI, ale nie udało się go skompilować (preDex). Dlaczego nie mogę tego zrobić?Gradle assembleDebug i preDexDebug nie powiodły się z CircleCI
- Stosując ProductFlavor (nazwa produkcji)
- Android Gradle ver.1.1.0-RC1
problem
./gradlew assembleProductionDebug zmarł nieoczekiwanie Budowa 92% 3% > : aplikacja: preDexProductionDebugaction ./gradlew assembleProductionDebug nieudane
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 --filter "extra-google-m2repository"
- echo y | android update sdk --no-ui --all --filter "extra-android-m2repository"
- echo y | android update sdk --no-ui --all --filter "extra-android-support"
- echo y | android update sdk --no-ui --all --filter "android-21"
- git submodule sync
- git submodule update --init
cache_directories:
- ~/.android
- ~/android
override:
- ./gradlew dependencies
test:
override:
- ./gradlew test
deployment:
master:
branch: master
commands:
- ./gradlew assembleProductionDebug
Hej, pracuję dla CircleCI. Czy chcesz nam powiedzieć o tym na stronie [email protected], abyśmy mogli zebrać trochę więcej informacji na temat twojego projektu i sprawić, że wszystko będzie działać? – bellkev
Udało ci się to rozwiązać? Mam ten sam problem. – maclir