質問をすることでしか得られない、回答やアドバイスがある。

15分調べてもわからないことは、質問しよう!

新規登録して質問してみよう
ただいま回答率
85.48%
Android

Androidは、Google社が開発したスマートフォンやタブレットなど携帯端末向けのプラットフォームです。 カーネル・ミドルウェア・ユーザーインターフェイス・ウェブブラウザ・電話帳などのアプリケーションやソフトウェアをひとつにまとめて構成。 カーネル・ライブラリ・ランタイムはほとんどがC言語/C++、アプリケーションなどはJavaSEのサブセットとAndroid環境で書かれています。

デバッグ

デバッグはプログラムのバグや欠陥を検知し、開発中のバグを取り除く為のプロセスを指します。

Android Studio

Android Studioは、 Google社によって開発された、 Androidのネイティブアプリケーション開発に特化した統合開発ツールです。

Q&A

0回答

702閲覧

AndroidStudio Profilerを起動するとすぐに落ちる

lulu71

総合スコア26

Android

Androidは、Google社が開発したスマートフォンやタブレットなど携帯端末向けのプラットフォームです。 カーネル・ミドルウェア・ユーザーインターフェイス・ウェブブラウザ・電話帳などのアプリケーションやソフトウェアをひとつにまとめて構成。 カーネル・ライブラリ・ランタイムはほとんどがC言語/C++、アプリケーションなどはJavaSEのサブセットとAndroid環境で書かれています。

デバッグ

デバッグはプログラムのバグや欠陥を検知し、開発中のバグを取り除く為のプロセスを指します。

Android Studio

Android Studioは、 Google社によって開発された、 Androidのネイティブアプリケーション開発に特化した統合開発ツールです。

0グッド

0クリップ

投稿2019/02/17 15:02

編集2019/02/17 15:06

AndroidStudio3.3にてメモリのモニタリグンを行ないたいのですが、profilingを起動すると数十秒後にアプリが強制終了致します。

手順は次の通りです。
1)デバッグモードでアプリを起動
2)Profilerタブからsessionを追加
20秒~25秒ぐらい動き強制終了

(1)の段階だけであれば、何時間でもアプリは落ちることはありません。極端な話ですが一晩おいといてもそのままです。
アプリに対してのアクションは何もしておりません。
広告表示させていてるので、定期的に広告が変わる程度です。

どなたかご教示頂けますと幸いです。


gradle.properties

org.gradle.jvmargs=-XX:MaxPermSize=512m -XX:+CMSClassUnloadingEnabled -XX:+CMSPermGenSweepingEnabled -XX:+HeapDumpOnOutOfMemoryError -Xmx2048m -Dfile.encoding=utf-8

ログ

proffiling起動直後からのログです。

