- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我已经下载了最新的 (1.0.1) AS 并安装了它。但是,当我去运行它并且它想要下载 SDK 时,它因超时而失败。我在过去使用 Eclipse 和 Android SDK 时遇到过类似的问题,我必须通过将“强制 https 设置为 http”并将代理设置为 google.com:80 来解决这个问题。
我尝试转到“系统偏好设置”下的网络设置并将 http/https 代理设置为 google.com、端口 80,但没有成功 - 除了浏览器问题。
如果我在 Mac 上的 Ubuntu VM 中尝试这个,我没有任何问题(除了下载速度慢)。我很想知道为什么 OS X 有这些问题而且只有 Android SDK。谁能帮我解决这个问题?
谢谢。
更新:这是我在尝试获取 SDK 失败后收到的错误消息:
The following SDK components were not installed: extra-android-m2repository,
addon google_apis-google-21, extra-intel-hardware_accelerated_execution_manager,
sys-img-x86-addon-google_apis-google-21, source-21, extra-google-m2repository
这是日志:
2014-12-19 18:58:12,213 [ 0] INFO - #com.intellij.idea.Main - ------------------------------------------------------ IDE STARTED ------------------------------------------------------
2014-12-19 18:58:12,256 [ 43] INFO - #com.intellij.idea.Main - IDE: Android Studio (build #AI-135.1641136, 11 Dec 2014 00:00)
2014-12-19 18:58:12,256 [ 43] INFO - #com.intellij.idea.Main - OS: Mac OS X (10.10.1, x86_64)
2014-12-19 18:58:12,256 [ 43] INFO - #com.intellij.idea.Main - JRE: 1.6.0_65-b14-466.1-11M4716 (Apple Inc.)
2014-12-19 18:58:12,256 [ 43] INFO - #com.intellij.idea.Main - JVM: 20.65-b04-466.1 (Java HotSpot(TM) 64-Bit Server VM)
2014-12-19 18:58:12,261 [ 48] INFO - #com.intellij.idea.Main - JVM Args: -Dfile.encoding=UTF-8 -ea -Dsun.io.useCanonCaches=false -Djava.net.preferIPv4Stack=true -Djna.nosys=true -Djna.boot.library.path= -Djna.debug_load=true -Djna.debug_load.jna=true -Djsse.enableSNIExtension=false -XX:+UseCodeCacheFlushing -XX:+UseConcMarkSweepGC -XX:SoftRefLRUPolicyMSPerMB=50 -Xverify:none -Xbootclasspath/a:../lib/boot.jar -Xms128m -Xmx750m -XX:MaxPermSize=350m -XX:ReservedCodeCacheSize=96m -XX:+UseCompressedOops -Djb.vmOptionsFile=/Applications/Android Studio.app/Contents/bin/studio.vmoptions -Didea.java.redist=NoJavaDistribution -Didea.home.path=/Applications/Android Studio.app/Contents -Didea.executable=studio -Didea.platform.prefix=AndroidStudio -Didea.paths.selector=AndroidStudio
2014-12-19 18:58:12,329 [ 116] INFO - #com.intellij.idea.Main - JNA library loaded (64-bit) in 67 ms
2014-12-19 18:58:12,359 [ 146] INFO - #com.intellij.idea.Main - Snappy library loaded (1.0.5) in 30 ms
2014-12-19 18:58:12,359 [ 146] INFO - #com.intellij.idea.Main - 2014-12-19 18:58:09 [Patch] Original patch does not exist: /var/folders/7s/qh28y09s505b49rprr1sqfh80000gn/T/jetbrains.patch.jar.androidstudio
2014-12-19 18:58:12,397 [ 184] INFO - #com.intellij.idea.Main - initializing environment
2014-12-19 18:58:12,398 [ 185] INFO - .intellij.util.EnvironmentUtil - loading shell env: /bin/bash -l -i -c '/Applications/Android Studio.app/Contents/bin/printenv.py' '/private/var/folders/7s/qh28y09s505b49rprr1sqfh80000gn/T/intellij-shell-env2862248946868187278.tmp'
2014-12-19 18:58:15,044 [ 2831] INFO - .intellij.util.EnvironmentUtil - shell environment loaded (21 vars)
2014-12-19 18:58:15,647 [ 3434] INFO - llij.ide.plugins.PluginManager - Cannot find optional descriptor intellilang-python-support.xml
2014-12-19 18:58:16,388 [ 4175] INFO - llij.ide.plugins.PluginManager - 21 plugins initialized in 1481 ms
2014-12-19 18:58:16,388 [ 4175] INFO - llij.ide.plugins.PluginManager - Loaded bundled plugins: Android Support (10.1.0.1), CVS Integration (11), Commander (1.0.0), Copyright (8.1), Git Integration (8.1), GitHub, Google Cloud Tools For Android Studio (0.2.8), Google Login (1.0), Gradle, Groovy (9.0), I18n for Java, IDEA CORE, IntelliLang (8.0), JUnit (1.0), Maven Integration, Properties Support, Subversion Integration (1.1), Task Management (1.0), Terminal (0.1), TestNG-J (8.0), hg4idea (10.0)
2014-12-19 18:58:17,524 [ 5311] INFO - ellij.util.io.PagedFileStorage - lower=100; upper=200; buffer=10; max=755630080
2014-12-19 18:58:17,629 [ 5416] INFO - api.vfs.impl.local.FileWatcher - Starting file watcher: /Applications/Android Studio.app/Contents/bin/fsnotifier
2014-12-19 18:58:17,714 [ 5501] INFO - api.vfs.impl.local.FileWatcher - Native file watcher is operational.
2014-12-19 18:58:18,087 [ 5874] INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $APP_CONFIG$/notifications.xml file is null
2014-12-19 18:58:18,402 [ 6189] INFO - lij.diagnostic.DebugLogManager - Set DEBUG for the following categories: []
2014-12-19 18:58:18,690 [ 6477] INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $APP_CONFIG$/window.manager.xml file is null
2014-12-19 18:58:20,078 [ 7865] INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $APP_CONFIG$/macros.xml file is null
2014-12-19 18:58:20,081 [ 7868] INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $APP_CONFIG$/quicklists.xml file is null
2014-12-19 18:58:21,730 [ 9517] INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $APP_CONFIG$/studio.build.statistics.xml file is null
2014-12-19 18:58:21,733 [ 9520] INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $APP_CONFIG$/androidStudioFirstRun.xml file is null
2014-12-19 18:58:21,734 [ 9521] INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $APP_CONFIG$/terminal.xml file is null
2014-12-19 18:58:21,735 [ 9522] INFO - pl.stores.ApplicationStoreImpl - 85 application components initialized in 5332 ms
2014-12-19 18:58:21,792 [ 9579] INFO - .intellij.idea.IdeaApplication - App initialization took 11268 ms
2014-12-19 19:09:39,851 [ 687638] INFO - TestNG Runner - Create TestNG Template Configuration
2014-12-19 19:09:39,854 [ 687641] INFO - TestNG Runner - Create TestNG Template Configuration
2014-12-19 19:09:39,908 [ 687695] INFO - ellij.project.impl.ProjectImpl - 21 project components initialized in 253 ms
2014-12-19 19:09:39,909 [ 687696] INFO - le.impl.ModuleManagerComponent - 0 module(s) loaded in 0 ms
2014-12-19 20:41:33,883 [6201670] INFO - ateSettings.impl.UpdateChecker - [Patch] Download AI-135.1641136-135.1653844-patch-mac.jar to /private/var/folders/7s/qh28y09s505b49rprr1sqfh80000gn/T/AndroidStudio6531468798388232066patch
2014-12-19 20:41:40,707 [6208494] INFO - ateSettings.impl.UpdateChecker - [Patch] moved to /private/var/folders/7s/qh28y09s505b49rprr1sqfh80000gn/T/jetbrains.patch.jar.androidstudio
2014-12-19 20:41:41,098 [6208885] INFO - dea.ddms.adb.AdbService$Ddmlib - DDMLib terminated
2014-12-19 20:41:41,101 [6208888] INFO - il.indexing.FileBasedIndexImpl - START INDEX SHUTDOWN
2014-12-19 20:41:41,112 [6208899] INFO - il.indexing.FileBasedIndexImpl - END INDEX SHUTDOWN
2014-12-19 20:41:41,112 [6208899] INFO - stubs.SerializationManagerImpl - START StubSerializationManager SHUTDOWN
2014-12-19 20:41:41,113 [6208900] INFO - stubs.SerializationManagerImpl - END StubSerializationManager SHUTDOWN
2014-12-19 20:41:41,113 [6208900] INFO - .history.utils.LocalHistoryLog - Purging local history...
2014-12-19 20:41:41,114 [6208901] INFO - .history.utils.LocalHistoryLog - Local history storage successfully closed.
2014-12-19 20:41:41,123 [6208910] WARN - api.vfs.impl.local.FileWatcher - Watcher terminated with exit code 0
2014-12-19 20:41:41,123 [6208910] INFO - newvfs.persistent.PersistentFS - VFS dispose started
2014-12-19 20:41:41,138 [6208925] INFO - newvfs.persistent.PersistentFS - VFS dispose completed
2014-12-19 20:41:41,176 [6208963] INFO - #com.intellij.idea.Main - ------------------------------------------------------ IDE SHUTDOWN ------------------------------------------------------
2014-12-19 20:42:12,849 [ 0] INFO - #com.intellij.idea.Main - ------------------------------------------------------ IDE STARTED ------------------------------------------------------
2014-12-19 20:42:12,870 [ 21] INFO - #com.intellij.idea.Main - IDE: Android Studio (build #AI-135.1653844, 18 Dec 2014 00:00)
2014-12-19 20:42:12,870 [ 21] INFO - #com.intellij.idea.Main - OS: Mac OS X (10.10.1, x86_64)
2014-12-19 20:42:12,870 [ 21] INFO - #com.intellij.idea.Main - JRE: 1.6.0_65-b14-466.1-11M4716 (Apple Inc.)
2014-12-19 20:42:12,870 [ 21] INFO - #com.intellij.idea.Main - JVM: 20.65-b04-466.1 (Java HotSpot(TM) 64-Bit Server VM)
2014-12-19 20:42:12,926 [ 77] INFO - #com.intellij.idea.Main - JVM Args: -Dfile.encoding=UTF-8 -ea -Dsun.io.useCanonCaches=false -Djava.net.preferIPv4Stack=true -Djna.nosys=true -Djna.boot.library.path= -Djna.debug_load=true -Djna.debug_load.jna=true -Djsse.enableSNIExtension=false -XX:+UseCodeCacheFlushing -XX:+UseConcMarkSweepGC -XX:SoftRefLRUPolicyMSPerMB=50 -Xverify:none -Xbootclasspath/a:../lib/boot.jar -Xms128m -Xmx750m -XX:MaxPermSize=350m -XX:ReservedCodeCacheSize=96m -XX:+UseCompressedOops -Djb.vmOptionsFile=/Applications/Android Studio.app/Contents/bin/studio.vmoptions -Didea.java.redist=NoJavaDistribution -Didea.home.path=/Applications/Android Studio.app/Contents -Didea.executable=studio -Didea.platform.prefix=AndroidStudio -Didea.paths.selector=AndroidStudio
2014-12-19 20:42:13,031 [ 182] INFO - #com.intellij.idea.Main - JNA library loaded (64-bit) in 105 ms
2014-12-19 20:42:13,077 [ 228] INFO - #com.intellij.idea.Main - Snappy library loaded (1.0.5) in 46 ms
2014-12-19 20:42:13,078 [ 229] INFO - #com.intellij.idea.Main - 2014-12-19 20:42:09 [Patch] Original patch does not exist: /var/folders/7s/qh28y09s505b49rprr1sqfh80000gn/T/jetbrains.patch.jar.androidstudio
2014-12-19 20:42:13,083 [ 234] INFO - #com.intellij.idea.Main - initializing environment
2014-12-19 20:42:13,108 [ 259] INFO - .intellij.util.EnvironmentUtil - loading shell env: /bin/bash -l -i -c '/Applications/Android Studio.app/Contents/bin/printenv.py' '/private/var/folders/7s/qh28y09s505b49rprr1sqfh80000gn/T/intellij-shell-env1583537507244796704.tmp'
2014-12-19 20:42:14,469 [ 1620] INFO - llij.ide.plugins.PluginManager - Cannot find optional descriptor intellilang-python-support.xml
2014-12-19 20:42:14,496 [ 1647] INFO - .intellij.util.EnvironmentUtil - shell environment loaded (21 vars)
2014-12-19 20:42:15,068 [ 2219] INFO - llij.ide.plugins.PluginManager - 21 plugins initialized in 1034 ms
2014-12-19 20:42:15,068 [ 2219] INFO - llij.ide.plugins.PluginManager - Loaded bundled plugins: Android Support (10.1.0.2), CVS Integration (11), Commander (1.0.0), Copyright (8.1), Git Integration (8.1), GitHub, Google Cloud Tools For Android Studio (0.2.8), Google Login (1.0), Gradle, Groovy (9.0), I18n for Java, IDEA CORE, IntelliLang (8.0), JUnit (1.0), Maven Integration, Properties Support, Subversion Integration (1.1), Task Management (1.0), Terminal (0.1), TestNG-J (8.0), hg4idea (10.0)
2014-12-19 20:42:15,477 [ 2628] INFO - ellij.util.io.PagedFileStorage - lower=100; upper=200; buffer=10; max=755630080
2014-12-19 20:42:15,540 [ 2691] INFO - api.vfs.impl.local.FileWatcher - Starting file watcher: /Applications/Android Studio.app/Contents/bin/fsnotifier
2014-12-19 20:42:15,559 [ 2710] INFO - api.vfs.impl.local.FileWatcher - Native file watcher is operational.
2014-12-19 20:42:15,951 [ 3102] INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $APP_CONFIG$/notifications.xml file is null
2014-12-19 20:42:16,286 [ 3437] INFO - lij.diagnostic.DebugLogManager - Set DEBUG for the following categories: []
2014-12-19 20:42:16,456 [ 3607] INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $APP_CONFIG$/window.manager.xml file is null
2014-12-19 20:42:17,046 [ 4197] INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $APP_CONFIG$/macros.xml file is null
2014-12-19 20:42:17,057 [ 4208] INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $APP_CONFIG$/quicklists.xml file is null
2014-12-19 20:42:18,845 [ 5996] INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $APP_CONFIG$/studio.build.statistics.xml file is null
2014-12-19 20:42:18,849 [ 6000] INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $APP_CONFIG$/androidStudioFirstRun.xml file is null
2014-12-19 20:42:18,850 [ 6001] INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $APP_CONFIG$/terminal.xml file is null
2014-12-19 20:42:18,852 [ 6003] INFO - pl.stores.ApplicationStoreImpl - 85 application components initialized in 3773 ms
2014-12-19 20:42:18,862 [ 6013] INFO - .intellij.idea.IdeaApplication - App initialization took 9494 ms
2014-12-19 20:53:51,153 [ 698304] INFO - TestNG Runner - Create TestNG Template Configuration
2014-12-19 20:53:51,155 [ 698306] INFO - TestNG Runner - Create TestNG Template Configuration
2014-12-19 20:53:51,180 [ 698331] INFO - ellij.project.impl.ProjectImpl - 21 project components initialized in 150 ms
2014-12-19 20:53:51,181 [ 698332] INFO - le.impl.ModuleManagerComponent - 0 module(s) loaded in 0 ms
2014-12-19 20:53:53,537 [ 700688] INFO - ntellij.util.proxy.CommonProxy - You have JVM property "https.proxyHost" set to "www.google.com".
This may lead to incorrect behaviour. Proxy should be set in Settings | HTTP Proxy
This JVM property is old and its usage is not recommended by Oracle.
(Note: It could have been assigned by some code dynamically.)
2014-12-19 20:53:53,538 [ 700689] INFO - ntellij.util.proxy.CommonProxy - You have JVM property "https.proxyHost" set to "www.google.com".
This may lead to incorrect behaviour. Proxy should be set in Settings | HTTP Proxy
This JVM property is old and its usage is not recommended by Oracle.
(Note: It could have been assigned by some code dynamically.)
2014-12-19 20:57:38,996 [ 926147] INFO - ntellij.util.proxy.CommonProxy - You have JVM property "https.proxyHost" set to "www.google.com".
This may lead to incorrect behaviour. Proxy should be set in Settings | HTTP Proxy
This JVM property is old and its usage is not recommended by Oracle.
JDK 是 1.6.0_65 - Apple 版本。根据说明,IDE 应使用 JRE 6 运行以获得更好的字体渲染。
我不知道 proxyHost 是从哪里来的,除非它使用安装 Eclipse 版本时 .android 目录中的 androidtool.cfg 文件。我可能会尝试重命名 .android 目录以将其删除。
顺便说一句,我已经从 1.0.1 升级到 1.0.2。同样的交易。
更新 2:我删除了所有 AndroidStudio 目录并进行了完整的重新安装。这是新日志(这个有堆栈跟踪):
2014-12-20 13:48:15,987 [ 0] INFO - #com.intellij.idea.Main - ------------------------------------------------------ IDE STARTED ------------------------------------------------------
2014-12-20 13:48:16,011 [ 24] INFO - #com.intellij.idea.Main - IDE: Android Studio (build #AI-135.1641136, 11 Dec 2014 00:00)
2014-12-20 13:48:16,011 [ 24] INFO - #com.intellij.idea.Main - OS: Mac OS X (10.10.1, x86_64)
2014-12-20 13:48:16,011 [ 24] INFO - #com.intellij.idea.Main - JRE: 1.6.0_65-b14-466.1-11M4716 (Apple Inc.)
2014-12-20 13:48:16,011 [ 24] INFO - #com.intellij.idea.Main - JVM: 20.65-b04-466.1 (Java HotSpot(TM) 64-Bit Server VM)
2014-12-20 13:48:16,016 [ 29] INFO - #com.intellij.idea.Main - JVM Args: -Dfile.encoding=UTF-8 -ea -Dsun.io.useCanonCaches=false -Djava.net.preferIPv4Stack=true -Djna.nosys=true -Djna.boot.library.path= -Djna.debug_load=true -Djna.debug_load.jna=true -Djsse.enableSNIExtension=false -XX:+UseCodeCacheFlushing -XX:+UseConcMarkSweepGC -XX:SoftRefLRUPolicyMSPerMB=50 -Xverify:none -Xbootclasspath/a:../lib/boot.jar -Xms128m -Xmx750m -XX:MaxPermSize=350m -XX:ReservedCodeCacheSize=96m -XX:+UseCompressedOops -Djb.vmOptionsFile=/Applications/Android Studio.app/Contents/bin/studio.vmoptions -Didea.java.redist=NoJavaDistribution -Didea.home.path=/Applications/Android Studio.app/Contents -Didea.executable=studio -Didea.platform.prefix=AndroidStudio -Didea.paths.selector=AndroidStudio
2014-12-20 13:48:16,066 [ 79] INFO - #com.intellij.idea.Main - JNA library loaded (64-bit) in 49 ms
2014-12-20 13:48:16,081 [ 94] INFO - #com.intellij.idea.Main - Snappy library loaded (1.0.5) in 15 ms
2014-12-20 13:48:16,081 [ 94] INFO - #com.intellij.idea.Main - 2014-12-20 13:48:14 [Patch] Original patch does not exist: /var/folders/7s/qh28y09s505b49rprr1sqfh80000gn/T/jetbrains.patch.jar.androidstudio
2014-12-20 13:48:16,086 [ 99] INFO - #com.intellij.idea.Main - initializing environment
2014-12-20 13:48:16,087 [ 100] INFO - .intellij.util.EnvironmentUtil - loading shell env: /bin/bash -l -i -c '/Applications/Android Studio.app/Contents/bin/printenv.py' '/private/var/folders/7s/qh28y09s505b49rprr1sqfh80000gn/T/intellij-shell-env720346877295611740.tmp'
2014-12-20 13:48:17,135 [ 1148] INFO - llij.ide.plugins.PluginManager - Cannot find optional descriptor intellilang-python-support.xml
2014-12-20 13:48:17,564 [ 1577] INFO - llij.ide.plugins.PluginManager - 21 plugins initialized in 780 ms
2014-12-20 13:48:17,564 [ 1577] INFO - llij.ide.plugins.PluginManager - Loaded bundled plugins: Android Support (10.1.0.1), CVS Integration (11), Commander (1.0.0), Copyright (8.1), Git Integration (8.1), GitHub, Google Cloud Tools For Android Studio (0.2.8), Google Login (1.0), Gradle, Groovy (9.0), I18n for Java, IDEA CORE, IntelliLang (8.0), JUnit (1.0), Maven Integration, Properties Support, Subversion Integration (1.1), Task Management (1.0), Terminal (0.1), TestNG-J (8.0), hg4idea (10.0)
2014-12-20 13:48:17,652 [ 1665] INFO - .intellij.util.EnvironmentUtil - shell environment loaded (22 vars)
2014-12-20 13:48:17,969 [ 1982] INFO - ellij.vfs.persistent.FSRecords - Marking VFS as corrupted
2014-12-20 13:48:17,970 [ 1983] INFO - ellij.util.io.PagedFileStorage - lower=100; upper=200; buffer=10; max=755630080
2014-12-20 13:48:18,182 [ 2195] INFO - api.vfs.impl.local.FileWatcher - Starting file watcher: /Applications/Android Studio.app/Contents/bin/fsnotifier
2014-12-20 13:48:18,196 [ 2209] INFO - api.vfs.impl.local.FileWatcher - Native file watcher is operational.
2014-12-20 13:48:18,356 [ 2369] INFO - .history.utils.LocalHistoryLog - local history version mismatch (was: 0, expected: 5), rebuilding...
2014-12-20 13:48:18,356 [ 2369] INFO - .history.utils.LocalHistoryLog - FS has been rebuild, rebuilding local history...
2014-12-20 13:48:18,413 [ 2426] INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $APP_CONFIG$/notifications.xml file is null
2014-12-20 13:48:18,594 [ 2607] INFO - lij.diagnostic.DebugLogManager - Set DEBUG for the following categories: []
2014-12-20 13:48:18,748 [ 2761] INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $APP_CONFIG$/window.manager.xml file is null
2014-12-20 13:48:23,189 [ 7202] INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $APP_CONFIG$/macros.xml file is null
2014-12-20 13:48:23,190 [ 7203] INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $APP_CONFIG$/quicklists.xml file is null
2014-12-20 13:48:24,180 [ 8193] INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $APP_CONFIG$/studio.build.statistics.xml file is null
2014-12-20 13:48:24,184 [ 8197] INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $APP_CONFIG$/androidStudioFirstRun.xml file is null
2014-12-20 13:48:24,185 [ 8198] INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $APP_CONFIG$/terminal.xml file is null
2014-12-20 13:48:24,186 [ 8199] INFO - pl.stores.ApplicationStoreImpl - 85 application components initialized in 6611 ms
2014-12-20 13:48:24,195 [ 8208] INFO - .intellij.idea.IdeaApplication - App initialization took 9195 ms
2014-12-20 14:25:25,839 [2229852] INFO - TestNG Runner - Create TestNG Template Configuration
2014-12-20 14:25:25,848 [2229861] INFO - TestNG Runner - Create TestNG Template Configuration
2014-12-20 14:25:25,873 [2229886] INFO - ellij.project.impl.ProjectImpl - 21 project components initialized in 171 ms
2014-12-20 14:25:25,873 [2229886] INFO - le.impl.ModuleManagerComponent - 0 module(s) loaded in 0 ms
2014-12-20 14:49:41,337 [3685350] ERROR - tRunWizard$SetupProgressStep$1 - The following SDK components were not installed: extra-android-m2repository, addon-google_apis-google-21, extra-intel-hardware_accelerated_execution_manager, sys-img-x86-addon-google_apis-google-21, source-21, extra-google-m2repository
com.android.tools.idea.welcome.WizardException: The following SDK components were not installed: extra-android-m2repository, addon-google_apis-google-21, extra-intel-hardware_accelerated_execution_manager, sys-img-x86-addon-google_apis-google-21, source-21, extra-google-m2repository
at com.android.tools.idea.welcome.InstallOperation.promptToRetry(InstallOperation.java:109)
at com.android.tools.idea.welcome.InstallComponentsOperation.perform(InstallComponentsOperation.java:80)
at com.android.tools.idea.welcome.InstallComponentsOperation.perform(InstallComponentsOperation.java:39)
at com.android.tools.idea.welcome.InstallOperation$1.compute(InstallOperation.java:80)
at com.android.tools.idea.welcome.InstallContext$Wrapper.run(InstallContext.java:127)
at com.intellij.openapi.progress.ProgressManager.executeProcessUnderProgress(ProgressManager.java:209)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:212)
at com.android.tools.idea.welcome.ProgressStep.run(ProgressStep.java:167)
at com.android.tools.idea.welcome.InstallContext.run(InstallContext.java:77)
at com.android.tools.idea.welcome.InstallOperation.execute(InstallOperation.java:72)
at com.android.tools.idea.welcome.InstallOperation$OperationChain.perform(InstallOperation.java:148)
at com.android.tools.idea.welcome.InstallOperation.execute(InstallOperation.java:68)
at com.android.tools.idea.welcome.InstallOperation$OperationChain.perform(InstallOperation.java:146)
at com.android.tools.idea.welcome.InstallOperation.execute(InstallOperation.java:68)
at com.android.tools.idea.welcome.InstallOperation$OperationChain.perform(InstallOperation.java:146)
at com.android.tools.idea.welcome.InstallOperation.execute(InstallOperation.java:68)
at com.android.tools.idea.welcome.InstallComponentsPath.runLongOperation(InstallComponentsPath.java:299)
at com.android.tools.idea.welcome.FirstRunWizard.doLongRunningOperation(FirstRunWizard.java:125)
at com.android.tools.idea.welcome.FirstRunWizard.access$000(FirstRunWizard.java:40)
at com.android.tools.idea.welcome.FirstRunWizard$SetupProgressStep$1.run(FirstRunWizard.java:151)
at com.android.tools.idea.welcome.FirstRunWizardHost$LongRunningOperationWrapper.run(FirstRunWizardHost.java:432)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$TaskRunnable.run(ProgressManagerImpl.java:471)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$2.run(ProgressManagerImpl.java:178)
at com.intellij.openapi.progress.ProgressManager.executeProcessUnderProgress(ProgressManager.java:209)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:212)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:171)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$8.run(ProgressManagerImpl.java:380)
at com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:419)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:695)
at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:149)
2014-12-20 14:49:41,341 [3685354] ERROR - tRunWizard$SetupProgressStep$1 - Android Studio 1.0.1 Build #AI-135.1641136
2014-12-20 14:49:41,342 [3685355] ERROR - tRunWizard$SetupProgressStep$1 - JDK: 1.6.0_65
2014-12-20 14:49:41,342 [3685355] ERROR - tRunWizard$SetupProgressStep$1 - VM: Java HotSpot(TM) 64-Bit Server VM
2014-12-20 14:49:41,342 [3685355] ERROR - tRunWizard$SetupProgressStep$1 - Vendor: Apple Inc.
2014-12-20 14:49:41,342 [3685355] ERROR - tRunWizard$SetupProgressStep$1 - OS: Mac OS X
2014-12-20 14:49:41,342 [3685355] ERROR - tRunWizard$SetupProgressStep$1 - Last Action:
2014-12-20 14:49:45,160 [3689173] INFO - dea.ddms.adb.AdbService$Ddmlib - DDMLib terminated
2014-12-20 14:49:45,164 [3689177] INFO - il.indexing.FileBasedIndexImpl - START INDEX SHUTDOWN
2014-12-20 14:49:45,172 [3689185] INFO - il.indexing.FileBasedIndexImpl - END INDEX SHUTDOWN
2014-12-20 14:49:45,172 [3689185] INFO - stubs.SerializationManagerImpl - START StubSerializationManager SHUTDOWN
2014-12-20 14:49:45,173 [3689186] INFO - stubs.SerializationManagerImpl - END StubSerializationManager SHUTDOWN
2014-12-20 14:49:45,173 [3689186] INFO - .history.utils.LocalHistoryLog - Purging local history...
2014-12-20 14:49:45,173 [3689186] INFO - .history.utils.LocalHistoryLog - Local history storage successfully closed.
2014-12-20 14:49:45,196 [3689209] WARN - api.vfs.impl.local.FileWatcher - Watcher terminated with exit code 0
2014-12-20 14:49:45,196 [3689209] INFO - newvfs.persistent.PersistentFS - VFS dispose started
2014-12-20 14:49:45,197 [3689210] INFO - newvfs.persistent.PersistentFS - VFS dispose completed
2014-12-20 14:49:45,200 [3689213] INFO - #com.intellij.idea.Main - ------------------------------------------------------ IDE SHUTDOWN ------------------------------------------------------
最佳答案
对我来说,这个问题与代理有关。在 Mac osx 中,即使显示上述错误,顶部也有 Android Studio 的菜单栏。选择首选项 Android Studio -> Preferences
并如下更改代理,问题已解决。在显示错误时,Windows/Linux 中可能有类似的选项来访问首选项页面。
关于android - 为什么 OS X (Yosemite) 上的 Android Studio 1.0.1 无法下载 SDK 组件?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27572658/
我最近在/ drawable中添加了一些.gifs,以便可以将它们与按钮一起使用。这个工作正常(没有错误)。现在,当我重建/运行我的应用程序时,出现以下错误: Error: Gradle: Execu
Android 中有返回内部存储数据路径的方法吗? 我有 2 部 Android 智能手机(Samsung s2 和 s7 edge),我在其中安装了一个应用程序。我想使用位于这条路径中的 sqlit
这个问题在这里已经有了答案: What's the difference between "?android:" and "@android:" in an android layout xml f
我只想知道 android 开发手机、android 普通手机和 android root 手机之间的实际区别。 我们不能从实体店或除 android marketplace 以外的其他地方购买开发手
自Gradle更新以来,我正在努力使这个项目达到标准。这是一个团队项目,它使用的是android-apt插件。我已经进行了必要的语法更改(编译->实现和apt->注释处理器),但是编译器仍在告诉我存在
我是android和kotlin的新手,所以请原谅要解决的一个非常简单的问题! 我已经使用导航体系结构组件创建了一个基本应用程序,使用了底部的导航栏和三个导航选项。每个导航选项都指向一个专用片段,该片
我目前正在使用 Facebook official SDK for Android . 我现在正在使用高级示例应用程序,但我不知道如何让它获取应用程序墙/流/状态而不是登录的用户。 这可能吗?在那种情
我在下载文件时遇到问题, 我可以在模拟器中下载文件,但无法在手机上使用。我已经定义了上网和写入 SD 卡的权限。 我在服务器上有一个 doc 文件,如果用户单击下载。它下载文件。这在模拟器中工作正常但
这个问题在这里已经有了答案: What is the difference between gravity and layout_gravity in Android? (22 个答案) 关闭 9
任何人都可以告诉我什么是 android 缓存和应用程序缓存,因为当我们谈论缓存清理应用程序时,它的作用是,缓存清理概念是清理应用程序缓存还是像内存管理一样主存储、RAM、缓存是不同的并且据我所知,缓
假设应用程序 Foo 和 Eggs 在同一台 Android 设备上。任一应用程序都可以获取设备上所有应用程序的列表。一个应用程序是否有可能知道另一个应用程序是否已经运行以及运行了多长时间? 最佳答案
我有点困惑,我只看到了从 android 到 pc 或者从 android 到 pc 的例子。我需要制作一个从两部手机 (android) 连接的 android 应用程序进行视频聊天。我在想,我知道
用于使用 Android 以编程方式锁定屏幕。我从 Stackoverflow 之前关于此的问题中得到了一些好主意,并且我做得很好,但是当我运行该代码时,没有异常和错误。而且,屏幕没有锁定。请在这段代
文档说: android:layout_alignParentStart If true, makes the start edge of this view match the start edge
我不知道这两个属性和高度之间的区别。 以一个TextView为例,如果我将它的layout_width设置为wrap_content,并将它的width设置为50 dip,会发生什么情况? 最佳答案
这两个属性有什么关系?如果我有 android:noHistory="true",那么有 android:finishOnTaskLaunch="true" 有什么意义吗? 最佳答案 假设您的应用中有
我是新手,正在尝试理解以下 XML 代码: 查看 developer.android.com 上的文档,它说“starStyle”是 R.attr 中的常量, public static final
在下面的代码中,为什么当我设置时单选按钮的外观会发生变化 android:layout_width="fill_parent" 和 android:width="fill_parent" 我说的是
很难说出这里要问什么。这个问题模棱两可、含糊不清、不完整、过于宽泛或夸夸其谈,无法以目前的形式得到合理的回答。如需帮助澄清此问题以便重新打开,visit the help center . 关闭 9
假设我有一个函数 fun myFunction(name:String, email:String){},当我调用这个函数时 myFunction('Ali', 'ali@test.com ') 如何
我是一名优秀的程序员,十分优秀!