mobile: update doc

This commit is contained in:
Tienson Qin
2021-09-26 17:23:32 +08:00
parent 5b11a90c67
commit 52109a8d24
3 changed files with 11 additions and 5 deletions

View File

@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

View File

@@ -1,8 +1,8 @@
import { CapacitorConfig } from '@capacitor/cli';
const config: CapacitorConfig = {
appId: 'com.Logseq',
appName: 'capacitor-testapp',
appId: 'com.logseq.app',
appName: 'Logseq',
bundledWebRuntime: false,
webDir: 'public',
server: {

View File

@@ -1,6 +1,6 @@
- install list:
## install list:
* Android studio
* SDK 29
* SDK 30
* 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 ifconfig to check)
* run `yarn && yarn app-watch`
@@ -9,3 +9,9 @@
* 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 browser console print and devtool remote debug, open chrome, type url chrome://inspect/#devices, you should see your device there, click inspect
## Develop without opening Android Studio
1. brew install gradle
2. cd web/android && gradle wrapper
3. install android sdk 30