Android Question Change Project Attributes

invocker

Active Member
Hi:
I use the same method Hier

Edit&Build Apk


How can I change red Project Attributes?
#ApplicationLabel: B4A Test
#VersionCode: 1
#VersionName: 1.0.0.1
#CanInstallToExternalStorage: False

Thank's
 

JohnDovey

New Member
How can I change red Project Attributes?
#ApplicationLabel: B4A Test
#VersionCode: 1
#VersionName: 1.0.0.1
#CanInstallToExternalStorage: False
Hi,
I had the same question, and after much scratching around I found this solution :
- Close the project
- open the source file (<projectName>.b4a) in the project directory in a text editior like Notepad++
- Make the changes you want there then save and close the file
- Open the project again in the IDE
- Compile and Run and you will see that the <projectname>\Objects\AndroidManifest.xml has been regenerated with the changed information.

Hope that helps someone else.
John
 
Upvote 0

JohnDovey

New Member
Hi,
I had the same question, and after much scratching around I found this solution :
Turns out I was too quick with this. There is a much simpler way.. The settings are in the main file when the project is open, just close in #REGION tags which is why I didn't spot them :)

1624663309816.png
 
Upvote 0
Top