Coder Social home page Coder Social logo

siyuan-android's Introduction

中文

Overview

  • Please go to SiYuan issues to report issues/consult discussions
  • Code contributions are welcome

Get it on F-Droid Get it on Google Play

Construction guide

  1. Refer to SiYuan Development Guide to compile the kernel
  2. Copy the resource files and package it in app/src/main/assets/app.zip
    • appearance
    • guide
    • stage
    • changelogs

Directory structure reference:

project-tree

app.zip

About Multi-Channel Software Distribution

If you are building your program using the Android Studio method of going to 【Build】,【Generate Signed Bundle APK...】, you only need to modify the siyuanVersionName and siyuanVersionCode within the build.gradle file at the project level. After making the changes, you can directly package the app and ignore the following content.

Steps

The following content is only necessary when building via the command line console:

When building using the command line console, you not only need to modify the siyuanVersionName and siyuanVersionCode within the build.gradle file at the project level, but you also need to perform the following steps:

  1. Copy the signings.templates.gradle file and rename it to signings.gradle.

  2. Configure the related information in signings.gradle.

  3. Use the command line to navigate to the root directory of the project and execute the following

    # windows
    .\gradlew clean buildReleaseTask
    # linux
    gradle clean buildReleaseTask

    The naming convention is as follows:

    assemble/bundle  Xiaomi  Debug/Release

    assemble generates APKs bundle generates AABs Xiaomi is the name of the channel package; refer to the productFlavors {} configuration in flavors.gradle for the specified location Debug/Release stands for Test version/Official version

  4. After the execution is complete, you can find the generated program at the following location

    siyuan-android\app\build-release\siyuan-${versionName}-all

siyuan-android's People

Contributors

88250 avatar linsui avatar poussinou avatar soltus avatar wwxiaoqi avatar zuoqiu-yingyi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.