學習Android Studio中……
使用Android Studio開發Android,使用真機調試,這個使用使用數據庫sqllite的時候,該如何隨時查看數據庫數據?
在網上找了很久,沒找到簡單的辦法……
偶然發現了Android開發調試神器Stetho,於是按照上面的辦法,下載stetho-1.5.0-fatjar.jar,添加引用,結果一直報錯:
Error:Execution failed for task ':app:transformClassesWithDexForDebug'.
> com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.dex.DexException: Multiple dex files define Landroid/support/v4/R;
只知道加載jar重復了,在網上找了很久,各種辦法都試了,都無法解決……
最終解決辦法:
刪除stetho-1.5.0-fatjar.jar引用。
總結:原來Stetho的使用,,不需要下載添加引用……
