I need to have some files in android assets folder, how can I add them using QtCreator/QMake?
相关问题
- How can I create this custom Bottom Navigation on
- QML: Cannot read property 'xxx' of undefin
- Bottom Navigation View gets Shrink Down
- How to make that the snackbar action button be sho
- Listening to outgoing sms not working android
Assuming you have the following structure in your source directory:
Adding the following to foo.pro should deploy the extra_data folder to assets://extra_data (exact path might differ, cannot verify right now) in the APK:
If you are developing the application, then simply copy/paste the files in assets folder.
But if your application is already built and available as .apk file then you cannot modify any of its content.
Copying files to /5.2.0/android_armv7/src/android/java/assets did the trick