Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proguard file missing #10

Open
i906 opened this issue Sep 21, 2016 · 0 comments
Open

Proguard file missing #10

i906 opened this issue Sep 21, 2016 · 0 comments

Comments

@i906
Copy link
Contributor

i906 commented Sep 21, 2016

Hi, I am using your Docker image in my Gitlab CI.

The Gradle build failed when I enabled Proguard for a specific build.

I am using Gradle 2.14.1 and Android Gradle 2.1.3.

Below are the relevant logs:

gitlab-ci-multi-runner 1.1.4 (9e2fd1a)
Using Docker executor with image iflix/android ...
Pulling docker image iflix/android ...

Running on runner-34dfd59e-project-23-concurrent-0 via 955e341e690f...
Fetching changes...
Removing .gradle/
Removing app/build/
HEAD is now at 4b5bf9c Merge branch 'hotfix/2.2.3-2'
Checking out 4b5bf9c6 as 2.2.3-2...
HEAD is now at 4b5bf9c... Merge branch 'hotfix/2.2.3-2'

$ ./gradlew assembleRelease
Jack is required to support java 8 language features.
Incremental java compilation is an incubating feature.

...

:app:transformClassesAndResourcesWithProguardForCentralRelease
Warning: Exception while processing task java.io.FileNotFoundException: /usr/local/android-sdk/tools/proguard/proguard-android.txt (No such file or directory)
:app:transformClassesAndResourcesWithProguardForCentralRelease FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:transformClassesAndResourcesWithProguardForCentralRelease'.
> java.io.FileNotFoundException: /usr/local/android-sdk/tools/proguard/proguard-android.txt (No such file or directory)

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 15.159 secs

ERROR: Build failed: exit code 1

Thanks for your Docker image frequent updates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant