Git Product home page Git Product logo

Comments (9)

ShiftHackZ avatar ShiftHackZ commented on May 21, 2024

Hi, the version 0.4.11 implemented:

  • Clipboard functionality for Gallery Detail Screen
  • Fix @Composable, @Preview annotations for Gallery Detail Screen (there were some stubs/mocks missing for UI states)

Also I updated some docs in readme, but it should not impact the build.

The diff between 2 tags: 0.4.10...0.4.11

from stable-diffusion-android.

linsui avatar linsui commented on May 21, 2024

The code change looks small. Is the build environment changed?

from stable-diffusion-android.

ShiftHackZ avatar ShiftHackZ commented on May 21, 2024

Currently I only use ThinkPad laptop with Ubuntu 23.04 and Android Studio installed as snap-package. I remember there were some minor system/packages updates from Ubuntu team, but not for Android Studio snap.
Is it worth trying checkout tag 0.4.11, re-build the apk from scratch and re-upload it to the existing github release? Or could you please advice, are there any other common reasons for problems like this, so I can check ?

from stable-diffusion-android.

linsui avatar linsui commented on May 21, 2024

The most important part is the jdk version. AS may uses a different jdk. Could you please rebuild it with gradle assemble with openjdk 17? You can upload it here so that I can check if it's reproducible. You can also check that with diffoscope. Our build can be found at https://gitlab.com/linsui/fdroiddata/-/jobs/4769604895/artifacts/file/tmp/com.shifthackz.aisdv1.app.foss_158.apk.

from stable-diffusion-android.

ShiftHackZ avatar ShiftHackZ commented on May 21, 2024

I tried JDK installation commands from metadata.yml file, to try make the environment identical.

Here is a command-sequence used to produce the build:

sudo apt-get install -y openjdk-17-jdk-headless
update-alternatives --auto java
cd Develop/Stable-Diffusion-Android
git fetch 
git checkout tags/0.4.11
chmod +x ./gradlew
./gradlew assembleFossRelease

Output for java --version:

shifthackz@shz-thinkpad-ubnt:~$ java --version
openjdk 17.0.7 2023-04-18
OpenJDK Runtime Environment (build 17.0.7+7-Ubuntu-0ubuntu123.04)
OpenJDK 64-Bit Server VM (build 17.0.7+7-Ubuntu-0ubuntu123.04, mixed mode, sharing)

Build logs:

> Task :data:compileReleaseKotlin
w: file:///home/shifthackz/Develop/Stable-Diffusion-Android/data/src/main/java/com/shifthackz/aisdv1/data/gateway/mediastore/MediaStoreGatewayFactory.kt:20:16 'MediaStoreGatewayOldImpl' is deprecated. Deprecated since Android 12, it is here to support old devices.

> Task :app:compileFossReleaseArtProfile
Sorting /home/shifthackz/Develop/Stable-Diffusion-Android/app/build/intermediates/binary_art_profile_metadata/fossRelease/baseline.profm ...

BUILD SUCCESSFUL in 56s
480 actionable tasks: 264 executed, 216 up-to-date

I compressed apk to zip archive, because github does not allow upload apk extension: sdai-foss-release-0.4.11.zip

from stable-diffusion-android.

linsui avatar linsui commented on May 21, 2024

All files in the apk are identical now but the metadata is different. @obfusk Could you please take a look?

from stable-diffusion-android.

obfusk avatar obfusk commented on May 21, 2024

All files in the apk are identical now but the metadata is different. @obfusk Could you please take a look?

Because one of them is signed (v2 only, so no v1 signature files). It's RB now:

$ apksigcopier compare sdai-foss-release-0.4.11.apk --unsigned com.shifthackz.aisdv1.app.foss_158.apk &&
echo OK
OK

from stable-diffusion-android.

linsui avatar linsui commented on May 21, 2024

Ah, I make a mistake when I checked it with apksigcopier copy...

from stable-diffusion-android.

linsui avatar linsui commented on May 21, 2024

Thanks!

from stable-diffusion-android.

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.