Android Studio 0.8.1 Manifest Merger $ {applicationId} not available

I am currently working on an application with several build options, as well as multiple products, and in each build option, the package name suffix is ​​different. I want to use $ {applicationId}, so I can have several build options available on one device.

<provider android:name="${applicationId}.providers.LocatorSearchSuggestionProvider" android:authorities="${applicationId}.providers.LocatorSearchSuggestionProvider" /> 

I tried the following and it does not work. I also tried packageName. Also in the build.gradle files, I have the applicationId specified in defaultConfig.

Edit: currently in the AndroidManifest.xml file. I get the message "Cannot resolve the error" $ {applicationId} ". Also in my build.gradle file I included applicationId

 android { compileSdkVersion 19 buildToolsVersion '20.0.0' useOldManifestMerger false defaultConfig { applicationId 'com.sample.android.login' minSdkVersion 14 targetSdkVersion 19 versionCode 1 versionName '1.0' } compileOptions { sourceCompatibility JavaVersion.VERSION_1_7 targetCompatibility JavaVersion.VERSION_1_7 } 

Thank you for your help, thanks !!!

+7
android manifest
source share

No one has answered this question yet.

See related questions:

947
Android Studio: add jar as a library?
28
Android Studio Update 0.4.0 could not find buildConfig ()
4
How to change the code version with a corridor?
one
Android Gradle Build Variants - application not recognized on Google Upload
0
Could not find com.android.support:appcompat-v7:27.1.0
0
debug-apk works fine but resets apk alarm to main job
0
code does not work in Kitkat version, but works on Lolipop or higher platforms
0
Error: program type is already present: com.google.firebase.iid.FirebaseInstanceId
0
Gradle project sync error while importing another module
-3
User login problem. The login screen is only being processed. User cannot login

All Articles