Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gradle引入jar后可以正常运行,不过是否需要在本地清单文件中添加library包中注册的activity、权限、广播、服务,为什么没添加不会报错 #11

Open
yk007 opened this issue Jul 10, 2019 · 1 comment

Comments

@yk007
Copy link

yk007 commented Jul 10, 2019

    <service
        android:name="com.shihoo.daemon.WatchDogService$WatchDogNotificationService"
        android:process=":watch"/>

    <activity
        android:name="com.shihoo.daemon.singlepixel.SinglePixelActivity"
        android:configChanges="keyboardHidden|orientation|screenSize|navigation|keyboard"
        android:excludeFromRecents="true"
        android:finishOnTaskLaunch="false"
        android:launchMode="singleInstance"
        android:theme="@style/SingleActivityStyle"
        android:process=":watch"/>

    <service android:name=".PlayMusicService"
        android:process=":watch"/>
@ShihooWang
Copy link
Owner

gradle会检查module或library中的manifest的相关信息,并将其合并到主程序的。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants