此方法执行make clean 后,再次make 完毕,只需要make snod即可(有时make后,out\target\product\generic\system\app没有需要添加的apk,此时再make一次即可,速度很快)。
另外,当前项目的default screen在
/home/ldl/spreadtrum_6820/s8/packages/apps/Prebuilt_apps/initial_desktop_layout.xml里面设置,默认screen设置 <defaultscreen launcher:screen="2"/>
<!-- "1" to turn configuration on, "0" to turn it off, default is off -->
<screenconfig launcher:workspaceloop="1" launcher:allappsloop="1" launcher:wallpaperscroll="1" launcher:tipdisplay="1" launcher:fontsize="12" launcher:flipdistance="0.5" launcher:verticalmenu="1" launcher:icstyle="0"/>
initial_sidebar_layout.xml配置左侧边栏的APP
<apps><app launcher:id="1" launcher:action="" launcher:type="" launcher:pkgname="com.android.mms" launcher:clsname="com.android.mms.ui.ConversationList" launcher:drawable="">
</app><app launcher:id="2" launcher:action="" launcher:type="" launcher:pkgname="com.cooliris.media" launcher:clsname="com.cooliris.media.Gallery" launcher:drawable="">
</app><app launcher:id="3" launcher:action="" launcher:type="" launcher:pkgname="com.estrongs.android.pop" launcher:clsname="com.estrongs.android.pop.view.FileExplorerActivity" launcher:drawable="">
</app><app launcher:id="4" launcher:action="" launcher:type="" launcher:pkgname="com.Sam.chatOn" launcher:clsname="com.Sam.chatOn.MainActivity" launcher:drawable="">
</app><app launcher:id="5" launcher:action="" launcher:type="" launcher:pkgname="com.android.email" launcher:clsname="com.android.email.activity.setup.AccountSetupBasics" launcher:drawable="">
</app><app launcher:id="6" launcher:action="" launcher:type="" launcher:pkgname="com.android.soundrecorder" launcher:clsname="com.android.soundrecorder.SoundRecorder" launcher:drawable="">
</app><app launcher:id="7" launcher:action="" launcher:type="" launcher:pkgname="com.android.settings" launcher:clsname="com.android.settings.MainSetting" launcher:drawable="">
</app><app launcher:id="8" launcher:action="" launcher:type="" launcher:pkgname="com.android.calculator2" launcher:clsname="com.android.calculator2.Calculator" launcher:drawable="">
</app><app launcher:id="9" launcher:action="" launcher:type="" launcher:pkgname="com.android.contacts" launcher:clsname="com.android.contacts.ContactsChildTabActivity" launcher:drawable="">
</app><app launcher:id="10" launcher:action="" launcher:type="" launcher:pkgname="com.android.providers.downloads.ui" launcher:clsname="com.android.providers.downloads.ui.DownloadList" launcher:drawable="">
</app></apps>