cost 268 ms
減少“代碼”內存使用

[英]Reduce "code" memory usage

我正在通過Android Profiler監視我的Android application的內存使用情況,我發現我的應用程序使用了超過 30MB 的 RAM 來存儲code 。 但我不知道如何減少這段code使用的內存。 引用 android 文檔: 代碼:您的應用程序用於代碼和資源的內存,例 ...

如何記錄和查看Android Studio 3中的錯誤?

[英]How to log and view errors in Android Studio 3?

我剛剛升級到Android Studio 3.0。 對我的應用程序進行一些更改后,我運行了該應用程序,並導致手機崩潰。 這並不意外,但是當我打開應該用於替代Android Monitor的Android Profiler時,我無法查看Android Monitor上可用的任何錯誤消息。 ...

使用與JAVA_HOME和Android Studio不同的Java版本的Android設備監視器

[英]Android device monitor using different java version from JAVA_HOME and Android Studio

我有Android Studio 3.0項目結構"C:\\Java\\jdk1.8"位置- "C:\\Java\\jdk1.8" ,還有我的1.8 jdk。 但是在此PC上,JAVA_HOME變量設置為"C:\\Java\\jdk1.7" 。 然后,我將無法打開Android設備監視器。 ...

需要幫助找出為什么當我單擊“設置”按鈕時App會繼續停止的原因

[英]Need help figuring out why App keeps stopping when I click “Settings” Button

我在Android Studio“ Android Monitor”中收到以下錯誤 大量的雜音,但實際上是在說錯誤的原因如下: 我試圖使“設置”在工具欄上正常工作,並且從以下位置獲得了代碼: https://www.androidhive.info/2017/07/andro ...

Android Studio中的Logcat Android Monitor僅運行一次

[英]Logcat in Android Studio Android Monitor only runs once

我是Android Studio的新用戶(正在運行最新更新的版本),但是我嘗試使用Android監視器進行調試,Logcat似乎只能工作一次,然后停止報告!!! 這發生在我所有的項目中嗎?! 如果我重新啟動Logcat,它將清除消息。 我認為仿真器由於某種原因無法連接到調試器。 當我 ...

如何在不將Android設備連接到PC的情況下監視其CPU /內存/ GPU使用情況?

[英]How to Monitor CPU/Memory/GPU Usage of an Android Device without Connecting it to a PC?

根據我對Android Monitor的了解,需要將Android設備連接到運行Android Studio的計算機,以便分析CPU /內存/ GPU的使用情況。 有沒有什么方法可以在不將應用程序連接到PC的情況下對應用程序進行性能分析? 例如,將為Android Monitor生成的調試信 ...

為什么Android GPU監視器適用於6.0.1,但不適用於7.1.2?

[英]Why is the Android GPU monitor working for 6.0.1, but not 7.1.2?

我想使用GPU監視器查看我的應用程序的統計信息。 但是,我無法讓GPU監視器顯示運行7.1.2的Google Pixel XL的任何統計信息,而只能顯示運行6.0.1的ASUS Nexus的統計信息。 它只是空白。 在我的項目結構中,Compile SDK版本為API 25:A ...

Android 顯示器確實顯示文件

[英]Android monitor does show files

我正在使用SQLite在 Android 中處理 DBMS 項目我想在 Android 監視器的 Data/data 文件夾中創建數據庫后查看該數據庫。 我正在使用有根的 Android 設備來運行我的應用程序。 我無法在 Android 監視器中看到應用程序文件我已經搜索了此問題的解決方案,每個解 ...

Android studio 2.3“調試顯示連接和斷開的線路,但中間沒有顯示”

[英]Android studio 2.3 “Debug shows Connected and Disconnected lines but nothing in between”

我正在物理設備上測試我的應用 在調試運行 我的應用程序由於錯誤而崩潰,但debug console沒有顯示任何內容......這是在updating android studio to 2.3之后發生的...... 但是當我滾動瀏覽Android Monitor ,我發現了錯誤消息 我也編 ...

Android Device Monitor對舊版Java SE 6運行時的依賴

[英]Android Device Monitor dependency on legacy Java SE 6 runtime

在Android Studio v2.2中,不推薦使用DDMS,而推薦使用Android設備監視器。 但是,當我嘗試打開Monitor時,它沒有打開,因為它依賴於舊版Java SE 6運行時,而Mac OS Sierra中缺少該運行時。 這太瘋狂了,不是嗎? 我想嘗試模擬傳入的SMS和 ...


 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM