public interface SyncIssue
| Modifier and Type | Field and Description |
|---|---|
static int |
SEVERITY_ERROR |
static int |
SEVERITY_WARNING |
static int |
TYPE_AAR_DEPEND_ON_ATOM
Deprecated.
|
static int |
TYPE_ATOM_DEPENDENCY_PROVIDED
Deprecated.
|
static int |
TYPE_BUILD_TOOLS_TOO_LOW
Data is the required min build tools version, parsable by Revision.
|
static int |
TYPE_DEPENDENCY_INTERNAL_CONFLICT
Found dependency that is known to be inside android.jar.
|
static int |
TYPE_DEPENDENCY_IS_APK
Data is dependency coordinate.
|
static int |
TYPE_DEPENDENCY_IS_APKLIB
Data is dependency coordinate.
|
static int |
TYPE_DEPENDENCY_MAVEN_ANDROID
Found dependency that's the maven published android.jar.
|
static int |
TYPE_DEPENDENCY_WEAR_APK_TOO_MANY
A wearApp configuration was resolved and found more than one apk.
|
static int |
TYPE_DEPENDENCY_WEAR_APK_WITH_UNBUNDLED
A wearApp configuration was resolved and found an apk even though unbundled mode is on.
|
static int |
TYPE_DEPRECATED_CONFIGURATION |
static int |
TYPE_DEPRECATED_DSL
Indicates that the project uses a deprecated DSL.
|
static int |
TYPE_DEPRECATED_DSL_VALUE
Indicates that the project uses a deprecated DSL, the Data payload is a URL giving context to
the user on how to remove the deprecated element or value.
|
static int |
TYPE_EXTERNAL_NATIVE_BUILD_CONFIGURATION
Errors configuring NativeConfigValues for individual individual variants
|
static int |
TYPE_EXTERNAL_NATIVE_BUILD_PROCESS_EXCEPTION
Errors configuring NativeConfigValues.
|
static int |
TYPE_GENERIC
Generic error with no data payload, and no expected quick fix in IDE.
|
static int |
TYPE_GRADLE_TOO_OLD
Data is the min version of Gradle.
|
static int |
TYPE_INCOMPATIBLE_PLUGIN
An incompatible plugin is used.
|
static int |
TYPE_JACK_IS_NOT_SUPPORTED
Data is variant name.
|
static int |
TYPE_JACK_REQUIRED_FOR_JAVA_8_LANGUAGE_FEATURES
Cannot use Java 8 Language features without Jack.
|
static int |
TYPE_JAR_DEPEND_ON_AAR
Data is dependency coordinate/path.
|
static int |
TYPE_JAR_DEPEND_ON_ATOM
Deprecated.
|
static int |
TYPE_MANIFEST_PARSED_DURING_CONFIGURATION
Indicates that building the configuration rules for this project requires parsing the
manifest file.
|
static int |
TYPE_MAX
Highest number assigned to types of
SyncIssues. |
static int |
TYPE_MIN_SDK_VERSION_IN_MANIFEST
Indicates that the project contains the min sdk in the android manifest file.
|
static int |
TYPE_MISMATCH_DEP
Mismatch dependency version between tested and test app.
|
static int |
TYPE_MISSING_SDK_PACKAGE
Indicates that a required SDK package was not installed.
|
static int |
TYPE_NON_JAR_LOCAL_DEP
Data is local file.
|
static int |
TYPE_NON_JAR_PACKAGE_DEP
Data is dependency coordinate/path.
|
static int |
TYPE_NON_JAR_PROVIDED_DEP
Data is dependency coordinate/path.
|
static int |
TYPE_OPTIONAL_LIB_NOT_FOUND
Data is dependency coordinate.
|
static int |
TYPE_PLUGIN_OBSOLETE
Data is expiration data.
|
static int |
TYPE_STUDIO_TOO_OLD
Indicates that the plugin requires a newer version of studio.
|
static int |
TYPE_TARGET_SDK_VERSION_IN_MANIFEST
Indicates that the project contains the target sdk in the android manifest file.
|
static int |
TYPE_THIRD_PARTY_GRADLE_PLUGIN_TOO_OLD
Indicates that the version of a third-party Gradle plugin (not the Android Gradle plugin) is
not supported and needs to be updated.
|
static int |
TYPE_UNNAMED_FLAVOR_DIMENSION
Indicates that the module contains flavors but that no dimensions have been named.
|
static int |
TYPE_UNRESOLVED_DEPENDENCY
Data is dependency coordinate.
|
static int |
TYPE_UNSUPPORTED_PROJECT_OPTION_USE
Indicated that an experimental gradle project option is used.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getData()
Returns the data of the issue.
|
java.lang.String |
getMessage()
Returns the a user-readable message for the issue.
|
java.util.List<java.lang.String> |
getMultiLineMessage()
Returns the a user-readable nulti-line message for the issue.
|
int |
getSeverity()
Returns the severity of the issue.
|
int |
getType()
Returns the type of the issue.
|
static final int SEVERITY_WARNING
static final int SEVERITY_ERROR
static final int TYPE_GENERIC
static final int TYPE_PLUGIN_OBSOLETE
static final int TYPE_UNRESOLVED_DEPENDENCY
static final int TYPE_DEPENDENCY_IS_APK
static final int TYPE_DEPENDENCY_IS_APKLIB
static final int TYPE_NON_JAR_LOCAL_DEP
static final int TYPE_NON_JAR_PACKAGE_DEP
static final int TYPE_NON_JAR_PROVIDED_DEP
static final int TYPE_JAR_DEPEND_ON_AAR
static final int TYPE_MISMATCH_DEP
static final int TYPE_OPTIONAL_LIB_NOT_FOUND
static final int TYPE_JACK_IS_NOT_SUPPORTED
static final int TYPE_GRADLE_TOO_OLD
static final int TYPE_BUILD_TOOLS_TOO_LOW
static final int TYPE_DEPENDENCY_MAVEN_ANDROID
static final int TYPE_DEPENDENCY_INTERNAL_CONFLICT
static final int TYPE_EXTERNAL_NATIVE_BUILD_CONFIGURATION
static final int TYPE_EXTERNAL_NATIVE_BUILD_PROCESS_EXCEPTION
static final int TYPE_JACK_REQUIRED_FOR_JAVA_8_LANGUAGE_FEATURES
static final int TYPE_DEPENDENCY_WEAR_APK_TOO_MANY
static final int TYPE_DEPENDENCY_WEAR_APK_WITH_UNBUNDLED
@Deprecated static final int TYPE_JAR_DEPEND_ON_ATOM
@Deprecated static final int TYPE_AAR_DEPEND_ON_ATOM
@Deprecated static final int TYPE_ATOM_DEPENDENCY_PROVIDED
static final int TYPE_MISSING_SDK_PACKAGE
static final int TYPE_STUDIO_TOO_OLD
static final int TYPE_UNNAMED_FLAVOR_DIMENSION
static final int TYPE_INCOMPATIBLE_PLUGIN
static final int TYPE_DEPRECATED_DSL
static final int TYPE_DEPRECATED_CONFIGURATION
static final int TYPE_DEPRECATED_DSL_VALUE
static final int TYPE_MIN_SDK_VERSION_IN_MANIFEST
static final int TYPE_TARGET_SDK_VERSION_IN_MANIFEST
static final int TYPE_UNSUPPORTED_PROJECT_OPTION_USE
static final int TYPE_MANIFEST_PARSED_DURING_CONFIGURATION
static final int TYPE_THIRD_PARTY_GRADLE_PLUGIN_TOO_OLD
static final int TYPE_MAX
SyncIssues.
TODO: Why is it needed even when there are no usages in the code?
int getSeverity()
int getType()
@Nullable java.lang.String getData()
This is a machine-readable string used by the IDE for known issue types.
@NonNull java.lang.String getMessage()
This is used by IDEs that do not recognize the issue type (ie older IDE released before the type was added to the plugin).
@Nullable java.util.List<java.lang.String> getMultiLineMessage()
This is an optional extension of getMessage()