From 0ca591335746f67c65b1a115ca66c7c307007189 Mon Sep 17 00:00:00 2001 From: "pengfei.zhou" Date: Fri, 5 Nov 2021 17:26:28 +0800 Subject: [PATCH] Init dev before starting --- .../app/src/main/java/pub/doric/demo/MainActivity.java | 1 - .../app/src/main/java/pub/doric/demo/MyApplication.java | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doric-android/app/src/main/java/pub/doric/demo/MainActivity.java b/doric-android/app/src/main/java/pub/doric/demo/MainActivity.java index ccd196d1..b7e85307 100644 --- a/doric-android/app/src/main/java/pub/doric/demo/MainActivity.java +++ b/doric-android/app/src/main/java/pub/doric/demo/MainActivity.java @@ -74,7 +74,6 @@ public class MainActivity extends AppCompatActivity { } catch (IOException e) { e.printStackTrace(); } -// DoricDev.getInstance(); } public class MyAdapter extends RecyclerView.Adapter { diff --git a/doric-android/app/src/main/java/pub/doric/demo/MyApplication.java b/doric-android/app/src/main/java/pub/doric/demo/MyApplication.java index 8f742b15..beac970c 100644 --- a/doric-android/app/src/main/java/pub/doric/demo/MyApplication.java +++ b/doric-android/app/src/main/java/pub/doric/demo/MyApplication.java @@ -28,6 +28,7 @@ import pub.doric.Doric; import pub.doric.DoricNativeDriver; import pub.doric.DoricRegistry; import pub.doric.DoricSingleton; +import pub.doric.devkit.DoricDev; public class MyApplication extends Application { @Override @@ -46,7 +47,7 @@ public class MyApplication extends Application { DoricSingleton.getInstance().setEnvironmentValue(map); } }, intentFilter); -// DoricNativeDriver.getInstance(); + DoricDev.getInstance(); Doric.enablePerformance(true); Doric.enableRenderSnapshot(true); }