github / github/codeql

Autobuild ignores default build variant setting for Android projects

Offen
#19,056 7 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
question
Vorherrschende Sprache
CodeQL
Sterne
10.1k
Forks
2.1k
Ø Merge
2 T. 15 Std.
Gemergte PRs (30 T.)
141

Beschreibung

CodeQL autobuild apparently always tries to build the alphabetically earliest build variant for an Android project, ignoring alternate default build variant settings specified in `build.gradle`:

- https://issuetracker.google.com/issues/36988145
- https://stackoverflow.com/questions/52072162/how-to-change-android-studios-default-build-flavor

For example, my project [SMS Import / Export](https://github.com/tmo1/sms-ie) has four build variants, and the default is set to `standardDebug`. Android Studio respects this, but CodeQL autobuild still tries to build `legacyDebug`.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.