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

npm上的android下面jpush-react-native-release.aar有问题导致gradle编译报重复的类 #254

Closed
beansoftapp opened this Issue Jun 14, 2017 · 2 comments

Comments

Projects
None yet
2 participants
@beansoftapp

beansoftapp commented Jun 14, 2017

jpush-react-native/android/build/outputs/aar/jpush-react-native-release.aar!/libs
其中竟然包含了两个不同版本的jpush jar, 导致Gradle编译时报错. dex发现重复类.

手工解决是打开AAR文件删除其中的一个jpush jar, 希望能改下npm上这个的问题.

@KenChoi1992

This comment has been minimized.

Show comment
Hide comment
@KenChoi1992

KenChoi1992 Jun 15, 2017

Member

@beansoftapp 把 build 文件夹删掉就行了。下个版本 npm 上会删掉这个文件夹。

Member

KenChoi1992 commented Jun 15, 2017

@beansoftapp 把 build 文件夹删掉就行了。下个版本 npm 上会删掉这个文件夹。

@KenChoi1992 KenChoi1992 added the bug label Jun 15, 2017

@KenChoi1992

This comment has been minimized.

Show comment
Hide comment
@KenChoi1992

KenChoi1992 Jul 6, 2017

Member

@beansoftapp 新版本删掉了这个文件夹。

Member

KenChoi1992 commented Jul 6, 2017

@beansoftapp 新版本删掉了这个文件夹。

@KenChoi1992 KenChoi1992 closed this Jul 6, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment