Skip to content

Compile-time Error: DOCSBOTAI_ID not found #19432

Description

@07jasjeet

Problem

When compiling the project, a BuildConfigField called DOCSBOTAI_ID is absent which is causing builds to fail.

Proposed Solution

Add wp.docsbotai.id=wordpress to gradle.properties-example so that new contributors have this field in their gradle.properties file when doing the initial setup.
OR
Add DOCSBOTAI_ID manually to build.gradle under productFlavors. This solution will remedy the issue for older contributors (those who have already gone through the setup process) and also be future proof. One downside is that the gradle.properties will lose its importance if these situations pop up in future as its main function is to automate this exact case.

References:

Slack Chat

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions