Expand description
Tasks and context specific for building and running on Android.
Re-exports§
pub use crate::core::tasks::InstallTarget;
Structs§
- Android
Context - Context that gets passed through each task.
- Build
Runtime Library - This tasks builds the runtime library for the given target and with the given profile.
- Find
Android Studio - This task attempts to locate Android Studio and uses the result to locate the Android SDK and Java home. The Android Studio itself isn’t used, but it’s the easiest way of obtaining a working installation of the SDK, NDK and Java that are all compatible.
- Generate
Source Tree - This task generates a new source tree based on the template that ships with
polyhorn-cli. - Install
- This task invokes Gradle to install a debug-build on the user’s device or emulator.
- Link
Native Libraries - This task copies all products from the
BuildRuntimeLibrarytask into thejniLibsfolder of the Android source tree. - Run
- This task launches the newly installed Polyhorn-powered app on a user’s device or emulator.
Enums§
- Android
Error - Represents an error that is returned by one of the Android-specific tasks.
- Android
Task - Represents one of the Android-specific tasks.