Giter Club home page Giter Club logo

Comments (6)

Tougee avatar Tougee commented on June 5, 2024

These libraries can be compiled from
https://github.com/xiph/opus
https://github.com/xiph/ogg
https://github.com/xiph/libopusenc

from android-app.

emanuelb avatar emanuelb commented on June 5, 2024

The problem is that in directory:
https://github.com/MixinNetwork/android-app/tree/master/app/src/main/cpp/opus/lib
There only folders:

arm64-v8a/ armeabi-v7a/ x86/

That contain files:

libogg.a libopus.a libopusenc.a

But no folder x86_64 that also need to contain above files.

Also script to re-create (by compiling) above files is needed, how they was compiled or from where they was downloaded, they can be downloaded from:
https://pkgs.alpinelinux.org/package/edge/community/x86_64/libopusenc-dev
https://pkgs.alpinelinux.org/package/edge/main/x86_64/opus-dev
https://pkgs.alpinelinux.org/package/edge/main/x86_64/libogg-dev
https://pkgs.alpinelinux.org/package/edge/main/x86_64/lz4-static
and also needed the file: ./app/src/main/cpp/rlottie/lib/x86_64/librlottie_internal.a

from android-app.

Tougee avatar Tougee commented on June 5, 2024

@crossle Should we add x86_64 support to the project ?

from android-app.

crossle avatar crossle commented on June 5, 2024

@crossle Should we add x86_64 support to the project ?

It's ok to support x86_64, we publish on google play use app bundle. but the universal apk will be bigger than before.

from android-app.

emanuelb avatar emanuelb commented on June 5, 2024

Workaround for this issue is to run commands before ./gradlew assembleRelease that will build release variant:

keytool -genkey -alias mixin_alias -keystore app/mixin.pfx -storetype PKCS12 -keyalg RSA -keysize 4096 -storepass mixin_alias -keypass mixin_alias -validity 10000 -dname CN=IL; \
printf "\nRELEASE_STORE_FILE=mixin.pfx\nRELEASE_STORE_PASSWORD=mixin_alias\nRELEASE_KEY_PASSWORD=mixin_alias\nRELEASE_KEY_ALIAS=mixin_alias\n" >> gradle.properties;

as the code will build release variant only if RELEASE_STORE_FILE is specified (even when using assembleRelease it's not enough) which use different abiFilters without x86 that cause the build failure in this issue (affect debug variant)

if (project.hasProperty("RELEASE_STORE_FILE")) {
release {
ndk {
abiFilters "armeabi-v7a", "arm64-v8a"
}
debuggable false
jniDebuggable false
shrinkResources true
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.release
}
}

from android-app.

Tougee avatar Tougee commented on June 5, 2024

#3899

from android-app.

Related Issues (20)

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.