• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

How to Avoid tools:replace="android:name"

Hallo91

Lurker
Hello friends, i have an App and a library together, the problem is they have both in the manifest file the line
android:name="xxxx".
So when runing the app, it's says that you have to add this line :
tools:replace="android:name"
But the App crashes when calling the library, is there any solution to avoid the replacing of the name :

Here is my application manifest :

<application
android:name=".myApplication"
android:allowBackup="true"
android:icon="@Mipmap/ic_launcher"
android:label="@String/app_name"
android:theme="@Style/AppTheme">


The library :


<application
android:name=".my_library"
android:allowBackup="true">


 
Back
Top Bottom