ayltai / Newspaper

An aggregated newspaper app containing news from 10+ local news publishers in Hong Kong. Made with ❤
Apache License 2.0
89 stars 31 forks source link

Cannot Lanucnh Emulator #132

Closed sarthak-kapoor25 closed 5 years ago

sarthak-kapoor25 commented 5 years ago

Error coming in CircleCi : EglOsGlLibrary: Could not open GL library libGLESv2.so [libGLESv2.so: cannot open shared object file: No such file or directory] EglOsEglDispatcher: Could not open EGL library libEGL.so [libEGL.so: cannot open shared object file: No such file or directory] Received 'segmentation fault' signal

// MY circle.yml file : -

Reference : https://github.com/ayltai/Newspaper/blob/master/.circleci/config.yml

version: 2

references:

Cache

cache_key: &cache_key key: cache-{{ checksum "gradle/wrapper/gradle-wrapper.properties" }}-{{ checksum "build.gradle" }}-{{ checksum "app/build.gradle" }} restore_cache: &restore_cache restore_cache: <<: cache_key save_cache: &save_cache save_cache: <<: cache_key paths:

Workspace

workspace: &workspace ~/workspace attach_debug_workspace: &attach_debug_workspace attach_workspace: at: workspace attach_release_workspace: &attach_release_workspace attach_workspace: at: workspace persist_debug_workspace: &persist_debug_workspace persist_to_workspace: root: *workspace paths:

Docker image configurations

android_config: &android_config working_directory: *workspace docker:

Keys

Android Key Store

export_android_key: &export_android_key run: name: Export Android key store environment variable command: echo 'export ANDROID_KEY_STORE="$ANDROID_KEY_STORE"' >> $BASH_ENV decode_android_key: &decode_android_key run: name: Decode Android key store command: echo $ANDROID_KEY_STORE | base64 -di > key-store.jks

Google Services

export_gservices_key: &export_gservices_key run: name: Export Google Services key environment variable command: echo 'export GOOGLE_SERVICES_KEY="$GOOGLE_SERVICES_KEY"' >> $BASH_ENV decode_gservices_key: &decode_gservices_key run: name: Decode Google Services key command: echo $GOOGLE_SERVICES_KEY | base64 -di > app/google-services.json

Google Cloud Service

export_gcloud_key: &export_gcloud_key run: name: Export Google Cloud Service key environment variable command: echo 'export GCLOUD_SERVICE_KEY="$GCLOUD_SERVICE_KEY"' >> $BASH_ENV decode_gcloud_key: &decode_gcloud_key run: name: Decode Google Cloud credentials command: echo $GCLOUD_SERVICE_KEY | base64 -di > client_secrets.json

Fabric

export_fabric_key: &export_fabric_key run: name: Export Fabric key command: echo 'export FABRIC_KEY="$FABRIC_KEY"' >> $BASH_ENV decode_fabric_key: &decode_fabric_key run: name: Decode Fabric key command: echo $FABRIC_KEY | base64 -di > app/fabric.properties

jobs: build_debug: <<: *android_config steps:

ayltai commented 5 years ago

CircleCI 2.0 does not support running Android emulator inside their container because they use Docker. That's why this project shows you how to do it in Firebase Test Lab.

ayltai commented 5 years ago

Closing this as this is not related to this project.

darran-kelinske-fivestars commented 5 years ago

@sarthak-kapoor25 - did you find a solution to this issue?