Skip to content
This repository has been archived by the owner on Nov 12, 2019. It is now read-only.

run-android error #5

Open
fcgll520 opened this issue Jan 5, 2017 · 5 comments
Open

run-android error #5

fcgll520 opened this issue Jan 5, 2017 · 5 comments

Comments

@fcgll520
Copy link

fcgll520 commented Jan 5, 2017

image
while I execute
react-native run-android, occur it.
So I solved it by adding

@OverRide
public boolean canOverrideExistingModule(){
return true;
}

in source code : react-native-Gank\node_modules\react-native-vector-icons\android\src\main\java\com\oblador\vectoricons\VectorIconsModule.java.

Hope someone can get answer about the problem.

@jiaojunjiahanlin
Copy link

link下?

@xuqiqi
Copy link

xuqiqi commented Jul 15, 2017

link也没用

@miaorenjie
Copy link

I have the same question,have you solved it?

@ladddd
Copy link

ladddd commented Aug 22, 2017

same error in android emulator
ni jie jue le ma

@JinxiuLiu
Copy link

I was having the same issue, You can simply fix it by:

removing multiple instances of CodePush in the MainApplication.java
removing those duplicates in the same file as shown in the picture.

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

No branches or pull requests

6 participants