Comments (4)
The alignment is done when we call the "zipalign" tool which is part of the SDK, so the zip install should not make any difference.
Are you able to check the zip align boundary for the .apk file that was generated?
You can get tips on checking here https://developer.android.com/tools/zipalign
from fyne.
Ok so I figured it out, it is zipaligning properly, but I mistakenly assumed it was zipaligning both the .apk generated by the command and the apk bundled in the aab. And as such during my testing I was not extracting the .apk from the .aab and instead I was just using the generated .apk When the apk told me that it was not zipaligned, I mistakenly assumed that meant that both apks would not be zipaligned.
tldr: .aab is generated and the internal apk is zipaligned properly, but the .apk generated is the apk before zipaligning
from fyne.
Oh, does this mean we are leaving a temporary file lying around? the .apk output should be created by "fyne package" and the .aab is by "fyne release".
A released Android app (.aab) is for upload to Google Play only and should not be tested locally - that is what the package command is for.
from fyne.
It appears to be that way, I only wanted to make sure it worked properly since it was my first time using the command and the last time I attempted to release an android app years ago I struggled with the signing process. Since it gives me both an apk and an aab, I figured it would be fine to test before uploading and that is where I went wrong I guess lol. But yeah I just deleted both files and ran just the release command again and it 100% generates both without deleting the apk after zipaliging and bundling.
from fyne.
Related Issues (20)
- The "tree" disappears in the "split" after a certain time HOT 2
- cmd/fyne: command ”get” is broken with Go 1.22 HOT 14
- How does fyne obtain the device model or serial number of an Android device? HOT 1
- Please add a way to embed the `FyneApp.toml` metadata into the `go build`. HOT 2
- Add default file name extension support to file dialogs HOT 1
- Collections widgets should scroll with Home/End/Page Up/Page Down when focused HOT 10
- Input control highlighting bug for scale = small / large HOT 4
- Race condition during system tray menu refresh
- Can I package fyne app with some static resource? HOT 1
- Android folder in folder doesn't work
- Paste multiline text into a multilineEntry sometimes ignores newlines HOT 8
- Panic on window resize on macOS. HOT 4
- Fyne Program got SIGSEGV signal on changing windows or closing windows, on MacOS with M2 HOT 4
- Building with fyne release does not set Metadata().Release to true HOT 11
- SVGs are drawn weird with `NewThemedResource()` HOT 1
- Label and Slider not aligned in a FormItem HOT 1
- Access icons by names that describe the icon image HOT 5
- NewListWithData too many iterations
- Checkboxes in bound list exhibits odd behavior HOT 9
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 fyne.