Skip to content

Better error printing #78

Description

@iWisp360

Troubleshooting cargo-apk is sometimes a hassle, because errors are not verbose.

For example, look at this:

Error: Android SDK has no platforms installed.

That error happens when the platforms I installed are out of the range of supported platforms for my NDK. For that range, the crate searches this variable: "NDK_MIN_PLATFORM_LEVEL" and this "NDK_MAX_PLATFORM_LEVEL". If there is no platform inside that range, an ambiguous error is dropped. Maybe it's better: "Your SDK platforms aren't supported by your NDK. Try sdkmanager "platforms;android-xx" where xx is the platform level"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions