wangdicoder / react-native-Gank

A cross platform App which shows the contents from gank.io
550 stars 96 forks source link

run-android error #5

Open fcgll520 opened 7 years ago

fcgll520 commented 7 years ago

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 commented 7 years ago

link下?

xuqiqi commented 7 years ago

link也没用

miaorenjie commented 7 years ago

I have the same question,have you solved it?

ladddd commented 7 years ago

same error in android emulator ni jie jue le ma

JinxiuLiu commented 7 years ago

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.