安卓 使用社会化分享 微信分享 返回app崩溃
例如包名com.umeng.soexample
WXEntryActivity的路径为 com.umeng.soexample.share.wxapi.WXEntryActivity
报错
java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.umeng.soexample/com.umeng.soexample.wxapi.WXEntryActivity}: java.lang.ClassNotFoundException: Didn't find class "com.umeng.soexample.wxapi.WXEntryActivity" on path: DexPathList[[zip file "/system/framework/android.test.mock.jar", zip file "/system/framework/android.test.runner.jar", zip file "/system/framework/com.google.android.maps.jar", zip file "/data/app/com.umeng.soexample-oRyp2tbvH_VHVIHuMtvFng==/base.apk"],nativeLibraryDirectories=[/data/app/com.umeng.soexample-oRyp2tbvH_VHVIHuMtvFng==/lib/arm64, /data/app/com.umeng.soexample-oRyp2tbvH_VHVIHuMtvFng==/base.apk!/lib/arm64-v8a, /system/lib64, /system/vendor/lib64]]
我使用
<activity
android:name=".share.wxapi.WXEntryActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:exported="true"
android:theme="@android:style/Theme.Translucent.NoTitleBar" />
<activity-alias
android:name="${applicationId}.wxapi.WXEntryActivity"
android:exported="true"
android:targetActivity=".share.wxapi.WXEntryActivity"
/>
请问我是activity-alias 用的不对 ?
还是sdk微信分享不支持使用activity-alias ?
如果不对 我友盟分享sdk是集成在module中的应该如何去做 ?
