![]() ![]() Refresh your bash profile (or restart your terminal app) source ~/.bash_profile Mv platform-tools/ ~/.android-sdk-macosx/platform-toolsĪdd platform-tools to your path echo 'export PATH=$PATH:~/.android-sdk-macosx/platform-tools/' > ~/.bash_profile Move them somewhere you won't accidentally delete them mkdir ~/.android-sdk-macosx Unzip the tools you downloaded unzip platform-tools-latest*.zip Go to your Downloads folder cd ~/Downloads/ Navigate to and click on the SDK Platform-Tools for Mac link. This is the easiest way to get a manual installation of ADB and Fastboot.ĭelete your old installation (optional) rm -rf ~/.android-sdk-macosx/ Option 2 - Manually (just the platform tools) Or try a cask install depending on your settings: brew install -cask android-platform-tools Install adb brew install android-platform-tools Install homebrew /bin/bash -c "$(curl -fsSL )" This is the easiest way and will provide automatic updates. Note for zsh users: replace all references to ~/.bash_profile with ~/.zshrc. You can read the error log at /Users/chevindu/java_error_in_studio_5988.log from here.Īny help on this matter is very much appreciated.Note: this was originally written on Installing ADB on macOS but that question was closed as a duplicate of this one. STUDIO_JDK=/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin SSH_AUTH_SOCK=/private/tmp/8xDQvW92n/Listeners TMPDIR=/var/folders/m3/9bsc3圆s2vq8z50zh24c1g9w0000gn/T/Apple_PubSub_Socket_Render=/private/tmp/1Ew1S/Render I have Java(TM) SE Runtime Environment (build 1.8.0_121-b13) installed and OS X Yosemite 10.10.5 running. # See problematic frame for where to report the bug. ![]() # The crash happened outside the Java Virtual Machine in native code. # If you would like to submit a bug report, please visit: # /Users/chevindu/java_error_in_studio_5988.log # An error report file with more information is saved as: To enable core dumping, try "ulimit -c unlimited" before starting Java again # Java VM: OpenJDK 64-Bit Server VM (25.112-b06 mixed mode bsd-amd64 compressed oops) # A fatal error has been detected by the Java Runtime Environment: WARN - vdmanager.AvdManagerConnection - No Android SDK Found WARN - File /Users/chevindu/.android/repositories.cfg could not be loaded. WARN - java.io.FileNotFoundException: /private/var/folders/m3/9bsc3圆s2vq8z50zh24c1g9w0000gn/T/StudioDownloader1addon2-1.xml (No such file or directory) WARN - s.RepoProgressIndicatorAdapter - File /Users/chevindu/.android/repositories.cfg could not be loaded. WARN - s.RepoProgressIndicatorAdapter - java.io.FileNotFoundException: /private/var/folders/m3/9bsc3圆s2vq8z50zh24c1g9w0000gn/T/StudioDownloadersys-img2-1.xml (No such file or directory) Trying /System/Library/Frameworks/amework/Foundationįound library 'Foundation' at /System/Library/Frameworks/amework/Foundation Looking in classpath from for /com/sun/jna/darwin/libjnidispatch.jnilibįound library resource at jar:file:/Applications/Android%20Studio.app/Contents/lib/jna.jar!/com/sun/jna/darwin/libjnidispatch.jnilib Applications/Android Studio.app/Contents/bin/idea.properties: '' already defined 19:40:03.877 studio Processing VMOptions file at 19:40:03.875 studio Processing VMOptions file at /Users/chevindu/Library/Preferences/AndroidStudio2.3/studio.vmoptions 19:40:03.874 studio Processing VMOptions file at /Applications/Android Studio.app/Contents/bin/studio.vmoptions 19:40:03.874 studio Value of STUDIO_VM_OPTIONS is (null) 19:40:03.874 studio fullFileName exists: /Applications/Android Studio.app/Contents/bin/studio.vmoptions 19:40:03.873 studio fullFileName is: /Applications/Android Studio.app/Contents/bin/studio.vmoptions 19:40:03.869 studio Value of STUDIO_JDK: /Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk This is the result I got for $ /Applications/Android\ Studio.app/Contents/MacOS/studio. Then I tried to open the app and it did "quit unexpectedly" before even starting up. I downloaded Android Studio 2.3 and installed.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |