{"id":125,"date":"2025-05-20T04:46:59","date_gmt":"2025-05-20T04:46:59","guid":{"rendered":"https:\/\/documentation.iqonic.design\/frezka\/?p=125"},"modified":"2025-06-10T05:23:52","modified_gmt":"2025-06-10T05:23:52","slug":"android-configuration","status":"publish","type":"post","link":"https:\/\/documentation.iqonic.design\/frezka\/android-configuration\/","title":{"rendered":"Android Configuration"},"content":{"rendered":"<div class=\"nolwrap\">\n<p>Setting up Android for your Frezka Project<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Open Android Module<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The Android module can be accessed in&nbsp;<strong>Two ways<\/strong>:<\/li>\n<\/ul>\n\n\n\n<p>1. Select the&nbsp;<strong>Android Module<\/strong>&nbsp;from the same project you&#8217;re attempting to open by going to&nbsp;<strong>File -&gt; Open<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1588\" height=\"819\" src=\"https:\/\/documentation.iqonic.design\/frezka\/wp-content\/uploads\/sites\/13\/2025\/05\/Android_Configuration1.png\" alt=\"\" class=\"wp-image-518\" \/><\/figure>\n\n\n\n<p>2. Navigate to&nbsp;<strong>Tools -&gt; Flutter -&gt; Android Studio -&gt; Open Android Module<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1536\" height=\"864\" src=\"https:\/\/documentation.iqonic.design\/frezka\/wp-content\/uploads\/sites\/13\/2025\/05\/Android_Configuration2.png\" alt=\"\" class=\"wp-image-519\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Change The Application Id<\/strong><\/h2>\n\n\n\n<p><strong>IMPORTANT<\/strong><\/p>\n\n\n\n<p>Every Android app has a unique application ID that looks like a Java package name, such as com.example.myapp. This ID uniquely identifies your app on the<\/p>\n\n\n\n<p>device and in the Google Play Store. Once you publish your app, you should never change the Application ID.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>For Application ID, change the&nbsp;<code>applicationId<\/code>&nbsp;in the&nbsp;<code>build.gradle<\/code>&nbsp;file at the app level.<\/li>\n\n\n\n<li>Locate the&nbsp;<code>build.gradle<\/code>&nbsp;file at this path:&nbsp;<code>android\/app\/build.gradle<\/code>.<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-preformatted\">defaultConfig {<br>    applicationId \"YOUR_PACKAGE_NAME\"<br>    minSdkVersion 21<br>    targetSdkVersion 31<br>    versionCode 1<br>    versionName \"1.0\"<br>    testInstrumentationRunner \"android.support.test.runner.AndroidJUnitRunner\"<br>}<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Change The Version Name<\/strong><\/h2>\n\n\n\n<p><strong>IMPORTANT<\/strong><\/p>\n\n\n\n<p>The version name is a string value that represents the &#8220;friendly&#8221; version name displayed to the users. The version name is displayed to the user.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>For Version Name, change the&nbsp;<code>versionName<\/code>&nbsp;in the&nbsp;<code>build.gradle<\/code>&nbsp;file at the app level.<\/li>\n\n\n\n<li>Locate the&nbsp;<code>build.gradle<\/code>&nbsp;file at this path:&nbsp;<code>android\/app\/build.gradle<\/code>.<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-preformatted\">defaultConfig {<br>    applicationId \"com.iqonic.example\"<br>    minSdkVersion 21<br>    targetSdkVersion 31<br>    versionCode 1<br>    versionName \"CHANGE_THE_VERSION_NAME\"<br>    testInstrumentationRunner \"android.support.test.runner.AndroidJUnitRunner\"<br>}<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Change The Version Code<\/strong><\/h2>\n\n\n\n<p><strong>IMPORTANT<\/strong><\/p>\n\n\n\n<p>The version code is an incremental integer value that represents the version of the application code. The version code is used by the Google Play Store for<\/p>\n\n\n\n<p>new updates. If you increase the version code, the update will be visible to all users.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>For Version Code, change the&nbsp;<code>versionCode<\/code>&nbsp;in the&nbsp;<code>build.gradle<\/code>&nbsp;file at the app level.<\/li>\n\n\n\n<li>Locate the&nbsp;<code>build.gradle<\/code>&nbsp;file at this path:&nbsp;<code>android\/app\/build.gradle<\/code>.<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-preformatted\">defaultConfig {<br>    applicationId \"com.iqonic.example\"<br>    minSdkVersion 21<br>    targetSdkVersion 31<br>    versionCode \"CHANGE_THE_VERSION_CODE\"<br>    versionName \"1.0.0\"<br>    testInstrumentationRunner \"android.support.test.runner.AndroidJUnitRunner\"<br>}<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Change The App Name From Manifest File<\/strong><\/h2>\n\n\n\n<p><strong>IMPORTANT<\/strong><\/p>\n\n\n\n<p>To change the name of your Android application in Android Studio, you have to change the value of the property&nbsp;<code>android:label<\/code>&nbsp;defined inside the&nbsp;<code>&lt;application&gt;<\/code>&nbsp;node in&nbsp;<code>AndroidManifest.xml<\/code>.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">&lt;application<br>    android:label=\"YOUR_APP_NAME\"&gt;<br>&lt;\/application&gt;<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Change The App Icon<\/strong><\/h2>\n\n\n\n<p><strong>IMPORTANT<\/strong><\/p>\n\n\n\n<p>Android Studio includes a tool called Image Asset Studio that helps you generate your own app icons from material icons, custom images, and text strings. It generates a set of icons at the appropriate resolution for each pixel density that your app supports. Image Asset Studio places the newly generated icons in density-specific folders under the res\/ directory in your project. At runtime, Android uses the appropriate resource based on the screen density of the device your app is running on.<\/p>\n\n\n\n<p>Image Asset Studio helps you generate the following icon types:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/developer.android.com\/studio\/write\/create-app-icons#create-adaptive\" target=\"_blank\" rel=\"noreferrer noopener\">Launcher icons Adaptive &amp; Legacy<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/developer.android.com\/studio\/write\/create-app-icons#create-legacy\" target=\"_blank\" rel=\"noreferrer noopener\">Legacy Launcher Icon<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/developer.android.com\/studio\/write\/create-app-icons#create-actionbartab\" target=\"_blank\" rel=\"noreferrer noopener\">Action bar and Tab Icons<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/developer.android.com\/studio\/write\/create-app-icons#create-notification\" target=\"_blank\" rel=\"noreferrer noopener\">Notification icons<\/a><\/li>\n\n\n\n<li>Tv Banner<\/li>\n\n\n\n<li>Tv Channel Icon<\/li>\n<\/ul>\n\n\n\n<p>For More Details You can checkout&nbsp;<a href=\"https:\/\/developer.android.com\/studio\/write\/create-app-icons\" target=\"_blank\" rel=\"noreferrer noopener\">Android Studio Editor<\/a>&nbsp;Guide for creating Android Icons.<\/p>\n\n\n\n<p><strong>Generate Icon Process<a href=\"https:\/\/apps.iqonic.design\/documentation\/frezka-doc\/build\/docs\/getting-started\/app\/Configuration\/android#generate-icon-process\" target=\"_blank\" rel=\"noopener\">\u200b<\/a><\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Configure Image Asset\n<ul class=\"wp-block-list\">\n<li>Choose Icon type<\/li>\n\n\n\n<li>Set Icon Name<\/li>\n\n\n\n<li>Choose Asset Type<\/li>\n\n\n\n<li>Customize Icon (Resize , Trim , Padding)<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Confirm Icon Path\n<ul class=\"wp-block-list\">\n<li>Choose Mode for Icon<\/li>\n\n\n\n<li>Finish<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<p><strong>Generate App Launcher Icon<\/strong><\/p>\n\n\n\n<p><strong>Method 1 : Use Android Studio To Generate Launcher Icons<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Go to&nbsp;<code>android\/app\/src\/main\/res<\/code>&nbsp;folder.<\/li>\n\n\n\n<li>Right-click on the&nbsp;<code>res<\/code>&nbsp;folder and select&nbsp;<code>New \u2192 Image Asset<\/code>.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"544\" src=\"https:\/\/documentation.iqonic.design\/frezka\/wp-content\/uploads\/sites\/13\/2025\/05\/Android_Configuration3.png\" alt=\"\" class=\"wp-image-520\" \/><\/figure>\n\n\n\n<p><strong>INFO<\/strong><\/p>\n\n\n\n<p>Foreground Layer : The foreground layer is the primary part of the icon that contains the main visual elements. It&#8217;s the layer that the user selects the source asset for, which can be an image, clip art or text.<\/p>\n\n\n\n<p>Background Layer : The background layer is the area behind the foreground layer. It can be used to add a background color or image element to the icon. If you don&#8217;t want green background for laucher Icon then set background layer suitable to your Launcher Icon.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"720\" src=\"https:\/\/documentation.iqonic.design\/frezka\/wp-content\/uploads\/sites\/13\/2025\/05\/Android_Configuration4.png\" alt=\"\" class=\"wp-image-521\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Choose Icon Type<\/li>\n\n\n\n<li>Select the path of your Image and press Next.<\/li>\n\n\n\n<li>Select App mode for app Icon.<\/li>\n\n\n\n<li>Then Press Finish.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"719\" src=\"https:\/\/documentation.iqonic.design\/frezka\/wp-content\/uploads\/sites\/13\/2025\/05\/Android_Configuration5.png\" alt=\"\" class=\"wp-image-522\" \/><\/figure>\n\n\n\n<p><strong>Method 2 : Generate Online<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/icon.kitchen\/i\/H4sIAAAAAAAAA6tWKkvMKU0tVrKqVkpJLMoOyUjNTVWyKikqTa3VUcrNTynNAUlGKyXmpRTlZ6Yo6Shl5hcDyfLUJKXYWgA19PHYPwAAAA%3D%3D\" target=\"_blank\" rel=\"noreferrer noopener\">Icon Kitchen<\/a><\/li>\n<\/ul>\n\n\n\n<p>The basic process of this website is &#8211;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Choose Asset type<\/li>\n\n\n\n<li>Basic Configuration<\/li>\n\n\n\n<li>Choose Device Type<\/li>\n\n\n\n<li>Generate and Get the Zip<\/li>\n\n\n\n<li>After extracting zip you get res folder replace it with your android\/app\/src\/main \u2013 res folder<\/li>\n<\/ul>\n\n\n\n<p><strong>Generate Notification Icon<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Choose Icon Type<\/li>\n\n\n\n<li>Select the path of your Image and press Next.<\/li>\n\n\n\n<li>Select App mode for app Icon.<\/li>\n\n\n\n<li>Then Press Finish.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"719\" src=\"https:\/\/documentation.iqonic.design\/frezka\/wp-content\/uploads\/sites\/13\/2025\/05\/Android_Configuration6.png\" alt=\"\" class=\"wp-image-523\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"719\" src=\"https:\/\/documentation.iqonic.design\/frezka\/wp-content\/uploads\/sites\/13\/2025\/05\/Android_Configuration7.png\" alt=\"\" class=\"wp-image-524\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Update notification icon name in Androidmanifest.xml<a href=\"https:\/\/apps.iqonic.design\/documentation\/frezka-doc\/build\/docs\/getting-started\/app\/Configuration\/android#update-notification-icon-name-in-androidmanifestxml\" target=\"_blank\" rel=\"noopener\">\u200b<\/a><\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Navigate to&nbsp;<strong>android\/app\/src\/main<\/strong>.<\/li>\n\n\n\n<li>Open your Androidmanifest.xml and check for lines below. If not exist just add this line otherwise paste the ame of icon you just created into \u201candroid:resource\u201c.<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-preformatted\">&lt;meta-data<br>    android:name=\"com.google.firebase.messaging.default_notification_icon\"<br>    android:resource=\"@drawable\/ic_stat_notification\" \/&gt;<\/pre>\n\n\n\n<p><strong>INFO<\/strong><\/p>\n\n\n\n<p>Update notification icon name into&nbsp;<strong>&#8220;lib \u2192 utils \u2192 firebase_messaging_utils.dart&#8221;<\/strong>&nbsp;Follow the Steps mentioned in&nbsp;<a href=\"https:\/\/documentation.iqonic.design\/frezka\/configurations-customization\/flutter-configuration\">Flutter Configuration<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Add Google JSON File<\/strong><\/h2>\n\n\n\n<p><strong>IMPORTANT<\/strong><\/p>\n\n\n\n<p>As part of enabling Google APIs or Firebase services in your Android application, you need to set up Firebase and download the Google JSON file.<\/p>\n\n\n\n<p><a href=\"https:\/\/firebase.google.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">Click Here<\/a>&nbsp;to set up Firebase and download the Google JSON file.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Generate Signed APK<\/strong><\/h2>\n\n\n\n<p>To generate a signed APK (Android Package), follow these steps:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Open the&nbsp;<strong>build<\/strong>&nbsp;menu and Select&nbsp;<strong>Generate Signed Bundle\/APK<\/strong>.<\/li>\n\n\n\n<li>Choose&nbsp;<strong>APK<\/strong>&nbsp;and click&nbsp;<strong>Next<\/strong>.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1536\" height=\"864\" src=\"https:\/\/documentation.iqonic.design\/frezka\/wp-content\/uploads\/sites\/13\/2025\/05\/Android_Configuration8.png\" alt=\"\" class=\"wp-image-525\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1536\" height=\"768\" src=\"https:\/\/documentation.iqonic.design\/frezka\/wp-content\/uploads\/sites\/13\/2025\/05\/Android_Configuration9.png\" alt=\"\" class=\"wp-image-526\" \/><\/figure>\n\n\n\n<p>3. Now you will have two options create a new Keystore or choose existing keystore.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>If you don&#8217;t have jks file then follow the steps mentioned in document&nbsp;<a href=\"https:\/\/documentation.iqonic.design\/frezka\/app-faqs\/how-to-generate-new-jks-keystore\">here<\/a><\/li>\n<\/ul>\n\n\n\n<p>If you choose to use an existing keystore, simply select it.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1536\" height=\"768\" src=\"https:\/\/documentation.iqonic.design\/frezka\/wp-content\/uploads\/sites\/13\/2025\/05\/Android_Configuration10.png\" alt=\"\" class=\"wp-image-527\" \/><\/figure>\n\n\n\n<p>After selecting your keystore or creating a new one, click&nbsp;<strong>Next<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1536\" height=\"768\" src=\"https:\/\/documentation.iqonic.design\/frezka\/wp-content\/uploads\/sites\/13\/2025\/05\/Android_Configuration11.png\" alt=\"\" class=\"wp-image-528\" \/><\/figure>\n\n\n\n<p>Choose the release mode and proceed with building the APK.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1536\" height=\"768\" src=\"https:\/\/documentation.iqonic.design\/frezka\/wp-content\/uploads\/sites\/13\/2025\/05\/Android_Configuration12.png\" alt=\"\" class=\"wp-image-529\" \/><\/figure>\n\n\n\n<p><strong>NOTE:<\/strong><\/p>\n\n\n\n<p>If you intend to publish your app on the Google Play Store, you will need the AAB (Android App Bundle) format. To create an AAB, follow the same steps mentioned above, but in step 2, select the AAB option instead of APK.<\/p>\n\n\n\n<p><strong>SUCCESSFUL !!<\/strong><\/p>\n\n\n\n<p><strong>Great! You have successfully configured the Android Module!<\/strong><\/p>\n\n\n\n<p><\/p>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>Setting up Android for your Frezka Project Open Android Module 1. Select the&nbsp;Android Module&nbsp;from the same project you&#8217;re attempting to open by going to&nbsp;File -&gt; Open. 2. Navigate to&nbsp;Tools -&gt; Flutter -&gt; Android Studio -&gt; Open Android Module. Change The Application Id IMPORTANT Every Android app has a unique application ID that looks like a [&hellip;]<\/p>\n","protected":false},"author":11,"featured_media":0,"parent":117,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-125","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"featured_image_src":null,"author_info":{"display_name":"laraveladminiq","author_link":"https:\/\/documentation.iqonic.design\/frezka\/author\/laraveladminiq\/"},"children":[],"_links":{"self":[{"href":"https:\/\/documentation.iqonic.design\/frezka\/wp-json\/wp\/v2\/posts\/125","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/documentation.iqonic.design\/frezka\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/documentation.iqonic.design\/frezka\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/documentation.iqonic.design\/frezka\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/documentation.iqonic.design\/frezka\/wp-json\/wp\/v2\/comments?post=125"}],"version-history":[{"count":8,"href":"https:\/\/documentation.iqonic.design\/frezka\/wp-json\/wp\/v2\/posts\/125\/revisions"}],"predecessor-version":[{"id":996,"href":"https:\/\/documentation.iqonic.design\/frezka\/wp-json\/wp\/v2\/posts\/125\/revisions\/996"}],"up":[{"embeddable":true,"href":"https:\/\/documentation.iqonic.design\/frezka\/wp-json\/wp\/v2\/posts\/117"}],"wp:attachment":[{"href":"https:\/\/documentation.iqonic.design\/frezka\/wp-json\/wp\/v2\/media?parent=125"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/documentation.iqonic.design\/frezka\/wp-json\/wp\/v2\/categories?post=125"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/documentation.iqonic.design\/frezka\/wp-json\/wp\/v2\/tags?post=125"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}