Today, when adding third-party dependencies in development, this problem occurred.
AS configuration encountered: android sdk location should not contain whitespace, as this can cause problem with the NDK tools.
Baidu has been working for a long time and found that all the problems solved It's because the path of your sdk has spaces, how could I possibly make this mistake,
Uh, slap in the face, it really is a space problem, so just delete this space.