[uniapp-Android offline packaging error] push and oauth modules were not added during packaging...

1 question:

Insert image description here

2 solutions:

Other environments should be configured according to the official website: https://nativesupport.dcloud.net.cn/AppDocs/usemodule/androidModuleConfig/push.html

Maybe the unipush appid is not found correctly:
Insert image description here

Then maybe missing:
Insert image description here

Especially the push statement below. The official website is placed in an inconspicuous position, causing some students to not see it.
Insert image description here

3 code:

<feature name="OAuth" value="io.dcloud.feature.oauth.OAuthFeatureImpl">
	<module name="OAuth-IGETui" value="io.dcloud.feature.igetui.GeTuiOAuthService"/>
</feature>

<feature name="Push" value="io.dcloud.feature.aps.APSFeatureImpl">
	<module name="unipush" value="io.dcloud.feature.unipush.GTPushService"/>
</feature>

Guess you like

Origin blog.csdn.net/zhinengxiong6/article/details/129176128