2019-02-17 23:46:15.634 25356-25356/com.xxxxx.xxxxx I/Ads: Use AdRequest.Builder.addTestDevice("829C1AF5D0AACB8DB1DD080F91019E3C") to get test ads on this device. 2019-02-17 23:46:15.677 25356-27036/com.xxxxx.xxxxx I/AudioManager: In isSpeakerphoneOn(), calling application: com.xxxxx.xxxxx 2019-02-17 23:46:17.013 25356-26637/com.xxxxx.xxxxx D/FA: Logging event (FE): adunit_exposure(_xu), Bundle[{firebase_event_origin(_o)=am, ad_unit_id(_ai)=/9176203/1604613, firebase_screen_class(_sc)=MainActivity, firebase_screen_id(_si)=-5703804709467704192, exposure_time(_xt)=31328}] 2019-02-17 23:46:17.122 25356-26637/com.xxxxx.xxxxx V/FA: Connecting to remote service 2019-02-17 23:46:17.149 25356-26637/com.xxxxx.xxxxx D/FA: Logging event (FE): ad_exposure(_xa), Bundle[{firebase_event_origin(_o)=am, firebase_screen_class(_sc)=MainActivity, firebase_screen_id(_si)=-5703804709467704192, exposure_time(_xt)=31328}] 2019-02-17 23:46:17.209 25356-26637/com.xxxxx.xxxxx V/FA: Connection attempt already in progress 2019-02-17 23:46:17.211 25356-26637/com.xxxxx.xxxxx D/FA: Connected to remote service 2019-02-17 23:46:17.212 25356-26637/com.xxxxx.xxxxx V/FA: Processing queued up service tasks: 2 2019-02-17 23:46:22.285 25356-26637/com.xxxxx.xxxxx V/FA: Inactivity, disconnecting from the service 2019-02-17 23:46:34.560 25356-25356/com.xxxxx.xxxxx V/StudioProfiler: Transformed class: android/app/job/JobService 2019-02-17 23:46:35.691 25356-25356/com.xxxxx.xxxxx V/StudioProfiler: Transformed class: android/app/AlarmManager 2019-02-17 23:46:36.825 25356-25356/com.xxxxx.xxxxx V/StudioProfiler: Transformed class: android/location/LocationManager 2019-02-17 23:46:37.945 25356-25356/com.xxxxx.xxxxx V/StudioProfiler: Transformed class: android/app/IntentService 2019-02-17 23:46:39.063 25356-25356/com.xxxxx.xxxxx V/StudioProfiler: Transformed class: android/app/job/JobServiceEngine$JobHandler 2019-02-17 23:46:40.199 25356-25356/com.xxxxx.xxxxx V/StudioProfiler: Transformed class: android/location/LocationManager$ListenerTransport 2019-02-17 23:46:41.318 25356-25356/com.xxxxx.xxxxx V/StudioProfiler: Transformed class: android/app/JobSchedulerImpl 2019-02-17 23:46:42.450 25356-25356/com.xxxxx.xxxxx V/StudioProfiler: Transformed class: android/app/AlarmManager$ListenerWrapper 2019-02-17 23:46:43.532 25356-25356/com.xxxxx.xxxxx V/StudioProfiler: Transformed class: android/os/PowerManager 2019-02-17 23:46:44.618 25356-25356/com.xxxxx.xxxxx V/StudioProfiler: Transformed class: android/os/PowerManager$WakeLock 2019-02-17 23:46:45.736 25356-25356/com.xxxxx.xxxxx V/StudioProfiler: Transformed class: android/app/PendingIntent 2019-02-17 23:46:46.509 25356-25831/com.xxxxx.xxxxx I/System.out: za007ffa3859380abbc6c0667e70cc370 = true 2019-02-17 23:46:46.839 25356-25356/com.xxxxx.xxxxx V/StudioProfiler: Transformed class: android/os/Debug 2019-02-17 23:46:47.996 25356-25356/com.xxxxx.xxxxx V/StudioProfiler: Transformed class: android/app/ActivityThread 2019-02-17 23:46:49.131 25356-25356/com.xxxxx.xxxxx V/StudioProfiler: Transformed class: android/app/Instrumentation 2019-02-17 23:46:49.138 25356-25356/com.xxxxx.xxxxx V/StudioProfiler: Transformed class: java/net/URL 2019-02-17 23:46:49.199 25356-25356/com.xxxxx.xxxxx V/StudioProfiler: Transformed class: android/support/v4/app/Fragment 2019-02-17 23:46:49.462 25356-25356/com.xxxxx.xxxxx W/google-breakpad: ### ### ### ### ### ### ### ### ### ### ### ### ### 2019-02-17 23:46:49.462 25356-25356/com.xxxxx.xxxxx W/google-breakpad: Chrome build fingerprint: 2019-02-17 23:46:49.462 25356-25356/com.xxxxx.xxxxx W/google-breakpad: 72.0.3626.105 2019-02-17 23:46:49.462 25356-25356/com.xxxxx.xxxxx W/google-breakpad: 362610552 2019-02-17 23:46:49.462 25356-25356/com.xxxxx.xxxxx W/google-breakpad: ### ### ### ### ### ### ### ### ### ### ### ### ### 2019-02-17 23:46:49.462 25356-25356/com.xxxxx.xxxxx A/libc: Fatal signal 6 (SIGABRT), code -6 (SI_TKILL) in tid 25356 (.xxxxx.xxxxx), pid 25356 (.xxxxx.xxxxx)

Profiler

イメージ説明


環境

Androidstudio3.3
言語:java
OS:Windows10

気になる質問をクリップする

クリップした質問は、後からいつでもMYページで確認できます。

またクリップした質問に回答があった際、通知やメールを受け取ることができます。

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

guest

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

まだ回答がついていません

会員登録して回答してみよう

アカウントをお持ちの方は

15分調べてもわからないことは
teratailで質問しよう!

ただいまの回答率
85.48%

質問をまとめることで
思考を整理して素早く解決

テンプレート機能で
簡単に質問をまとめる

質問する

関連した質問