課程
/移動開發(fā)
/Android
/與Android Studio的第一次親密接觸
請問是沒有加載某個庫嗎?
是在gradle中設(shè)置,還是直接在java文件中import?
2015-09-08
源自:與Android Studio的第一次親密接觸 1-2
正在回答
解決了,對比查看了我的manifest.xml
發(fā)現(xiàn)ic_launcher的路徑在:@mipmap/ic_launcher
android:allowBackup="true"android:icon="@mipmap/ic_launcher"android:label="@string/app_name"android:theme="@style/AppTheme" >
所以在.java中將drawable替換成mipmap就能顯示ic_launcher了
qq_星語_4
TTKatrina 提問者 回復(fù) qq_星語_4
舉報
Google親兒子AndroidStudio即將上位,趕緊學(xué)習(xí)安裝配置、使用技巧
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網(wǎng)安備11010802030151號
購課補貼聯(lián)系客服咨詢優(yōu)惠詳情
慕課網(wǎng)APP您的移動學(xué)習(xí)伙伴
掃描二維碼關(guān)注慕課網(wǎng)微信公眾號
2015-09-08
解決了,對比查看了我的manifest.xml
發(fā)現(xiàn)ic_launcher的路徑在:@mipmap/ic_launcher
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
所以在.java中將drawable替換成mipmap就能顯示ic_launcher了