Git Product home page Git Product logo

android-ci's People

Contributors

javiersantos avatar jonbulica99 avatar jvanmetre avatar nikialeksey avatar tclavier avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

android-ci's Issues

Running connectedAndroidTest with emulator

I try to run the emulator with your image
$ echo y | /sdk/tools/bin/sdkmanager update sdk
but I am getting the error

$ echo y | /sdk/tools/bin/sdkmanager update sdk
Loading package information...                                                  
Loading local repository...                                                     
[                                       ] 3% Loading local repository...        
[                                       ] 3% Fetch remote repository...         
[                                       ] 3% Fetch remote repository...         
[=                                      ] 3% Fetch remote repository...         
[=                                      ] 3% Fetch remote repository...         
[=                                      ] 3% Fetch remote repository...         
[=                                      ] 3% Fetch remote repository...         
[=                                      ] 3% Fetch remote repository...         
[=                                      ] 3% Fetch remote repository...         
[=                                      ] 3% Fetch remote repository...         
[=                                      ] 3% Fetch remote repository...         
[=                                      ] 3% Fetch remote repository...         
[=                                      ] 3% Fetch remote repository...         
[=                                      ] 3% Fetch remote repository...         
[=                                      ] 4% Fetch remote repository...         
[=                                      ] 4% Fetch remote repository...         
[=                                      ] 4% Fetch remote repository...         
[=                                      ] 4% Fetch remote repository...         
[=                                      ] 4% Fetch remote repository...         
[=                                      ] 4% Fetch remote repository...         
[=                                      ] 4% Fetch remote repository...         
[=                                      ] 4% Fetch remote repository...         
[==                                     ] 5% Fetch remote repository...         
[==                                     ] 6% Fetch remote repository...         
[==                                     ] 6% Computing updates...               
[===                                    ] 8% Computing updates...               
[===                                    ] 8% Computing updates...               
[===                                    ] 10% Computing updates...              
                                                                                
**Warning: Failed to find package update**
[===                                    ] 10% Computing updates...              
ERROR: Job failed: exit code 1

Do you have any idea how to run the emulator on your image? Or what the error is?

Execution failed app:processDebugResources Android Studio

I am running with 28.0.2

Download https://dl.google.com/dl/android/maven2/com/android/tools/build/aapt2/3.2.0-4818971/aapt2-3.2.0-4818971-linux.jar
:app:splitsDiscoveryTaskDebug
:app:processDebugResources FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:processDebugResources'.

Android resource linking failed
Output: /builds/mid-android/mid-android/app/src/main/res/layout/activity_forgot_password.xml:12: error: resource font/proximanovasemibold (aka com.myidealdoctor.mid:font/proximanovasemibold) not found.
error: failed linking file resources.

Command: /builds/mid-android/mid-android/.gradle/caches/transforms-1/files-1.1/aapt2-3.2.0-4818971-linux.jar/266408780c395b064f93b30e44a5071d/aapt2-3.2.0-4818971-linux/aapt2 link -I
/sdk/platforms/android-28/android.jar
--manifest
/builds/mid-android/mid-android/app/build/intermediates/merged_manifests/debug/processDebugManifest/merged/AndroidManifest.xml
-o
/builds/mid-android/mid-android/app/build/intermediates/processed_res/debug/processDebugResources/out/resources-debug.ap_
-R
@/builds/mid-android/mid-android/app/build/intermediates/incremental/processDebugResources/resources-list-for-resources-debug.ap_.txt
--auto-add-overlay
--java
/builds/mid-android/mid-android/app/build/generated/not_namespaced_r_class_sources/debug/processDebugResources/r
--custom-package
com.myidealdoctor.mid
-0
apk
--output-text-symbols
/builds/mid-android/mid-android/app/build/intermediates/symbols/debug/R.txt
--no-version-vectors
Daemon: AAPT2 aapt2-3.2.0-4818971-linux Daemon #0
Output: /builds/mid-android/mid-android/app/src/main/res/layout/activity_forgot_password.xml:12: AAPT: error: resource font/proximanovasemibold (aka com.myidealdoctor.mid:font/proximanovasemibold) not found.

error: failed linking file resources.
Command: /builds/mid-android/mid-android/.gradle/caches/transforms-1/files-1.1/aapt2-3.2.0-4818971-linux.jar/266408780c395b064f93b30e44a5071d/aapt2-3.2.0-4818971-linux/aapt2 link -I
/sdk/platforms/android-28/android.jar
--manifest
/builds/mid-android/mid-android/app/build/intermediates/merged_manifests/debug/processDebugManifest/merged/AndroidManifest.xml
-o
/builds/mid-android/mid-android/app/build/intermediates/processed_res/debug/processDebugResources/out/resources-debug.ap_
-R
@/builds/mid-android/mid-android/app/build/intermediates/incremental/processDebugResources/resources-list-for-resources-debug.ap_.txt
--auto-add-overlay
--java
/builds/mid-android/mid-android/app/build/generated/not_namespaced_r_class_sources/debug/processDebugResources/r
--custom-package
com.myidealdoctor.mid
-0
apk
--output-text-symbols
/builds/mid-android/mid-android/app/build/intermediates/symbols/debug/R.txt
--no-version-vectors
Daemon: AAPT2 aapt2-3.2.0-4818971-linux Daemon #0

  • Try:
    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 https://help.gradle.org

BUILD FAILED in 1m 40s
17 actionable tasks: 17 executed
ERROR: Job failed: exit code 1

Add NDK

Is it possible to include NDK ?

where is gradle ?

I can see after building the docker image that there is a gradlew file in path /sdk/extras/google/google_play_services/samples/unified/ActivityDemo/gradlew. Is this supposed to be the correct path for the official gradlew wrapper?

After calling this file, a directory /root/.gradle exists, but there is no path environment set to the gradle script inside. How can gradle be called from within the docker container ?

Assembling a build fails due to not licenses not being accepted

Weirdly enough, some builds were fine with this image, but then since yesterday I am getting these errors. Any clue?

Starting a Gradle Daemon (subsequent builds will be faster)

> Configure project :app
Checking the license for package Android SDK Platform 28 in /sdk/licenses
Warning: License for package Android SDK Platform 28 not accepted.

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':app'.
> Failed to install the following Android SDK packages as some licences have not been accepted.
     platforms;android-28 Android SDK Platform 28
  To build this project, accept the SDK license agreements and install the missing components using the Android Studio SDK Manager.
  Alternatively, to transfer the license agreements from one workstation to another, see http://d.android.com/r/studio-ui/export-licenses.html
  
  Using Android SDK: /sdk

* Try:
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.

Smaller base image?

Given this is designed for CI, it would be good if it could be based on a smaller image (e.g. alpine) rather than full Ubuntu. Reduced image size should result in faster CI runs.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.