1

When I build my project I get these errors :

Merging Errors: Error: tools:replace specified at line:11 for attribute android:appComponentFactory, but no new value specified app main manifest (this file), line 10

Error: Validation failed, exiting app main manifest (this file)

This is my Manifest :

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    package="org.apoce.app">

    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />


    <application
        android:name="org.apoce.app.MyApplication"
        android:allowBackup="true"
        android:icon="@mipmap/ic_launcher"
        android:label="@string/app_name"
        android:supportsRtl="false"
        android:theme="@style/AppTheme.NoActionBar"
        tools:replace="android:appComponentFactory">

        <!--activities-->
        <activity
            android:name="org.apoce.app.SplashActivity"
            android:theme="@style/SplashTheme">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
...

what i can do to fix this

Community
  • 1
  • 1
Hocine Djouamaa
  • 157
  • 1
  • 3
  • 12

0 Answers0