Reputation: 49
when I am going to debug my application using android studio, I cannot do that because of this massage which is Waiting for application to come online: com.example.myapplication | com.example.myapplication.test
. After sometime Could not connect to remote process. Aborting debug session
is shown.
Upvotes: 3
Views: 6546
Reputation: 1493
In my case the issue was in IntelliJ Idea being open along with Android Studio at the same time. Closing IntelliJ Idea fixed the problem.
Upvotes: 0
Reputation: 51
I know this is an old post, but I had the same issue and could not get it to work, I then found in my app config that the Launch option was on nothing, changing that to "Default activity" fixed it for me
Upvotes: 5
Reputation: 11
I had the same issue. The app didn't launch when I tried to run it without debugging. Debugging gave the same results as for OP. No real info about the issue.
The solution was looking through the recent changes I made.
My mistake was that I declared a permission under the <application>
tag in the manifest file:
android:permission="android.permission.INTERNET"
instead of writing
<uses-permission android:name="android.permission.INTERNET"/>
above the <application>
tag.
Upvotes: 0
Reputation: 66
This work for me:
in directory C:\Users\your_name\ .android\avd I deleted all devices and then in Android Studio i created them again.
Before this, I tried Invalidate cache and restart option, some restarts/reboots of Android Studio/Devices/PC and deleting devices in Android Virtual Device Manager all of them with no results.
Upvotes: 2