Comments (2)
It seems that apt package fakeroot
is required together with binutils
to build linux images. Therefore for anybody reading this:
sudo apt install -y binutils fakeroot
If you're also building .Dmg
, .Msi
and .AppImage
, update the targetFormats
to the following:
if (System.getProperty("os.name").toLowerCase().contains("linux"))
targetFormats(TargetFormat.AppImage)
else
targetFormats(TargetFormat.Dmg, TargetFormat.Msi)
Otherwise builds will fail on macOS in the current state (#3814)
Update toolchain to at-least JDK21, as JDK17 seems to have broken jpackage for whatever reason.
kotlin {
jvmToolchain {
languageVersion.set(JavaLanguageVersion.of(21))
}
}
If you're also building with proguard, JDK18 is the latest with support by default, so you need to update the proguard as well:
buildTypes.release.proguard {
version.set("7.4.0") // at least 7.4 is required, check https://www.guardsquare.com/manual/releasenotes for newer versions
}
from compose-multiplatform.
Reproduced this issue with ubuntu 20.04 + openJdk 17 (also with coretto jdk 17)
With arch 6.2 + openJdk 17 "packageReleaseDistributionForCurrentOS" works as expected
from compose-multiplatform.
Related Issues (20)
- Reduce ios app size. HOT 5
- [Web] Uncaught runtime error in Material3 DatePicker (DisplayMode.Input) when enter incorrect date
- 1.6.10 has broken the screenWidth calculation HOT 4
- CAMetalLayer ignoring invalid setDrawableSize error HOT 2
- [Resources] Any plan on supporting nine-patch drawable?
- Support arbitrary string resource ID
- Need "Start after install complete" option in configuration of windows installer HOT 2
- Font is not updated to the new font resource
- Binaryen error on Windows machine HOT 5
- Cannot change attributes of configuration ':composeApp:debugFrameworkIosX64' after it has been locked for mutation HOT 1
- Desktop. Native distribution. `intallationPath` doesn't work if `dirChooser` = false
- Reduce variety of Preview annotations HOT 3
- Being able to create a ComposePanel with vsync disabled
- Need to tap the touchpad thrice for double click action when using combined clickable. However, Button clicks are only required to clicked twice. HOT 2
- ImageVector is blurry when used with `Image()` + `Modifier.scale()` HOT 2
- [Compose Resources] commonMainResourceAccessors is not generated in multi-module architecture using Kotlin 2.0.0 HOT 4
- `Dialogs` are not rendered as expected when used inside a `ImageComposeScene`
- Unable to compile kotlinjs
- "No such file or directory" when using `Res.getUri()` HOT 3
- FocusRequester is not working on web both js(IR) and WASM the same as in JVM
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from compose-multiplatform.