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"
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"