Category : android

I thought to dockerize my react native project so that anyone in the team do not need to setup the build environment. I have written the docker file something like FROM reactnativecommunity/react-native-android LABEL version="0.0.1" ENV ADB_IP="10.0.2.15" ENV REACT_NATIVE_PACKAGER_HOST="172.17.0.2" WORKDIR /app COPY package.json . RUN npm install COPY . . EXPOSE 19000 EXPOSE 19001 RUN adb ..

Read more

Using docker + gitlab as CICD for the release process of the android app recently we integrated an android module which support newest JAVA apis such as stream() As stated here https://developer.android.com/studio/write/java8-support i enabled the Desugaring capability in my app Environment in local JAVA_VERSION 11 GRADLE_VERSION 6.5 If i make a release build locally it ..

Read more

I am developing an android app connecting to MySQL docker container in android studio and having problems about it. The problem is connection failure between an app and MySQL container. My test code is here: package com.example.databaseapp; import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; import java.sql.Connection; import java.sql.DriverManager; public class MainActivity extends AppCompatActivity { private static final String ..

Read more

We are configuring a self-hosted android runner for GithubActions, but when we run some command of gradlew, it crashes/stops sending an error connection reset. Our docker file contains the basic for a android runner (few lines of code for gradle and sdk installation. the tools are also installed properly). # Gradle ENV GRADLE_VERSION 7.0.2 ENV ..

Read more

I am trying to run cordova build android, however javax.net.ssl.SSLException is raised. It was executed in a docker container. I tried to resolve finding some solution on the internet, but without success. Someone could help me to resolve this? cordova requirements: [email protected]:/cordova-project# cordova requirements Android Studio project detected Requirements check results for android: Java JDK: ..

Read more