1. 程式人生 > >Android studio如何檢視Log資料夾

Android studio如何檢視Log資料夾

1.點選了:

Show Log in Explorer

開啟找到了log檔案:

C:\Users\Administrator\.AndroidStudio\system\log\idea.log

C Users Administrator AndroidStudio system log idea.log file

Log檔案內容很長,最後一部分是:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66
67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154
155 156 157 158 159 160 161 162 163 164 165 166 167 168
Consult IDE log for more details (Help | Show Log) 2015-04-01 10:37:20,131 [1257636]   INFO - indexing.UnindexedFilesUpdater - Indexable files iteratedin 2694 ms 2015-04-01 10:37:20,131 [1257636]   INFO - indexing.UnindexedFilesUpdater - Unindexed files update started: 2500 files to update
2015-04-01 10:37:22,330 [1259835]   INFO - s.impl.stores.FileBasedStorage - Document was not loadedfor $PROJECT_CONFIG_DIR$/codeStyleSettings.xmlfile is null 2015-04-01 10:37:22,333 [1259838]   INFO - s.impl.stores.FileBasedStorage - Document was not loadedfor $PROJECT_CONFIG_DIR$/projectCodeStyle.xmlfile is null 2015-04-01 10:37:22,600 [1260105]   INFO - s.impl.stores.FileBasedStorage - Document was not loadedfor $PROJECT_CONFIG_DIR$/fileColors.xmlfile is null 2015-04-01 10:37:25,627 [1263132]   INFO - s.impl.stores.FileBasedStorage - Document was not loadedfor $APP_CONFIG$/web-browsers.xmlfile is null 2015-04-01 10:37:36,269 [1273774]   INFO - indexing.UnindexedFilesUpdater - Unindexed files updatedone in16138 ms 2015-04-01 10:37:36,941 [1274446]   INFO - nject.config.XPathSupportProxy - XPath Support is not available 2015-04-01 10:37:37,119 [1274624]   INFO - s.impl.stores.FileBasedStorage - Document was not loadedfor $APP_CONFIG$/IntelliLang.xmlfile is null 2015-04-01 10:37:37,122 [1274627]   INFO - s.impl.stores.FileBasedStorage - Document was not loadedfor $PROJECT_CONFIG_DIR$/IntelliLang.xmlfile is null 2015-04-01 10:37:37,947 [1275452]   INFO - s.impl.stores.FileBasedStorage - Document was not loadedfor $APP_CONFIG$/feature.usage.statistics.xmlfile is null 2015-04-01 10:37:39,177 [1276682]   INFO - s.impl.stores.FileBasedStorage - Document was not loadedfor $PROJECT_CONFIG_DIR$/gant_config.xmlfile is null 2015-04-01 10:37:40,335 [1277840]   INFO - s.impl.stores.FileBasedStorage - Document was not loadedfor $APP_CONFIG$/remote-servers.xmlfile is null 2015-04-01 10:37:40,518 [1278023]   INFO - tor.impl.FileEditorManagerImpl - Project opening took 58569 ms 2015-04-01 10:37:46,714 [1284219]   INFO - s.impl.stores.FileBasedStorage - Document was not loadedfor $APP_CONFIG$/file.template.settings.xmlfile is null 2015-04-01 10:37:51,540 [1289045]   INFO - s.impl.stores.FileBasedStorage - Document was not loadedfor $APP_CONFIG$/cachedDictionary.xmlfile is null 2015-04-01 10:39:35,962 [1393467]   INFO - s.impl.stores.FileBasedStorage - Document was not loadedfor $APP_CONFIG$/intentionSettings.xmlfile is null 2015-04-01 10:43:56,598 [1654103]   INFO - indexing.UnindexedFilesUpdater - Indexable files iteratedin 3182 ms 2015-04-01 10:43:56,598 [1654103]   INFO - indexing.UnindexedFilesUpdater - Unindexed files update started: 22098 files to update 2015-04-01 10:44:23,144 [1680649]   INFO - util.EmbeddedDistributionPaths - Lookingfor embedded Gradle distribution at'C:\Program Files\Android\Android Studio\gradle\gradle-2.2.1' 2015-04-01 10:44:23,252 [1680757]   INFO - s.plugins.gradle.GradleManager - Instructing gradle to use java from C:\Program Files\Java\jdk1.7.0_76 2015-04-01 10:44:23,253 [1680758]   INFO - s.plugins.gradle.GradleManager - Instructing gradle to use java from C:\Program Files\Java\jdk1.7.0_76 2015-04-01 10:44:23,254 [1680759]   INFO - util.EmbeddedDistributionPaths - Lookingfor embedded Maven repo at'C:\Program Files\Android\Android Studio\gradle\m2repository' 2015-04-01 10:44:23,256 [1680761]   INFO - .project.GradleExecutionHelper - Passingcommand-line args to Gradle Tooling API: [-Pandroid.injected.build.model.only=true, -Pandroid.injected.build.model.only.advanced=true, -Pandroid.injected.invoked.from.ide=true, --init-script, C:\Users\Administrator\AppData\Local\Temp\asLocalRepo3577806095284007233.gradle, --init-script, C:\Users\Administrator\AppData\Local\Temp\ijinit6508239471401468090.gradle] 2015-04-01 10:44:40,498 [1698003]   INFO - .project.GradleProjectResolver - Gradle project resolve error org.gradle.tooling.BuildException: Could not run build action using Gradle installation'C:\Program Files\Android\Android Studio\gradle\gradle-2.2.1'. at org.gradle.tooling.internal.consumer.ResultHandlerAdapter.onFailure(ResultHandlerAdapter.java:57) at org.gradle.tooling.internal.consumer.async.DefaultAsyncConsumerActionExecutor$1$1.run(DefaultAsyncConsumerActionExecutor.java:57) at org.gradle.internal.concurrent.DefaultExecutorFactory$StoppableExecutorImpl$1.run(DefaultExecutorFactory.java:64) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) at org.gradle.tooling.internal.consumer.BlockingResultHandler.getResult(BlockingResultHandler.java:46) at org.gradle.tooling.internal.consumer.DefaultBuildActionExecuter.run(DefaultBuildActionExecuter.java:46) at org.jetbrains.plugins.gradle.service.project.GradleProjectResolver.doResolveProjectInfo(GradleProjectResolver.java:186) at org.jetbrains.plugins.gradle.service.project.GradleProjectResolver.access$300(GradleProjectResolver.java:64) at org.jetbrains.plugins.gradle.service.project.GradleProjectResolver$ProjectConnectionDataNodeFunction.fun(GradleProjectResolver.java:361) at org.jetbrains.plugins.gradle.service.project.GradleProjectResolver$ProjectConnectionDataNodeFunction.fun(GradleProjectResolver.java:333) at org.jetbrains.plugins.gradle.service.project.GradleExecutionHelper.execute(GradleExecutionHelper.java:203) at org.jetbrains.plugins.gradle.service.project.GradleProjectResolver.resolveProjectInfo(GradleProjectResolver.java:116) at org.jetbrains.plugins.gradle.service.project.GradleProjectResolver.resolveProjectInfo(GradleProjectResolver.java:64) at com.intellij.openapi.externalSystem.service.remote.RemoteExternalSystemProjectResolverImpl$1.produce(RemoteExternalSystemProjectResolverImpl.java:41) at com.intellij.openapi.externalSystem.service.remote.RemoteExternalSystemProjectResolverImpl$1.produce(RemoteExternalSystemProjectResolverImpl.java:37) at com.intellij.openapi.externalSystem.service.remote.AbstractRemoteExternalSystemService.execute(AbstractRemoteExternalSystemService.java:59) at com.intellij.openapi.externalSystem.service.remote.RemoteExternalSystemProjectResolverImpl.resolveProjectInfo(RemoteExternalSystemProjectResolverImpl.java:37) at com.intellij.openapi.externalSystem.service.remote.wrapper.ExternalSystemProjectResolverWrapper.resolveProjectInfo(ExternalSystemProjectResolverWrapper.java:49) at com.intellij.openapi.externalSystem.service.internal.ExternalSystemResolveProjectTask.doExecute(ExternalSystemResolveProjectTask.java:48) at com.intellij.openapi.externalSystem.service.internal.AbstractExternalSystemTask.execute(AbstractExternalSystemTask.java:137) at com.intellij.openapi.externalSystem.service.internal.AbstractExternalSystemTask.execute(AbstractExternalSystemTask.java:123) at com.intellij.openapi.externalSystem.util.ExternalSystemUtil$2.execute(ExternalSystemUtil.java:406) at com.intellij.openapi.externalSystem.util.ExternalSystemUtil$3$2.run(ExternalSystemUtil.java:483) 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:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:149) Caused by: org.gradle.internal.exceptions.LocationAwareException: A problem occurred configuring project':cSipSimplemaster'. at org.gradle.initialization.DefaultExceptionAnalyser.transform(DefaultExceptionAnalyser.java:77) at org.gradle.initialization.MultipleBuildFailuresExceptionAnalyser.transform(MultipleBuildFailuresExceptionAnalyser.java:47) at org.gradle.initialization.StackTraceSanitizingExceptionAnalyser.transform(StackTraceSanitizingExceptionAnalyser.java:30) at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:108) at org.gradle.initialization.DefaultGradleLauncher.getBuildAnalysis(DefaultGradleLauncher.java:97) at org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.configure(InProcessBuildActionExecuter.java:84) at org.gradle.tooling.internal.provider.ClientProvidedBuildAction.run(ClientProvidedBuildAction.java:43) at org.gradle.tooling.internal.provider.ClientProvidedBuildAction.run(ClientProvidedBuildAction.java:31) at org.gradle.tooling.internal.provider.ConfiguringBuildAction.run(ConfiguringBuildAction.java:119) at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:36) at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:26) at org.gradle.launcher.daemon.server.exec.ExecuteBuild.doBuild(ExecuteBuild.java:47) at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:34) at org.gradle.launcher.daemon.server.exec.DaemonCommandExecution.proceed(DaemonCommandExecution.java:119) at org.gradle.launcher.daemon.server.exec.WatchForDisconnection.execute(WatchForDisconnection.java:35) at org.gradle.launcher.daemon.server.exec.DaemonCommandExecution.proceed(DaemonCommandExecution.java:119) at org.gradle.launcher.daemon.server.exec.ResetDeprecationLogger.execute(ResetDeprecationLogger.java:24) at org.gradle.launcher.daemon.server.exec.DaemonCommandExecution.proceed(DaemonCommandExecution.java:119) at org.gradle.launcher.daemon.server.exec.StartStopIfBuildAndStop.execute(StartStopIfBuildAndStop.java:33) at org.gradle.launcher.daemon.server.exec.DaemonCommandExecution.proceed(DaemonCommandExecution.java:119) at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:71) at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:69) at org.gradle.util.Swapper.swap(Swapper.java:38) at org.gradle.launcher.daemon.server.exec.ForwardClientInput.execute(ForwardClientInput.java:69) at org.gradle.launcher.daemon.server.exec.DaemonCommandExecution.proceed(DaemonCommandExecution.java:119) at org.gradle.launcher.daemon.server.exec.LogToClient.doBuild(LogToClient.java:60) at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:34) at org.gradle.launcher.daemon.server.exec.DaemonCommandExecution.proceed(DaemonCommandExecution.java:119) at org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment.doBuild(EstablishBuildEnvironment.java:70) at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:34) at org.gradle.launcher.daemon.server.exec.DaemonCommandExecution.proceed(DaemonCommandExecution.java:119) at org.gradle.launcher.daemon.server.exec.DaemonHygieneAction.execute(DaemonHygieneAction.java:39) at org.gradle.launcher.daemon.server.exec.DaemonCommandExecution.proceed(DaemonCommandExecution.java:119) at org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy$1.run(StartBuildOrRespondWithBusy.java:46) at org.gradle.launcher.daemon.server.DaemonStateCoordinator$1.run(DaemonStateCoordinator.java:246) at org.gradle.internal.concurrent.DefaultExecutorFactory$StoppableExecutorImpl$1.run(DefaultExecutorFactory.java:64) Caused by: org.gradle.api.ProjectConfigurationException: A problem occurred configuring project':cSipSimplemaster'. at org.gradle.configuration.project.LifecycleProjectEvaluator.addConfigurationFailure(LifecycleProjectEvaluator.java:91) at org.gradle.configuration.project.LifecycleProjectEvaluator.notifyAfterEvaluate(LifecycleProjectEvaluator.java:86) at org.gradle.configuration.project.LifecycleProjectEvaluator.evaluate(LifecycleProjectEvaluator.java:65) at org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:504) at org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:83) at org.gradle.execution.TaskPathProjectEvaluator.configureHierarchy(TaskPathProjectEvaluator.java:47) at org.gradle.configuration.DefaultBuildConfigurer.configure(DefaultBuildConfigurer.java:35) at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:129) at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:106) ... 32more Caused by: java.lang.IllegalStateException: failed tofind target android-19 : C:\Users\Administrator\AppData\Local\Android\sdk at com.android.builder.sdk.DefaultSdkLoader.getTargetInfo(DefaultSdkLoader.java:88) at com.android.build.gradle.internal.SdkHandler.initTarget(SdkHandler.java:90) at com.android.build.gradle.BasePlugin.ensureTargetSetup(BasePlugin.groovy:467) at com.android.build.gradle.BasePlugin.access$0(BasePlugin.groovy) at com.android.build.gradle.BasePlugin$_createTasks_closure9.doCall(BasePlugin.groovy:372) at org.gradle.listener.ClosureBackedMethodInvocationDispatch.dispatch(ClosureBackedMethodInvocationDispatch.java:40) at org.gradle.listener.ClosureBackedMethodInvocationDispatch.dispatch(ClosureBackedMethodInvocationDispatch.java:25) at org.gradle.listener.BroadcastDispatch.dispatch(BroadcastDispatch.java:83) at org.gradle.listener.BroadcastDispatch.dispatch(BroadcastDispatch.java:31) at org.gradle.messaging.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93) at com.sun.proxy.$Proxy12.afterEvaluate(Unknown Source) at org.gradle.configuration.project.LifecycleProjectEvaluator.notifyAfterEvaluate(LifecycleProjectEvaluator.java:79) ... 39more 2015-04-01 10:44:40,500 [1698005]   WARN - nal.AbstractExternalSystemTask - failed tofind target android-19 : C:\Users\Administrator\AppData\Local\Android\sdk com.intellij.openapi.externalSystem.model.ExternalSystemException: failed tofind target android-19 : C:\Users\Administrator\AppData\Local\Android\sdk at com.android.tools.idea.gradle.project.ProjectImportErrorHandler.createUserFriendlyError(ProjectImportErrorHandler.java:225) at com.android.tools.idea.gradle.project.ProjectImportErrorHandler.getUserFriendlyError(ProjectImportErrorHandler.java:103) at com.android.tools.idea.gradle.project.AndroidGradleProjectResolver.getUserFriendlyError(AndroidGradleProjectResolver.java:321) at org.jetbrains.plugins.gradle.service.project.GradleProjectResolver$ProjectConnectionDataNodeFunction.fun(GradleProjectResolver.java:367) at org.jetbrains.plugins.gradle.service.project.GradleProjectResolver$ProjectConnectionDataNodeFunction.fun(GradleProjectResolver.java:333) at org.jetbrains.plugins.gradle.service.project.GradleExecutionHelper.execute(GradleExecutionHelper.java:203) at org.jetbrains.plugins.gradle.service.project.GradleProjectResolver.resolveProjectInfo(GradleProjectResolver.java:116) at org.jetbrains.plugins.gradle.service.project.GradleProjectResolver.resolveProjectInfo(GradleProjectResolver.java:64) at com.intellij.openapi.externalSystem.service.remote.RemoteExternalSystemProjectResolverImpl$1.produce(RemoteExternalSystemProjectResolverImpl.java:41) at com.intellij.openapi.externalSystem.service.remote.RemoteExternalSystemProjectResolverImpl$1.produce(RemoteExternalSystemProjectResolverImpl.java:37) at com.intellij.openapi.externalSystem.service.remote.AbstractRemoteExternalSystemService.execute(AbstractRemoteExternalSystemService.java:59) at com.intellij.openapi.externalSystem.service.remote.RemoteExternalSystemProjectResolverImpl.resolveProjectInfo(RemoteExternalSystemProjectResolverImpl.java:37) at com.intellij.openapi.externalSystem.service.remote.wrapper.ExternalSystemProjectResolverWrapper.resolveProjectInfo(ExternalSystemProjectResolverWrapper.java:49) at com.intellij.openapi.externalSystem.service.internal.ExternalSystemResolveProjectTask.doExecute(ExternalSystemResolveProjectTask.java:48) at com.intellij.openapi.externalSystem.service.internal.AbstractExternalSystemTask.execute(AbstractExternalSystemTask.java:137) at com.intellij.openapi.externalSystem.service.internal.AbstractExternalSystemTask.execute(AbstractExternalSystemTask.java:123) at com.intellij.openapi.externalSystem.util.ExternalSystemUtil$2.execute(ExternalSystemUtil.java:406) at com.intellij.openapi.externalSystem.util.ExternalSystemUtil$3$2.run(ExternalSystemUtil.java:483) 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:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:149) 2015-04-01 10:44:40,500 [1698005]   WARN - radle.project.ProjectSetUpTask -  2015-04-01 10:44:40,501 [1698006]   INFO - radle.project.ProjectSetUpTask - failed tofind target android-19 : C:\Users\Administrator\AppData\Local\Android\sdk Consult IDE logfor moredetails (Help | Show Log) 2015-04-01 10:44:59,763 [1717268]   INFO - ellij.vfs.persistent.FSRecords - Contents:16384 of 144781555, reuses:82 of 73161for 1173 2015-04-01 10:45:13,819 [1731324]   INFO - indexing.UnindexedFilesUpdater - Unindexed files updatedone in77221 ms 2015-04-01 11:05:26,225 [2943730]   INFO - s.impl.stores.FileBasedStorage - Document was not loadedfor $APP_CONFIG$/emmet.xmlfile is null 2015-04-01 11:05:26,335 [2943840]   INFO - s.impl.stores.FileBasedStora

