|
1.先进入Launcher2,执行mm命令编译- cd packages/apps/Launcher2/
- mm
复制代码 2.按照如下修改方式修改默认Laucher2包名和类名- diff --git a/device/softwinner/sugar-cubietruck/sugar_cubietruck.mk b/device/softwinner/sugar-cubietruck/sugar_cubietruck.mk
- index 44b06a7..ec2275e 100755
- --- a/device/softwinner/sugar-cubietruck/sugar_cubietruck.mk
- +++ b/device/softwinner/sugar-cubietruck/sugar_cubietruck.mk
- @@ -96,8 +96,8 @@ PRODUCT_PROPERTY_OVERRIDES += \
- ro.property.tabletUI=true \
- ro.udisk.lable=sugar \
- ro.product.firmware=v2.0rc4 \
- - ro.sw.defaultlauncherpackage=com.softwinner.launcher \
- - ro.sw.defaultlauncherclass=com.softwinner.launcher.Launcher \
- + ro.sw.defaultlauncherpackage=com.android.launcher \
- + ro.sw.defaultlauncherclass=com.android.launcher2.Launcher \
- audio.output.active=AUDIO_CODEC \
- audio.input.active=AUDIO_CODEC \
- ro.audio.multi.output=true \
复制代码 注意:修改了之后,需要删除out/target/product/sugar-cubietruck/system/build.prop再make全编
|
|