Versuchte Antworten aus diesen Fragen
1
2 < /p>
Hier ist CI/CD-Code:
Code: Select all
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '22'
- name: Install dependencies
run: npm install
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'zulu'
- name: Setup Android SDK
uses: Swisyn/setup-android-sdk@v1
with:
packages: ''
- name: Setup Android SDK Packages
run: |
sdkmanager "tools" "platform-tools"
- name: Build APK
run: |
cd android
chmod +x gradlew
./gradlew assembleRelease
- name: Upload APK artifact
uses: actions/upload-artifact@v4
with:
name: app-release-apk
path: android/app/build/outputs/apk/release/app-release.apk
if-no-files-found: error
< /p>
Text: < /p>
Code: Select all
Loading package information...
Loading local repository...
[ ] 3% Loading local repository...
[ ] 3% Fetch remote repository...
[= ] 3% Fetch remote repository...
[= ] 4% Fetch remote repository...
Warning: Errors during XML parse:
[= ] 4% Fetch remote repository...
Warning: Additionally, the fallback loader failed to parse the XML.
[= ] 4% Fetch remote repository...
[= ] 5% Fetch remote repository...
[== ] 5% Fetch remote repository...
[== ] 6% Fetch remote repository...
[== ] 7% Fetch remote repository...
Warning: Errors during XML parse:
[== ] 7% Fetch remote repository...
Warning: Additionally, the fallback loader failed to parse the XML.
[== ] 7% Fetch remote repository...
[=== ] 8% Fetch remote repository...
[=== ] 8% Computing updates...
[=== ] 10% Computing updates...
Warning: Dependant package with key emulator not found!
[=== ] 10% Computing updates...
Warning: Unable to compute a complete list of dependencies.