I'm having problems when running emulator on Eclipse ADT . When running APK , it only gives timeout , even increasing ADB time to 50000 for example. The project runs right on the phone, only in the emulator that does not (already tried up in Genymotion , to no avail). Does anyone know a solution?
After timeout , this occurs:
New package not yet registered with the system. Waiting 3 seconds before next attempt.
Then:
[2015-05-16 22:39:06 - ddmlib] An established connection was aborted by software on the host computer
The manifest is like this:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="br.com.nota.ui" android:versionCode="2" android:versionName="1.1">
<uses-sdk
android:minSdkVersion="15"
android:targetSdkVersion="22"/>
<application
android:icon="@drawable/notes"
android:allowBackup="true"
android:label="@string/app_name">
<activity
android:name="br.com.nota.ui.MainActivity"
android:screenOrientation="portrait"
android:label="@string/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name="br.com.nota.ui.NotaUI" android:label="@string/app_name"/>
</application>
</manifest>