Hello! Thanks to this wonderful thread: How to build from source? I can build the 0.10.10 version of the app just fine as an AppImage. Works great.
Is there a similar set of instructions I could follow to build an APK for my phone and tablet? Doesn’t have to be the DB version, the regular Markdown version will do.
You can find the build process in build-android.yml. To summarize:
# Install dependencies
yarn
# Build cljs
yarn release-app
# Copy files
cp -r static public/
rm -rvf public/static/js/publishing
rm -rvf public/static/js/*.js.map || true
rm -rvf public/static/*.*
rm -rvf public/static/ios
rm -rvf android/app/src/main/assets/public || true
# Sync public to Android Project
yarn cap sync android
Now build the Android app. Make sure you have Android SDK installed and use Java 17.
cd android
./gradlew clean
# assembleDebug will build a debug APK
./gradlew app:assembleDebug
You will find the APK at logseq/android/app/build/outputs/apk/debug/app-debug.apk
2 Likes