Git Product home page Git Product logo

Comments (8)

konstantinullrich avatar konstantinullrich commented on May 29, 2024

Hey @chongada,

Which build of the static-libs did you choose for this build?

from oxen-wallet.

butkcore-dev avatar butkcore-dev commented on May 29, 2024

Hello @konstantinullrich,

I initially used tag v8.1.5 same error, i used dev branch same error

from oxen-wallet.

konstantinullrich avatar konstantinullrich commented on May 29, 2024

Hey @chongada.

Here is what you gonna do :)

Delete everything in the folder oxen_coin/ios/External/android/oxen except the .gitignore

then run the following in the root dir of the project

./tool/download-android-deps.sh https://oxen.rocks/jagerman/loki/813-release/android-deps-24dd1ee8005394f4a0fe17543f437e1c0297bc58.tar.xz

That downloads the latest android dependencies from jagermans current build and extracts them to the right folder.
The Build instructions of the Oxen Core (Former Loki Core) Android deps aren't up to date anymore. Maybe I can write some docs for that :)

from oxen-wallet.

butkcore-dev avatar butkcore-dev commented on May 29, 2024

@konstantinullrich That would be great, i will be waiting to see the docs. Ok let me try your suggestions

from oxen-wallet.

butkcore-dev avatar butkcore-dev commented on May 29, 2024

hey @konstantinullrich got this

* What went wrong:                                                      
Execution failed for task ':oxen_coin:externalNativeBuildRelease'.      
> Build command failed.                                                 
  Error while executing process /home/aphustine/cmake/3.10.2.4988404/bin/ninja with arguments {-C /home/aphustine/oxen-mobile-wallet/oxen_coin/android/.cxx/cmake/release/arm64-v8a oxen_coin}
  ninja: Entering directory `/home/aphustine/oxen-mobile-wallet/oxen_coin/android/.cxx/cmake/release/arm64-v8a'
  [1/2] Building CXX object CMakeFiles/oxen_coin.dir/jni/oxen_jni.cpp.o 
  FAILED: CMakeFiles/oxen_coin.dir/jni/oxen_jni.cpp.o                   
  /home/aphustine/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ --target=aarch64-none-linux-android21 --gcc-toolchain=/home/aphustine/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64 --sysroot=/home/aphustine/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/sysroot  -Doxen_coin_EXPORTS -I../../../../../ios/External/android/oxen/include -I../../../../wallet_api -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security  -std=c++17 -O0 -fno-limit-debug-info  -fPIC   -std=gnu++1z -MD -MT CMakeFiles/oxen_coin.dir/jni/oxen_jni.cpp.o -MF CMakeFiles/oxen_coin.dir/jni/oxen_jni.cpp.o.d -o CMakeFiles/oxen_coin.dir/jni/oxen_jni.cpp.o -c ../../../../jni/oxen_jni.cpp
  In file included from ../../../../jni/oxen_jni.cpp:3:                 
  ../../../../jni/../../ios/Classes/oxen_api.cpp:487:34: error: no member named 'listCurrentStakes' in 'Wallet::Wallet'
          auto* stakes = m_wallet->listCurrentStakes();                 
                         ~~~~~~~~  ^                                    
  ../../../../jni/../../ios/Classes/oxen_api.cpp:495:35: error: no member named 'listCurrentStakes' in 'Wallet::Wallet'
          auto* _stakes = m_wallet->listCurrentStakes();                
                          ~~~~~~~~  ^                                   
  2 errors generated.                                                   
  ninja: build stopped: subcommand failed.                              
                                                                        
                                                                        
                                                                        
* Try:                                                                  
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
                                                                        
* Get more help at https://help.gradle.org                              
                                                                        
BUILD FAILED in 31s                                                     
Running Gradle task 'assembleRelease'...                                
Running Gradle task 'assembleRelease'... Done                      32.4s
Gradle task assembleRelease failed with exit code 1

from oxen-wallet.

konstantinullrich avatar konstantinullrich commented on May 29, 2024

Sorry my bad Oxen 815 is already out:

./tool/download-android-deps.sh https://oxen.rocks/jagerman/loki/v815/android-deps-43b7ab38661ed48c31f30bc3c879082207af9262.tar.xz

from oxen-wallet.

butkcore-dev avatar butkcore-dev commented on May 29, 2024

@konstantinullrich
built, thanks

Removed unused resources: Binary resource data reduced from 973KB to 935KB: Removed 3%
Removed unused resources: Binary resource data reduced from 973KB to 935KB: Removed 3%
Removed unused resources: Binary resource data reduced from 973KB to 935KB: Removed 3%
Running Gradle task 'assembleRelease'...

Running Gradle task 'assembleRelease'... Done 177.8s (!)
✓ Built build/app/outputs/flutter-apk/app-armeabi-v7a-release.apk (21.0MB).

from oxen-wallet.

konstantinullrich avatar konstantinullrich commented on May 29, 2024

:)

from oxen-wallet.

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.