In my application, after installing, Intellij does not "command" to open the apk.
In my manifest the main Activity is already set up
<application
...
<activity
android:name=".Activitys.Main"
android:label="@string/title_activity_main"
android:theme="@style/AppTheme.NoActionBar">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
...
Apparently Intellij is correct to build configuration
I have tried to change this option, manually choosing the activity .. but it did not work .. just install the APK, but it does not open .. I have to manually go there in the option to open ...
With this I have problem when debugging the class Application
Can anyone have an idea of what might be happening? I already rebooted Android and PC too ..
[Edited]
Today the following error occurred while trying to install:
Error while executing: am startservice meu.pacote/com.android.tools.fd.runtime.InstantRunService
Starting service: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=meu.pacote/com.android.tools.fd.runtime.InstantRunService }
Error: Not found; no service started.
With this information I disabled InstantRun, and app started to open normal, but anyway .. I would like to leave Instant Run enabled, if anyone has any idea how to resolve this ...