[英]Setting up Android App Icon for the release APK
有人可以幫助我了解如何為發布APK設置應用程序圖標嗎? 我能夠在從android studio運行的APK中進行設置。 但這並沒有反映在APK版本中。
在您的清單中:
<application
android:name=".Main.Services.App"
android:allowBackup="true"
android:icon="@mipmap/yourIcon"
android:label="@string/label"
android:largeHeap="true"
android:roundIcon="@mipmap/yourIcon"
android:theme="@style/AppTheme"
android:allowClearUserData="false"
tools:targetAPI="19"
android:hardwareAccelerated="true">
在Android應用程序中設置應用程序圖標需要對manifest.xml文件進行更改
在應用程序標簽下的清單文件中,使用android:icon =“圖像圖標文件的路徑” Android:roundIcon =“圖像圖標文件的路徑” //最新的android版本需要。 注意:-您必須同時提供兩個圖標,才能使圖標文件在所有android版本上均可見。
右鍵單擊應用程序文件夾>新建>圖像資產>設置圖標。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.