Skip to content

Instantly share code, notes, and snippets.

@liuzhitao2000
Last active January 1, 2016 11:59
Show Gist options
  • Save liuzhitao2000/8142059 to your computer and use it in GitHub Desktop.
Save liuzhitao2000/8142059 to your computer and use it in GitHub Desktop.
android studio

####Connection failed. Please check your network connection and try again Mac OSX中修改文件路径为 bin/idea.vmoptions ,添加如下内容

-Djava.net.preferIPv4Stack=true
-Didea.updates.url=http://dl.google.com/android/studio/patches/updates.xml
-Didea.patches.url=http://dl.google.com/android/studio/patches/

####Android Studio run error: Android Dex: [] Unable to execute DX

The error is stating that it there are multiple copies of one of the v4 support library that you are using in your project. Go into the project structure -> modules and check in the target or the apk-libs folder if there are more than one copies. If there are more than one, exclude one of the library, do a clean and it should solve the problem

####INSTALL_FAILED_CPU_ABI_INCOMPATIBLE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment