Comments (9)
Thank you for reporting this issue.
Bundletool uses temporary files to store intermediate results, so it is possible that the OS performed a clean-up during bundletool execution. Is this a persistent issue or a one-off? Is the system possibly low on disk space?
from bundletool.
This happens 100% of the time
from bundletool.
I believe the issue is that the directory /home/yperess/workspace/myapp/build/outputs/apk/release/
does not exist, so bundletool
is unable to write the file there.
Could you confirm?
from bundletool.
In the lack of follow up, I'll close the issue. Feel free to reopen if it this wasn't what I suggested.
from bundletool.
I believe the issue is that the directory
/home/yperess/workspace/myapp/build/outputs/apk/release/
does not exist, sobundletool
is unable to write the file there.
Could you confirm?
@plecesne I had the same issue reported by @yperess.
I just want to confirm that fixing the path in the --output
flag made the command to compile and my .apks
has been generated.
My mistake was thinking that writing an unexisting folder in the --output
flag would automatically create that folder for me.
from bundletool.
Note that this will be fixed in next version of bundletool.
from bundletool.
Sorry for reviving an old issue - @plecesne could you please confirm that this has indeed been fixed? It seems I'm having the same problem right now with version 1.2.0.
Bundletool failed on our CI but was working fine for me locally, and the only difference I see between the two is that the parent folder doesn't exist yet on CI.
from bundletool.
Yes, it should be fixed already and if output directory doesn't exist you should see in logs the following message "Output directory ... does not exist, creating it."
from bundletool.
@ymakhno thanks a lot! You made me realise that I'm hijacking the wrong issue here. Bundletool failed for me when creating the aab, not when building the apks. :(
from bundletool.
Related Issues (20)
- Unable to sign apk HOT 2
- Unable to sign APK due to FileAlreadyExistsException HOT 5
- com.android.tools.build.bundletool.model.exceptions.InvalidBundleException: Invalid dex file indices, expecting file 'classes?.dex' but found 'classes2.dex'. HOT 2
- Does it make the opposite? HOT 1
- the aab upload to Google Play, size counting issue HOT 1
- Error: Module 'base' is missing mandatory file 'manifest/AndroidManifest.xml'. HOT 2
- How does `bundletool build-apks` generate the versionCode for the APKs? HOT 3
- Returns immediately on command line without any info
- Size differs between bundletool and apkanalyzer.
- Unable to install dynamic feature modules with max sdk in manifest
- Set splittypes
- Please ignore
- Option NOT To Sign The APK Even If Debug Keystore Is Present
- Bundletool Package using 2 versions of AAPT2 Proto
- bundletool leaves 100s of KB of META-INF metadata in output APKs
- Bundletool does not recognize `android:installLocation="0"` HOT 1
- Installation of the app failed
- Split assets folder by device ABI
- Inject config into .aab, repack, resign not working HOT 1
- bundletool not properly aligning wrap.sh file
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 bundletool.