ide/androidstudio

안드로이드 개발에 유용한 도구들

C/H 2016. 11. 16. 08:30

Tools


Stetho

# Gradle
dependencies {
  compile 'com.facebook.stetho:stetho:1.4.1'
  compile 'com.facebook.stetho:stetho-okhttp3:1.4.1'
  compile 'com.facebook.stetho:stetho-okhttp:1.4.1'
  compile 'com.facebook.stetho:stetho-urlconnection:1.4.1' 
}
package com.domain.projectname

public class MainActivity extends AppCompatActivity {
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        Stetho.initializeWithDefaults(this);
       /*
        Stetho.initialize(
                Stetho.newInitializerBuilder(this)
                    .enableDumpapp(Stetho.defaultDumperPluginsProvider(this))
                    .enableWebKitInspector(Stetho.defaultInspectorModulesProvider(this))
                    .build()
        );
       */
        setContentView(R.layout.activity_main);
    }
}
반응형

'ide > androidstudio' 카테고리의 다른 글

buildInfoDebugLoader  (0) 2016.12.19
Gradle Android  (0) 2016.12.01
Android Studio 2.2 한글  (0) 2016.11.09
Android Studio Remove  (0) 2016.11.08
Build 속도  (0) 2016.11.06