You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I just spent >1 hours debugging why cargo apk run tells me "Error: Android SDK has no platforms installed.", even though I had a platform installed.
Finally I found out that this is because of the final filter in the code of ndk.rs:
My platform version was simply outside of the range min_platform_level..=max_platform_level. So the problem was not that it has "no platforms installed", but that the installed platform version is incompatible.
Would it be possible to adjust the error message? If you wish, I can make a PR.
P.S. i see that this tool is deprecated. feel free to close the PR without any action then
The text was updated successfully, but these errors were encountered:
Hi, I just spent >1 hours debugging why
cargo apk run
tells me "Error: Android SDK has no platforms installed.", even though I had a platform installed.Finally I found out that this is because of the final filter in the code of
ndk.rs
:My platform version was simply outside of the range
min_platform_level..=max_platform_level
. So the problem was not that it has "no platforms installed", but that the installed platform version is incompatible.Would it be possible to adjust the error message? If you wish, I can make a PR.
P.S. i see that this tool is deprecated. feel free to close the PR without any action then
The text was updated successfully, but these errors were encountered: