Skip to content

F-Droid build failed #22

@linsui

Description

@linsui
Execution failed for task ':app:lintVitalRelease'.
> Lint found fatal errors while assembling a release target.
  
  Fix the issues identified by lint, or create a baseline to see only new errors.
  To create a baseline, run `gradlew updateLintBaseline` after adding the following to the module's build.gradle file:
  ```
  android {
      lint {
          baseline = file("lint-baseline.xml")
      }
  }
  ```
  For more details, see https://developer.android.com/studio/write/lint#snapshot
  
  /home/vagrant/build/com.dynamite.heaterrc/app/src/main/AndroidManifest.xml:14: Error: AlarmReceiver must extend android.content.BroadcastReceiver [Instantiatable]
              android:name=".AlarmReceiver"
                            ~~~~~~~~~~~~~~
  
     Explanation for issues of type "Instantiatable":
     Activities, services, broadcast receivers etc. registered in the manifest
     file (or for custom views, in a layout file) must be "instantiatable" by
     the system, which means that the class must be public, it must have an
     empty public constructor, and if it's an inner class, it must be a static
     inner class.
  
     If you use a custom AppComponentFactory to instantiate app components
     yourself, consider disabling this Lint issue in order to avoid false
     positives.
  
  1 errors, 0 warnings
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org/.
BUILD FAILED in 18s

Could you please take a look? Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions