Timeout when running APK on emulator

Asked

Viewed 175 times

0

I’m having trouble running emulator on Eclipse ADT. When executing the APK, can only timeout, even increasing the time of ADB to 50000 for example. The project runs directly on mobile, only on emulator that does not (I’ve tried even on Genymotion, unsuccessful). Someone knows a solution?

After the timeout, this occurs:

New package not yet Registered with the system. Waiting 3 Seconds before next Attempt.

Afterward:

[2015-05-16 22:39:06 - ddmlib] An established connection has been overridden by the software on the host computer

The manifest looks 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>
  • 1

    Consider including the emulator startup log, maybe it contains something that helps us propose a solution.

  • The following appears on Logcat: Could not open '/sys/class/power_supply/genymotion_fake_path/present'

  • Compiling and installing apk manually works normally?

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.