mapbox / mapbox/mapbox-navigation-android
Bug: android-auto-components:3.23.1 aar contains Git LFS pointer instead of raw asset (ic_search_black36dp.png)
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Kotlin
- Sterne
- 651
- Forks
- 321
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
The 3.23.1 release of com.mapbox.navigationcore:android-auto-components fails to compile because an image asset was incorrectly packaged. The release pipeline appears to have packaged the Git LFS pointer file instead of pulling the actual binary asset.
Steps to Reproduce
Include com.mapbox.navigationcore:android-auto-components:3.23.1 in an Android project.
Attempt to assemble/build the project.
Error:
```
AAPT: error: file failed to compile.
/res/drawable/ic_search_black36dp.png: AAPT: error: file failed to compile.
```
Root Cause Evidence
Inspecting the unzipped .aar from the Maven repository reveals that res/drawable/ic_search_black36dp.png is actually a plain text file containing Git LFS metadata instead of image bytes:
```
version https://git-lfs.github.com/spec/v1
oid sha256:9c807...
size 1492
```
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne damit, den Fehler mit com.mapbox.navigationcore:android-auto-components:3.23.1 zu reproduzieren, und untersuche den Eintrag res/drawable/ic_search_black36dp.png im AAR. Verfolge anschließend die Verarbeitung von Git LFS in der Release-Pipeline und überprüfe, dass der paketierte Eintrag die rohen PNG-Bytes enthält und dass ein Android-Projekt erfolgreich assembliert wird.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- android, kotlin
- Bereich
- build-system, mobile, release
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Ruhig
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 58/100