• How to change Android icon log in android Studio

    After working and searching for hours and you can't get the solution you are looking for. You are welcome to the home of Android Developer. If you have being using Android Studio for writing Java apps, Java codes is everything sensitive raging from capital letters, punctuation errors, misspelled of words and plugin updates.

    Android Studio comes up with new updates always which depreciated the older once. A code you write today, use it and develop an app may be outdated and depreciated tomorrow. If you copy somebody's code or forked a code from github, there are chances that the code which worked earlier won't work again unless you do serious editing.

    Go to AndroidManifest.xml

    <?xml version="1.0" encoding="utf-8"?><manifest xmlns:android="http://schemas.android.com/apk/res/android"    package="com.techmax.obesity">
        <uses-permission android:name="android.permission.INTERNET"/>
        <application        android:allowBackup="true"        android:icon="@mipmap/ic_launcher"        android:label="@string/app_name"
    android:icon="@mipmap/ic_round_launcher"
    android:supportsRtl="true" android:theme="@style/AppTheme"> <activity android:name=".MainActivity" android:screenOrientation="portrait"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <action android:name="android.intent.action.VIEW"/> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> </application> </manifest>


    In the tag, look for android:icon tag.


    Copy and paste your icon in drawable folder(available in res folder of your project).


    Set the value of android:icon tag as

    android:icon="@drawable/youriconname"

    Voila! you are done. Save the changes and test.


    Try this process, this may help you.
    Create PNG image file of size 512x512 pixels
    In menu, go to File -> New -> Image Asset
    Select Image option in Asset type options
  • 0 Comments:

    Post a comment

    GET A FREE QUOTE NOW

    Kindly reach us through our numerous social media, emails address, phone numbers and others

    ADDRESS

    4759, NY 10011 Abia Martin Drive, Huston

    TELEPHONE

    +234 8141 3061 20
    +501 478 9800

    MOBILE

    0177 7536213 44,
    017 775362 13