react-native-wechat icon indicating copy to clipboard operation
react-native-wechat copied to clipboard

安卓打包提示WeChatModule.java:7: 错误: 程序包android.support.annotation不存在

Open mickyguo opened this issue 5 years ago • 8 comments

Please read and follow the issue templates:

  1. Bug Report or Documentation Issue or Questions and Help?

  2. Which react-native-wechat version are you using?

  3. What platform does your issue occur on? (Android/iOS/Both)

  4. Please provide a clear and concise description of what the bug is as precisely as possible,you can:

  1. post a screenshot to explain in which case you get the issue?
  2. related logs
  3. show us the code you are using?
  4. others.

Your Environment

software version
react-native-wechat ^ version
react-native ^ version
node ^ version
npm or yarn ^ version

mickyguo avatar Dec 09 '19 10:12 mickyguo

"react-native-wechat": "^1.9.12"y "react-native": "0.61.4" node: v10.16.0 yarn: 1.19.1

mickyguo avatar Dec 09 '19 10:12 mickyguo

try jetifier

jzhu1224 avatar Dec 09 '19 20:12 jzhu1224

解决了吗?

Miluaaa avatar Dec 12 '19 01:12 Miluaaa

解决了吗?

marlti7 avatar Dec 19 '19 07:12 marlti7

Same issue

JoshYuJump avatar Dec 20 '19 11:12 JoshYuJump

WeChatModule这个包里面的文件 //import android.support.annotation.Nullable; import androidx.annotation.Nullable; 替换一下就可以打包了

mickyguo avatar Jan 02 '20 05:01 mickyguo

Could be great to PR that...

zabojad avatar Nov 12 '20 15:11 zabojad

android run command: npx jetify, fix my issue

cengit avatar Mar 22 '21 08:03 cengit