0
In my application, after installing , Intellij does not "command" open the apk.
My manifest already configured the main activity
<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 in Intellij is correct the configuration of "build"
I have tried changing this option by manually choosing Activity.. but it did not work.. just install APK, but it does not open.. I have to go manually there on the option to open...
With this I have problem when debugging the class Application
Can anyone have any idea what might be happening? I’ve already restarted Android and PC too..
[Edited]
Today the following error appeared 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 solve this...
Yes you have the option
app
selected– Marco Giovanni
I edited the answer.
– Marcos Vasconcelos