Enum crossbundle_tools::error::AndroidError
source · [−]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
sourceimpl Debug for AndroidError
impl Debug for AndroidError
sourceimpl Display for AndroidError
impl Display for AndroidError
sourceimpl Error for AndroidError
impl Error for AndroidError
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
sourceimpl From<AndroidError> for Error
impl From<AndroidError> for Error
sourcefn from(source: AndroidError) -> Self
fn from(source: AndroidError) -> Self
Converts to this type from the input type.
sourceimpl From<Error> for AndroidError
impl From<Error> for AndroidError
Auto Trait Implementations
impl !RefUnwindSafe for AndroidError
impl Send for AndroidError
impl Sync for AndroidError
impl Unpin for AndroidError
impl !UnwindSafe for AndroidError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more