You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
			
				
					22 lines
				
				354 B
			
		
		
			
		
	
	
					22 lines
				
				354 B
			| 
								 
											4 years ago
										 
									 | 
							
								# 构建失败
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								# APP崩溃
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								## Failed resolution of: Landroidx/databinding/DataBinderMapperImpl
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								当依赖的第三方库添加了`dataBinding`支持,所有子lib模块module和主app的module都需要添加`dataBinding`支持
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								在`build.gradle`文件中添加
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								```properties
							 | 
						||
| 
								 | 
							
								android {
							 | 
						||
| 
								 | 
							
								    ....
							 | 
						||
| 
								 | 
							
								    dataBinding {
							 | 
						||
| 
								 | 
							
								        enabled = true
							 | 
						||
| 
								 | 
							
								    }
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								```
							 | 
						||
| 
								 | 
							
								
							 |