Android Unknown Command ‘crunch’
I just update “Android SDK Platform-Tool” to 8 Rev and “Android Asset Packaging Tool” from android sdk manager, and then it works. Have a try!
I just update “Android SDK Platform-Tool” to 8 Rev and “Android Asset Packaging Tool” from android sdk manager, and then it works. Have a try!
After checking to which package does the libz.so.1 belongs (http://packages.ubuntu.com/lucid/i386/zlib1g/filelist) you should try to install zlib1g: sudo apt-get install zlib1g As pointed by @E-rich, it may be required to add a :i386 suffix to the package name for the package manager correctly identify it: sudo apt-get install zlib1g:i386 EDIT (for CentOS or other distro that … Read more
Looks like I’m not the only one who had to deal with this idiocy. The way to install it Unpack zip to some /parent folder so it has /parent/tools. I extracted content of zip’s tools to /androidsdk and it was mistake. Script couldn’t find it. Set ANDROID_HOME to /parent folder. Run /parent/tools/android sdk to see … Read more
https://dl.google.com/android/repository/platform-tools_r23.0.1-linux.zip is the last 32-bit version. Use that instead.
UPDATE The latest versions introduce sdkmanager, a command line tool that allows you to view, install, update, and uninstall packages for the Android SDK. The sdkmanager tool is provided in the Android SDK Tools package (25.2.3 and higher) and is located in android_sdk/tools/bin/. sdkmanager [–uninstall] [<common args>] [–package_file <file>] [<packages>…] sdkmanager –update [<common args>] sdkmanager … Read more
Open Android Studio, and then update all your build tools, install the SDKs that you need for your device and ensure that have you set ANDROID_HOME env var to the same dir that you have in Android Studio (commonly in /home/you/Android/Sdk), also update react-native-cli node package. Run adb kill-server and adb start-server. Probably you will … Read more
Flutter provides a command to update the Android SDK path: Use : flutter config –android-sdk <path-to-your-android-sdk-path>
As was previously suggested, it does seem to be caused by the fact that there is a space in the default installation path of the Android SDK: C:\Program Files\Android\android-sdk\ There are a couple of possible solves, though- move installation directories to paths that do not contains spaces (as already mentioned)… but simpler and possibly slightly … Read more
try these: Open your terminal type flutter doctor –android-licenses press y to accept every license.
With the help of this answer, I successfully solved the problem. We are going to apply a fix in sdkmanager. It is a shell script. It is located at $android_sdk/tools/bin, where $android_sdk is where you unzipped the Android SDK. Open sdkmanager in your favorite editor. Locate the line which sets the DEFAULT_JVM_OPTSvariable. In my copy, … Read more