question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Versions

  • Python: 3.8.2
  • OS: Win10/WSL/Ubuntu20.04
  • Kivy: 1.11.1
  • Cython: 0.29.17

Description

Building “Hello World” in an empty directory:

buildozer init
buildozer android debug

Results in an apk that is 28MB

p4a 2020.4.29 (NDK 19c, SDK 29, armeapi-v7a ) also gives 28MB p4a 2020.4.29 (NDK 19c, SDK 29, arm64-v8a ) gives 21MB

Not long ago this was 12MB

Is 28MB the new normal?

buildozer.spec

Command:

// REPLACE ME: buildozer command ran? e.g. buildozer android debug

Spec file:

// REPLACE ME: Paste your buildozer.spec file here

Logs

// REPLACE ME: Paste the build ouput containing the error

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
RobertFlattcommented, May 26, 2020

Why didn’t I think of trying develop?! 😉 Minimal app, I get a nice, 13MB or so. Thank you.

-rw-rw-rw- 1 bobf bobf 13555979 May 26 12:49 myapp__arm64-v8a-0.1-arm64-v8a-debug.apk
-rw-rw-rw- 1 bobf bobf 12989887 May 26 12:50 myapp__arm64-v8a-0.1-arm64-v8a-release-unsigned.apk
-rw-rw-rw- 1 bobf bobf 13282813 May 26 13:04 myapp__armeabi-v7a-0.1-armeabi-v7a-debug.apk
-rw-rw-rw- 1 bobf bobf 12937257 May 26 13:03 myapp__armeabi-v7a-0.1-armeabi-v7a-release-unsigned.apk
0reactions
AndreMirascommented, May 26, 2020

I haven’t tried, give it a go on develop and you tell me 😄 The CI build artifact of last develop build is between 18M and 20M, even though the app is not really minimal

Read more comments on GitHub >

github_iconTop Results From Across the Web

Reduce your app size - Android Developers
On this page · Upload your app with Android App Bundles · Understand the APK structure · Reduce resource count and size. Remove...
Read more >
APK size got increased almost double after ... - GitHub
I just migrate RN from 0.61.5 to 0.66.4, and find APK size almost double. There are much more *.so files than 0.61.5. Analyze...
Read more >
APK size increased 35mb when bumping min SDK from 21 to 24
Apparently this change caused our APK size to increase from 65mb to 103mb. From the APK analysis in Android studio, we can see...
Read more >
How your app's APK size impacts install conversion rates
Understanding that APK sizes are growing, we analyzed the effect an APK size has on install conversion rate. We found that smaller APK...
Read more >
How to Reduce APK Size in Android? - GeeksforGeeks
Reuse your code as much as possible instead of repeating the code. Object-Oriented Programming will help you a lot to solve this problem...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found