Separate manifest for instant app

后端 未结 2 786
北海茫月
北海茫月 2021-01-17 04:28

Can I use different manifests for instant app and a regular application?
In more detail, I need to specify different classes \"App\" in the \"android:name=App\"

2条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-01-17 04:42

    To help you start with, here is a sample code from github about instant apps. You can check the structure of the code below:

    
    
    
    
        
    
        
    
            
    
                
                    
                    
                
                
                    
                    
                    
    
                    
                    
                    
                    
                
                
            
            
                
                    
                    
                    
    
                    
                    
                    
                    
                
            
    
        
    
    

    Here is the Manifest file structure to help you further in your build stage.

    The code snippet below shows the general structure of the manifest file and every element that it can contain. Each element, along with all of its attributes, is fully documented in a separate file.

    
    
    
    
        
        
        
        
        
        
          
          
          
          
          
    
        
    
            
                
                    
                    
                    
                
                
            
    
            
                 . . . 
                
            
    
            
                 . . . 
                
            
    
            
                 . . . 
                
            
    
            
                
                
                
            
    
            
    
        
    
    
    

提交回复
热议问题