WARNUNG: Abhängiges Paket mit Key -Emulator nicht gefunden! Beim Versuch, SDK-Tools und Build-Tools auf ARM-Prozessor zuAndroid

Forum für diejenigen, die für Android programmieren
Anonymous
 WARNUNG: Abhängiges Paket mit Key -Emulator nicht gefunden! Beim Versuch, SDK-Tools und Build-Tools auf ARM-Prozessor zu

Post by Anonymous »

Ich führe eine Gitea -Instanz auf meinem Raspberry Pi 5 mit ARM -Prozessor aus. Ich habe mich mit ähnlichen Fragen befasst, in denen es heißt, -Channel = 3 , verwenden Sie Zitate, um Pakete zu installieren. Bei GitHub -Aktionen funktioniert es normal, aber in meiner Gitea -Instanz ist es nicht, dass es kein Emulatorpaket für den ARM64 -Prozessor finden kann. Gibt es eine Lösung dafür? Strong> Dies ist eine CI -CD -Pipeil -Funktion. Die Fähigkeiten sind also sehr begrenzt < /strong> < /p>
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
Ausgabe aus CI/CD -Job:
< /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.

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post