Hi Mikael,
Can you try the steps below please?
STEPS:
1. launch android studio
2. select import project
3. navigate to the \\MaximoAnywhere\apps\app_name\android\native
4. Rename package to New_app_name as per YouTube video https://www.youtube.com/watch?v=x0UAuJno8Gw
NOTE: do not modify the build.gradle file
5. change the version to something else in AndroidManifest.xml
android:versionCode="12" android:versionName="9.0" package="com.ibm.iot.maximoanywhere.New_app_name">
change the android version to 9.0 in application-descriptor.xml
6. run build all command
------------------------------
May On
Tech Support
IBM
------------------------------
Original Message:
Sent: Mon March 08, 2021 02:35 PM
From: mikael simonsson
Subject: How to build a custom apk with a own packagename?
To be able to upload a custom android apk to google customer store a unic name needs to be set on the application.
I have tried to change the packageName in application-descriptor.xml to below but after build the application is still using default packagename.
<packageName>com.xxxxx.maximoanywhere.workexecution</packageName>
How can I build a custom apk with a custom packageName?
------------------------------
mikael simonsson
Architect
IBM
Stockholm
------------------------------
#Maximo
#MaximoAnywhere
#AssetandFacilitiesManagement