فهرست منبع

chore: add some instruction

Weihua Lu 4 سال پیش
والد
کامیت
a59dd85a39
1فایلهای تغییر یافته به همراه11 افزوده شده و 0 حذف شده
  1. 11 0
      mobile.md

+ 11 - 0
mobile.md

@@ -0,0 +1,11 @@
+- install list:
+* Android studio
+* SDK 29
+* other sdk tools in Android studio preference setting https://capacitorjs.com/docs/getting-started/environment-setup
+* change the server url in capacitor.config.json with your local ip:3001 (run ifconig to check)
+* run `yarn && yarn watch`
+* in another console, run `npx cap open android`
+* create Android virtual device in Android studio
+* click the run button in Android stutio to run the project
+* after logseq startup in Android virtual device, repl should be able to connect
+* for borwser console print and devtool remote debug, open chrome, type url chrome://inspect/#devices, you should see your device there, click inspect