604 questions
0 votes
1 answer
50 views
Accessing files present in assets directory on main thread
Is it ok to access the files present in assets folder on main thread **NOTE: ** The File size is more than 5 mb when searching on web i get to know that accessing files from assets folder is faster so ...
0 votes
0 answers
35 views
ProductFlavors inside Asset-Pack - On-Demand
Currently I have 2 variants. Where each variant i need to associate it with 10 unique asset-pack, which will be downloaded on-demand. So In total i need to define 20 asset-pack. It would be great if i ...
0 votes
1 answer
91 views
The issue with assets folder and Android App Bundle
There is a file docs_database.db inside assets folder in order to call Room.createFromAsset to populate database. The release build is Android App Bundle. The Android Studio explorer shows that file ...
0 votes
0 answers
51 views
How to update cached database with assets .db file when it has been changed?
I'm using Room in Android with a room .db file with preload data in assets. When I compile and install the app in Android Studio emulator with new data (same schema but more or different data on the ...
0 votes
0 answers
78 views
Why is Play Asset Delivery not delivering some files?
My game delivers its data via install-time play asset bundles. It works most of the time but occasionally there will be a file missing. I'm sure that file exists in my source directory so I'm trying ...
0 votes
1 answer
67 views
Android Asset Packs - gradlew wrongly concatenates assets dirs
I have 2 asset packs (long and notlong) I want to dynamically download upon request. For some reason instead of looking at each asset pack dir sepeately, gradle is combining the long and notlong asset ...
0 votes
3 answers
905 views
How to Add Images to Android Studio 2024 Ladybug?
I am trying to add images to my Android app by adding to res->drawable->image asset, but the images are being added. Instead it is adding images as icons and not as background images. How can I ...
0 votes
1 answer
143 views
Cannot resolve log4j configuration in Android
I am trying to implement log4j in android, using v2.24.1 dependencies in gradle: implementation 'org.apache.logging.log4j:log4j-api:2.24.1' implementation 'org.apache.logging.log4j:log4j-core:2.24.1' ...
0 votes
1 answer
130 views
How can I find and access the play store asset package for my Android app?
My Android game has an install-time asset pack with all the graphics in it. This isn't stored stored in my app's primary package so I can't access it with getPackageResourcePath(). Is there some other ...
0 votes
1 answer
113 views
How to copy ALL install-time Play Asset Deliver files to my app's file system on Android?
My Android app is using install-time Play Asset Delivery to deliver all my game's assets. This asset folder is an arbitrary hierarchy of directories that I need to copy verbatim into my app's file ...
-1 votes
1 answer
80 views
Creating database file in application data
I read similar questions and answers, but none working for me. I am trying copying sqlite database from assets folder to application data folder, but this always fail, because target database file is ...
0 votes
1 answer
177 views
Using Sub-Directory within install-time asset delivery in Flutter
I am trying to implement Play Asset Delivery for my Flutter app using package named FlutterPlayAssetDelivery. The basic implementation (of install-time delivery) is done. My folder structure looks ...
2 votes
2 answers
316 views
How to convert .txt asset to ArrayList<String> format in kotlin?
So I have thousands of coordinates that i need to plot and one of the best method i know is by saving the coordinates as .txt in asset folder and then pull it by using val json_string = application....
1 vote
0 answers
176 views
How to Play 'Install-time' Delivery Asset pack Mp3 files in flutter?
Hi I'm a newbie for flutter. Plugin - I'm using this plugin. I'm working on a Flutter project and I'm using Install-time Delivery Asset Packs to manage my assets. I have some MP3 files that are ...
0 votes
0 answers
75 views
Flutter dynamic image choose and load not working. Exception Asset not found
I'm trying to let the user choose an image, copy it to the internal app folder, and then display it back. I'm getting an error Unable to load asset: /data/user/0/com.my.app/app_flutter/IMG-20230923-...