After generating signed aab file in Android Studio, some files get size 0 - android-app-bundle

When I generate the aab file, to put in the Google Store. Some MP4 files in the raw folder get size 0.
This only happens when I go to make the signed version.
If I make a normal Bundle (without subscription) it works.
Analyzing de App Bundle
I tried to update the Android Studio or Gradle version. And I was not successful.

Related

Maui: appsettings.json file not copied to device

I am trying to implement an appsettings.json file with my Maui Android app.
I've followed multiple examples of how to get this to work but I think the issue is the json file is not getting copied to the device.
https://montemagno.com/dotnet-maui-appsettings-json-configuration/
I've used Android Studio to browse the Manifest folder on my android device but the file is not there.
I tried creating appsettings.json in the root of the project and also tried in the Resources\Raw.
I tried setting the Build Action to {None, Embedded Resource, Maui Asset, Android Resource}
I've also tried removing "myassembly" in the code below.
var a = Assembly.GetExecutingAssembly();
using var stream = a.GetManifestResourceStream("myassembly.appsettings.json");
var config = new ConfigurationBuilder().AddJsonStream(stream).Build();
builder.Configuration.AddConfiguration(config);
Here's how to reproduce this problem.
I'm using VS2022 17.3.0 Preview 5.0
Create a new .Net Maui App named MauiApp1 for .Net 6.0
Add appsettings.json to the root of the project
Set these properties on appsettings.json:
Build Action to "Embedded Resource"
Copy to Output Directory to "Copy Always"
Debug as either Android Emulator or Physical device
for mine I have Android Emulator - Pixel 5
also Zebra Technologies MC93 Android Scan gun
Wait for the application to deploy. I use Android Studio Device Manager to browse either Emulator or Physical device.
Browse to /data/data/com.companyname.mauiapp1/files/.__override__
look for mauiapp1.appsettings.json -- not found
look for appsettings.json -- not found
shouldn't the file be here??
Any help would be appreciated.
Thanks

Flutter - How can I download an existing PDF in the project to the user's machine?

How can I download an existing file in my project to the user's device?
In my project, there is a PDF file, which must be downloaded to the user's device. I tried to use url_launcher, but the Flutter Web in deploy did not recognize it.

How to publish Angular-Ionic app to play store after completion of coding

I have used the following command and completed my coding part.Those commands are ,
1. npm install -g ionic cordova
2. ionic start myproject sidemenu --type=angular
3. ionic serve
and my project is working fine.
Please guide me how to run Android SDK and publish my app in play store step by step??
Step 1: Sign up
Sign up for an account on the Android Developer Console. Creating an account costs $25.
Step 2: Create a new application
On the Developer Console select the Publish an Android Application option.
Fill out the details: Title, Short Description, Full Description.
Step 3: Prepare multimedia
Screenshots: I used the android emulator to take screenshots of my app.
Hi-res icon: I used the launcher icon. It was an SVG file, so I converted it to PNG using GIMP.
Feature graphic: This is an image that shows up on the top of the app download page in Google Play on mobile phones.
Step 4: Prepare code for release
Remove log statements.
Remove the android:debuggable attribute from your manifest file. I didn’t have to do this because Android Studio automatically sets this attribute based on the kind of APK its building. Neat!
Set the android:versionCode attribute in the manifest tag in manifest.xml. Two important notes: (1) This must be an integer that increases with each release. (2) This number is not displayed to users.
I chose “1”.
Set the android:versionName attribute in the manifest tag in manifest.xml. This string is shown to users and has no other purpose.
I chose “1.0”.
Step 5: Build a release-ready APK
The release-ready APK is different from the debug APK in that it is signed with certificate that is owned by the developer. This is done to ensure that updates to the app come from a verified source, i.e. a developer with access to the private key.
I recommend you follow the instructions here to create a signed APK.
TL;DR? Here are some important take-away points:
Android Studio -> Build -> Generate Signed APK
A Java Keystore (JKS) is a repository of public-private key pairs.
You must sign all APKs with the same key pair.
Losing a key-pair consequences that you will not be able to push updates to your app.
Step 6: Upload APK
Go back to the Developer Console and click on Manage Releases. Then create a Production Release and upload your signed APK.
Google will perform a check on the APK. My app was using an SVG for the launcher icon, which is no-bueno. I had to change it to PNG and recreate the signed APK.
Step 7:
Complete the checklist on the left until all the items have a green checkmark. The console re-evaluates the checklist every time you click Save Draft in the top right.
You are now ready to publish :)
Original post: https://android.jlelse.eu/publishing-an-android-app-da3502c652af
Android guid: https://developer.android.com/studio/publish/

Google play APK - You uploaded an APK that is not zip aligned.

I've created a web-browser using construct 2 application and once i have finished it and had an executable .apk file, i tried to upload it to google play but it always gives me this error, "You uploaded an APK that is not zip aligned. You will need to run a zip align tool on your APK and upload it again."
Could someone tell me how to fix this?
PS: i also have bought eclipse software.
thanks

Where can I find the b4a .apk on my phone after It gets installed?

I wanted to send the file to a friend via Bluetooth tonight but could not seem to find the apk file on the phone file system, but the icon was installed and in my apps?
Any help would be appreciated. Cheers
You do not have access to the install APK files. The APK is available on the desktop under the Objects folder.
If you install an application, the APK file is stored in teh /data/app folder on your system.
You'll need root access to get the apk from there and an file explorer program like root explorer to get there.
You can download an app like app backup and restore to backup this particular application. Download link from play store, https://play.google.com/store/apps/details?id=mobi.infolife.appbackup
Next u can go to backup, select the app and send, or goto the folders and you will see a folder nameed app backup and restore, from there you can copy to pc or still share to anybody