Code Monkey home page Code Monkey logo

Comments (6)

IzzySoft avatar IzzySoft commented on August 27, 2024

@mshdabiola any word?

from notepad.

mshdabiola avatar mshdabiola commented on August 27, 2024

Hello 👋

Yes it was build with the latest tag

from notepad.

mshdabiola avatar mshdabiola commented on August 27, 2024

Where are your having problems

from notepad.

IzzySoft avatar IzzySoft commented on August 27, 2024

Yes it was build with the latest tag

At a clean tree, exactly from that commit, no reuse of artifacts from prior builds (as e.g. Android Studio does it if you do not run "clean project" first)?

Where are your having problems

With the diff :) As long as there's a diff, the two APKs are not identical. I've linked to the details from the initial comment here. Only if those APKs are identical one can be sure the shipped APK corresponds exactly to the code it says to correspond to – which confirms nothing was added, altered or removed.

from notepad.

mshdabiola avatar mshdabiola commented on August 27, 2024

If I get your point right, the APK you reproduce is different from mine?

It will be different because I used my signing key to sign my own apk

from notepad.

IzzySoft avatar IzzySoft commented on August 27, 2024

If I get your point right, the APK you reproduce is different from mine?

Yupp.

It will be different because I used my signing key to sign my own apk

(sigh) have you meanwhile taken a look at behind those links? And at the diff above? Nope, signing is not part of this. Actually, to put it into easy terms, your signing is transferred to my APK at the end of the process – because if the rest would be identical, after adding the same signing my APK should verify. That's how RB works.

So if the Dex has huge differences, that has nothing at all to do with signing, but rather with building. Reasons could be:

  • built from different commits
  • one build is from a "dirty tree" (artifacts from previous builds being reused, and things like that)
  • different configuration. I've built with ./gradlew assembleRelease at the commandline; how did you build? I've asked that before already, but maybe with Android Studio, but not having run clean project before triggering the build? And did you maybe use different parameters? I see a lot of stuff in your build workflow. Is some of that required before running assembleRelease – or don't you even run assembleRelease but something else?

Here's basically what I do:

// remove the call to the signingConfig as we need an UNSIGNED APK:
sed -r '/signingConfigs.getByName/d' -i app/build.gradle.kts
// build the APK
./gradlew assembleRelease

from notepad.

Related Issues (10)

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.