mirror of
https://github.com/logseq/logseq.git
synced 2026-04-24 22:25:01 +00:00
mobile: update doc
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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: {
|
||||
|
||||
10
mobile.md
10
mobile.md
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user