pub enum AndroidError {
Show 19 variants
AndroidNdkNotFound,
FailedToReadSourceProperties,
InvalidSourceProperties(String),
GradleDependencyProjectNotFound(PathBuf),
GradleDependencyProjectNoBuildFile(PathBuf),
GradleNotFound,
BuildToolsNotFound,
NoPlatformsFound,
PlatformNotFound(u32),
UnsupportedTarget,
UnsupportedHost(String),
InvalidSemver,
InvalidBuildTarget(String),
InvalidAppWrapper(String),
InvalidBuildStrategy(String),
FailedToFindAndroidManifest(String),
UnableToFindNDKFile,
AndroidTools(Error),
AndroidManifest(Error),
}Expand description
Android specific error type.
Variants§
AndroidNdkNotFound
Android NDK is not found
FailedToReadSourceProperties
Failed to read source.properties
InvalidSourceProperties(String)
Invalid source.properties: {0}
GradleDependencyProjectNotFound(PathBuf)
Gradle Dependency project dir not found: {0}
GradleDependencyProjectNoBuildFile(PathBuf)
Gradle Dependency project doesn’t contain build.gradle: {0}
GradleNotFound
Gradle is not found
BuildToolsNotFound
Android SDK has no build tools
NoPlatformsFound
Android SDK has no platforms installed
PlatformNotFound(u32)
Platform {0} is not installed
UnsupportedTarget
Target is not supported
UnsupportedHost(String)
Host {0} is not supported
InvalidSemver
Invalid semver
InvalidBuildTarget(String)
Unsupported or invalid target: {0}
InvalidAppWrapper(String)
Unsupported or invalid app wrapper: {0}
InvalidBuildStrategy(String)
Unsupported or invalid build strategy: {0}
FailedToFindAndroidManifest(String)
Failed to find AndroidManifest.xml in path: {0}
UnableToFindNDKFile
Unable to find NDK file
AndroidTools(Error)
AndroidTools error: {0:?}
AndroidManifest(Error)
AndroidManifest error: {0:?}
Trait Implementations§
Source§impl Debug for AndroidError
impl Debug for AndroidError
Source§impl Display for AndroidError
impl Display for AndroidError
Source§impl Error for AndroidError
impl Error for AndroidError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<AndroidError> for Error
impl From<AndroidError> for Error
Source§fn from(source: AndroidError) -> Self
fn from(source: AndroidError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for AndroidError
impl From<Error> for AndroidError
Auto Trait Implementations§
impl Freeze for AndroidError
impl !RefUnwindSafe for AndroidError
impl Send for AndroidError
impl Sync for AndroidError
impl Unpin for AndroidError
impl !UnwindSafe for AndroidError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more