Android relase prod

when i use this code “ionic build android --release --prod”,it works perfect.

However there is just > android-release-unsigned.apk at my > platforms/generated/outputs/apk

BUT my application name isnot android it is “mydic”

what may be reason of it ?

Lol what is the problem ^^ What has the file name to do with the name of the application? Right, nothing.

The thing is that the name of app at config.xml

<?xml version='1.0' encoding='utf-8'?>
<widget id="com.ionicframework.benimsozluk977026" version="1.0.0" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
    <name>mydic</name>
    <description>A great tool to build your own dictionary and learn</description>

After execute “ionic build android --release --prod” i am expecting the name of app “mydic” at folder “platforms/generated/outputs/apk” . am i right?

Thank you for ur answer

Again, it is just the name of a file and not the name of your application. When you install the .apk the app name is used and not the filename.
I don’t understand your problem.

OK i got it thanks a lot that enlightened me .I got what you meant ! these are totally different issue. The file name doesnt affect app name on Google Play.

Thank you !

1 Like

One more thing. The app-name is also the name the app will have on your Homescreen / App-drawer.
So the name of the app in the PlayStore/AppStore can also be different.
For example I created a realy simple app called: “Cocktail recipes to go”. But the name is to long for the app name on the Homescreen. It would looks like "Cocktail …"
So you can name your app just Cocktail. This will look much better then Al longer name with three dots at the end :slight_smile:

1 Like