After running a project in log is added filter such as "app: My_Package_Name"
in /.idea/workspace.xml added:
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="AndroidConfiguredLogFilters">
<filters>
<filter>
<option name="logLevel" value="verbose" />
<option name="logMessagePattern" value="" />
<option name="logTagPattern" value="" />
<option name="name" value="app: com.zastavok.net" />
<option name="packageNamePattern" value="com.zastavok.net" />
<option name="pid" value="" />
</filter>
</filters>
But in this filter no results:
But if I change filter to "No Filters", all results are displayed:
How to solve this problem with logs by Package_Name?
Go to the File option > click on “INVALIDATE CACHES/RESTART” then a dialog box will pop up, Select the “INVALIDATE CACHES/RESTART” button. This will automatically restart and build the index of android studio.
It shouldn't matter. In case you still wish to change, you have to unpublish your app and publish it as a new app. This is because Google identifies your app through you bundle ID, or package name as it is called. So you cannot repeat 2 package names.
Logs wasn't display because my app doesn't display in process.
So finally I got it working, by: Click on
Checking 'Show all processes' checkbox!
BUT as you see in the question, checkbox was on at the beginning, so there were multiple issues.
To summarize, these are other actions to be done:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With