相關推薦

android studio檢視模擬器資料

開啟Tools,選擇android,再選擇android Device Monitor 如果沒有如下的圖示則需要手動新增 點選windows–>show view–>選擇android–>File Exlorer點選ok。 檢

Android studio如何檢視Log資料

1.點選了: Show Log in Explorer 開啟找到了log檔案: C:\Users\Administrator\.AndroidStudio\system\log\idea.log

android studio修改配置資料(.android .gradle .AndroidStudio)位置

Android studio安裝之後一般預設在c:/user/userid(*****)/;(比如:c:/user/xiaohong/)其他軟體在安裝中要建立快取資料夾,那麼也會在這個目錄建立,比如Notepad++等這三個資料夾的作用:.android 這個資料夾是Andr

Android Studio 減小專案資料的大小

一般的AS生成的專案資料夾目錄都很大,想把它拷貝到其它地方或者發給別人都比較麻煩 所以可以試試以下方法減小其大小 Build --> Clean Project 可以清理出很大一部分的空間 手動刪除以下檔案或者目錄 Dir : Proje

Android studio 新增assets資料

我們知道Eclipse建立的工程預設是有個assets資料夾的,但是Android studio預設沒有幫我們建立,那麼我們就自己建立一個就好啦。 (1)手動建立 在專案的頂部有個下拉,預設選擇的是Android, 但是在Android 模式下不能真實反映整個工程的目錄結

