hongyin163 / react-native-chart-android

react native chart modules come from mpandroidchart.
206 stars 81 forks source link

bug #77

Open cxy200927099 opened 7 years ago

cxy200927099 commented 7 years ago

当npm install安装组件的后,编译提示merge androidManifest.xml error:line 7

解决: 删掉android/src/main/AndroidManifest.xml中的第七行 android:icon="@mipmap/ic_launcher"

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="cn.mandata.react_native_mpchart">

    <application
        android:allowBackup="true"
        android:icon="@mipmap/ic_launcher"
        android:label="@string/app_name"
        android:supportsRtl="true"
        android:theme="@style/AppTheme">
        <activity
            android:name=".MainActivity"
            android:label="@string/title_activity_main"
            android:theme="@style/AppTheme.NoActionBar"></activity>
    </application>

</manifest>

不知是不是这个是否是bug?如果是希望作者更新下npm中的代码库

hongyin163 commented 7 years ago

好的,我试试