Step 1. Create Unqiue Bundle ID
use reverse domain setup: (remove all capital letters and symbols) CANNOT BE com.Dreamarvel.LKCNHM_AR The app will not able to install, the correct way should be as follows:
com.dreamarvel.lkcnhmar
Step 2. Signed certificate
Export the unity project as android project and open it with android studio, open Build>Generate Signed Bundle (APK)
Select APK in the pop up dialog box
Select Create new …
Select the folder and fill in the details
for this case, sign as release with V2
Next open the unity and input the newly created keystore.
Error faced: The unity cannot install the keystore created.
Solution:
- Rename the keystore file extension from .jks to .keystore, then you can select it from within Unity.
Error faced: Cannot install the apk to mobile after export
Solution:
- Go to play settings, android tab, Under other settings/Configuation/Install Location, set this to "Automatic"
- Make sure the bundle id is correctly setup
Setup Logos
use this site for quick logo generation
https://appicon.co/
Sign up to google play console publisher
https://play.google.com/apps/publish/
New UI for launch App
Upload apk
Issue faced: APKs or App Bundles are available to 64-bit devices but they only have 32-bit native code
Solution
Issue Faced: ARM64 option grey out
the solution as follows:
go to file > build settings
bottom left corner of Build settings > player settings
in the inspector > other settings > scroll down to Configuration > SCRIPTING BACKEND > SWITCH FROM MONO TO IL2CPP > scroll down more > you can now click ARM64
Issue faced: The app does not install on mobile phone
Solution
Check both ARMv7 and ARM64
Issue faced: the version code needs update, already changed the version, but it is not recognised by the playstore
Solution
Change bundle version code too