github / github/codeql

Autobuild ignores default build variant setting for Android projects

Đang mở
#19,056 7 bình luận 0 reaction 0 người được giao Xem trên GitHub
question
Ngôn ngữ chính
CodeQL
Star
10.1k
Fork
2.1k
Merge trung bình
2 ngày 15 giờ
Pull request đã merge (30 ngày)
141

Mô tả

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`.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.