pub enum AndroidError {
UnsupportedHostOS(&'static str),
CompilationFailure,
AndroidStudioNotFound(PathBuf),
JavaNotFound(PathBuf),
AndroidSDKNotFound(PathBuf),
AndroidNDKNotFound(PathBuf),
IO(Error),
}Expand description
Represents an error that is returned by one of the Android-specific tasks.
Variants§
UnsupportedHostOS(&'static str)
Returned by tasks that have not yet been implemented for a specific host operating system.
CompilationFailure
Returned by the BuildRuntimeLibrary task when Cargo fails to build the
runtime library (most likely because of an error in user code, e.g.
syntax error).
AndroidStudioNotFound(PathBuf)
Returned when platform-specific logic for locating Android Studio is implemented, but couldn’t find it at the expected path (which is given as an argument).
JavaNotFound(PathBuf)
Returned when platform-specific logic for locating Java is implemented, but couldn’t find it at the expected path (which is given as an argument).
AndroidSDKNotFound(PathBuf)
Returned when platform-specific logic for locating Android SDK is implemented, but couldn’t find it at the expected path (which is given as an argument).
AndroidNDKNotFound(PathBuf)
Returned when platform-specific logic for locating Android NDK is implemented, but couldn’t find it at the expected path (which is given as an argument).
IO(Error)
Returned by tasks when an io error occurs.