czlucius / code-scanner

An Android app to scan and generate codes(barcodes/QR codes)
GNU Affero General Public License v3.0
39 stars 24 forks source link

[Bug]: Android CI keeps on failing #29

Closed czlucius closed 2 years ago

czlucius commented 2 years ago

Steps to reproduce

  1. Push to the repo/trigger Android CI

Expected behaviour

The build should pass

Actual behaviour

The build fails with errors e.g. cannot find symbol

Device name

N/A

Android version/API Level

N/A

App version

1.7

Device/crash logs

Will add in later comment if needed

Additional information

No response

czlucius commented 2 years ago
The first 3 errors (out of 6) were:
  /home/runner/work/code-scanner/code-scanner/app/src/main/res/drawable/reticle2.xml:29: Error: Attribute is missing the Android namespace prefix [MissingPrefix]
          d="M477.23 -14.78L702 -14.78L702 654.78L477.23 654.78L477.23 -14.78Z"
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  /home/runner/work/code-scanner/code-scanner/app/src/main/res/drawable/reticle2.xml:30: Error: Attribute is missing the Android namespace prefix [MissingPrefix]
          id="a2FRnhvnZ"></path>
          ~~~~~~~~~~~~~~
  /home/runner/work/code-scanner/code-scanner/app/src/main/res/drawable/reticle2.xml:32: Error: Attribute is missing the Android namespace prefix [MissingPrefix]
          d="M190.3 0L477.23 0L477.23 204.85L190.3 204.85L190.3 0Z"
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
czlucius commented 2 years ago

Android CI finally passed with https://github.com/czlucius/code-scanner/commit/1df6d4fbac0f8ed1a7e5535ba26626563c74cf30!

czlucius commented 2 years ago

Marked as fixed