Android Studio在drawable資料建立xml的shape、selector等檔案

平時我們建立xml的shape型別檔案:選擇drawable——右擊選擇New——Drawable resource file; 隨後彈出了New Resource File頁面,但是卻沒有我們想要

android studio 建立 jniLibs資料用於放置jar包和os檔案

每次建立新專案都要重新建立jniLibs,很煩(每次都忘了怎麼建立(傻逼!)),無奈之下還是寫一篇部落格以備不時之需 在gradle下配置: sourceSets { mai

android studio在一個資料下建立多個module(libraray)

每次開發專案都會引入一些第三方支援庫,而在android studio下它們都是作為module的形式存在一個專案中,太多的話難免看起來很亂,所以萌生了把他們放在同一個資料夾下的想法,也就是

android studio:res資料中建立menu資料

1、在res資料夾中建立menu資料夾這一步在eclipse中是比較簡單的,但在as中就有較大的不同了 2、下面就是建立menu資料夾的過程 1)依次選擇圖中紅色圈中的部分,注意不是藍色圈中的部分(

android studio 新建assets 資料

根據  網上查詢資料 說找到專案路徑中然後再main/res/中新建assets  資料夾是沒有用的       android studio 並不能找到裡面的資源。 正確方法 這樣 android studio 就可以找到放在裡面的 資源了,我猜想它是在建立的時候  會在註冊檔案中 添加了什麼

Android Studio的DDMS中不能檢視data資料

當建立好資料庫後,想檢視一下資料庫是否生成成功,結果發現DDMS中不能檢視data資料夾, 如圖,雙擊無法展開/data/目錄。上面顯示rwxrwx–x。 發現/data的檔案許可權是drwxrwx–x這是linux的檔案許可權 第一個代表檔案型別d是di

Android studio檢視手機/data/data下資料並匯出

Android studio檢視手機/data/data下資料並匯出,歷經N小時的摸索,查閱資料,最終解決這個問題。雖然看起來是小問題,但是不解決心裡不好受。網上的資料很多,但是能用的,能有效果的很少,下面我來總結我的方法。 首先要檢視data/data下的資料,要求手機必須root. 開

檢視Android模擬器的SDCard資料內容

可以通過DDMS檢視: 一般在Eclipse的選單欄(右上角)可以找到,如果沒有,在圖示Java左邊的按鈕選擇新增 在DDMS可以直接新增資料夾和檔案,但不能刪除資料夾和檔案,需要通過adb shell方式刪除 刪除命令為rm -r 資料夾名或檔名

android開發 在layout資料下面建資料進行xml檔案管理

在android專案比較大的時候,如果不進行分類管理,管理起來比較麻煩。當然也可以通過良好的命名規則進行區分。 1、android開發是不能直接新建資料夾的,需要配置。 2、在app的build.gradle資料夾新增要建資料夾的路徑,例如我要在layout下面新建一個aftersale資料

Android Studio檢視模擬機正在執行的工作執行緒

Android Studio3.0之前檢視模擬機的工作執行緒,可以使用Android Device Monitor中的Thread檢視,而Android Studio 3.0開始棄用Android Device Monitor 新的檢視工作執行緒辦法可以使用 Android Prof

Linux 檢視資料下檔案數量

轉至:www.xitongzhijia.net/xtjc/20150504/47340.html LInux  find指令的使用:   find命令檢視(推薦):   所有子目錄的數量:   [[email protected] ~]# find pma -type d

Linux中檢視資料大小命令du -h --max-depth=1

du [-abcDhHklmsSx] [-L <符號連線>][-X <檔案>][--block-size][--exclude=<目錄或檔案>] [--max-depth=<目錄層數>][--help][--

使用Android Studio檢視並除錯Android原始碼

今日科技快訊 近日有訊息稱:餓了麼口碑合併成立的阿里本地生活服務公司在募集到40億美元資金後,其估值已飆升至300億美元。知情人士透露,此次新融資資金中有30多億美元來自阿里巴巴和軟銀的遠景基金,春華資本集團(Primavera Capital Group)和口碑現有投資方、阿里巴

使用android studio 檢視 android 的原始碼

        以前都使用 source insight 檢視原始碼.   但是一直使用的都是盜版的.  決心改換成studio.      &n

android 6.0 建立資料

在AndroidManifest.xml中新增 <!--在SD卡中建立與刪除檔案許可權--> <uses-permission android:name="android.permission.MOUNT_FORMAT_FILESYSTEMS"/>