# Trouble-Shooting

- If you experience Problems, sometimes the so called “Log Cat” is quite helpful, which also allows live filtering by keywords like e.g. “myappname” or “failed” and thelike.  
    <div drawio-diagram="3116"><img src="https://doc316en.candera.eu/uploads/images/drawio/2023-03/drawing-4-1678169896.png" alt=""/></div>
- Depending on the kind of your Android OS, sometimes the Permissions-Dialog is not displayed.  
    In such a case, the user has no chance to grant the needed permissions, when the app is installed the first time. That’s how to solve this problem:  
    Click “app-&gt;Edit Configurations”, like shown below:  
    <div drawio-diagram="3117"><img src="https://doc316en.candera.eu/uploads/images/drawio/2023-03/drawing-4-1678169914.png" alt=""/></div>
    
      
    A dialog opens; In the field “Install Flags” input “-g” which pre-grants all permissions on installing.  
    <div drawio-diagram="3118"><img src="https://doc316en.candera.eu/uploads/images/drawio/2023-03/drawing-4-1678169928.png" alt=""/></div>
    
      
    After saving this configuration, clicking at the Build-Button should do it’s job.
- When you want to debug your application and encounter that your breakpoints are ignored, you can try following: go to the run-configurations at the top right toolbar of android studio as shown below.  
    <div drawio-diagram="3119"><img src="https://doc316en.candera.eu/uploads/images/drawio/2023-03/drawing-4-1678169948.png" alt=""/></div>
    
      
    A Popup appears, navigate do “Debugger” and ensure that “Dual” is set for the field: Debug types:  
    <div drawio-diagram="3120"><img src="https://doc316en.candera.eu/uploads/images/drawio/2023-03/drawing-4-1678169961.png" alt=""/></div>