@作者 : 西野奈留
@博客:http://blog.youkuaiyun.com/narunishino
-2017/01/05-
- 把
compile 'com.facebook.stetho:stetho:1.4.2'
添加到项目中。 在Application中初始化:
public class MyApplication extends Application { public void onCreate() { super.onCreate(); Stetho.initializeWithDefaults(this); } }
安装运行你的app(保持你的手机与电脑是连接着的)。
- 在chrome网址栏中输入
chrome://inspect/#devices
,点击确定后会见到inspect
,点击后会弹出Developer Tools
,点击Web SQL
后就会见到你的项目的数据库了。
-End-