Giter Club home page Giter Club logo

Comments (9)

sisong avatar sisong commented on June 12, 2024 1

yes
call once

from apkdiffpatch.

sisong avatar sisong commented on June 12, 2024

you changed class ApkPatch sourceCode's path?
class ApkPatch must in package com.github.sisong;

from apkdiffpatch.

hamid97m avatar hamid97m commented on June 12, 2024

No I didn't changed anything, I just put the .so files in my project from this releaes and then call

System.loadLibrary("apkpatch")

The client is Android-xiaomi with android 12

from apkdiffpatch.

sisong avatar sisong commented on June 12, 2024

I have an xiaomi android 12 phone; I download and retest it on this phone, all it's ok.

from apkdiffpatch.

hamid97m avatar hamid97m commented on June 12, 2024

Could you please share the sample project?

from apkdiffpatch.

sisong avatar sisong commented on June 12, 2024

try add file "ApkPatch.java" to path: <project>\app\src\main\java\com\github\sisong\ApkPatch.java
and add so files (you needed):

  • such as "arm64-v8a\libapkpatch.so" to path: <project>\app\src\main\jniLibs\arm64-v8a\libapkpatch.so
  • or "armeabi-v7a\libapkpatch.so" to path: <project>\app\src\main\jniLibs\armeabi-v7a\libapkpatch.so
  • ...

from apkdiffpatch.

hamid97m avatar hamid97m commented on June 12, 2024

Did you call System.loadLibrary("apkpatch") ?

from apkdiffpatch.

sisong avatar sisong commented on June 12, 2024

why dlopen failed?

from apkdiffpatch.

hamid97m avatar hamid97m commented on June 12, 2024

I just test in a new project and everything worked! so I trying to find out the problem with my project.
Thank you.

from apkdiffpatch.

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.