Android Manifest with @String reference - specifically android:authorities

前端 未结 2 2063
猫巷女王i
猫巷女王i 2021-01-21 15:17

I have this issue with the manifest.

Looks like this may be a dupe of : Using @string for android:authorities in a ContentProvider

I have a provider with separat

2条回答
  •  太阳男子
    2021-01-21 15:33

    To change provider from maven you can use tag like here:

        
            com.jayway.maven.plugins.android.generation2
            android-maven-plugin
            3.5.0
            true
            
    
                
                
                    ${project.version.name}
                    ${project.version.code}
    
                    
                    
                        
                            .database.DatabaseProvider
                            ${project.package}.database.DatabaseProvider
                                                
                    
    
                
            
        
    

提交回复
热议问题