No such file or directory in Android 10 (api 29)

前端 未结 3 1105

I am working on a photo editor app in which after editing my picture I save it into my local storage. It is working fine till android 9 but not on android 10. It shows excep

3条回答
  •  [愿得一人]
    2021-01-13 12:40

    If you target Android 10 (API level 29) or higher, set the value of requestLegacyExternalStorage to true in your app's manifest file:

    Documentation

    
    
    
        
    
            
                
                    
    
                    
                
            
    
    
        
    
    
    

提交回复
热议问题