Note that there are some explanatory texts on larger screens.

plurals
  1. POCannot install android apk on my real device
    primarykey
    data
    text
    <p>I got this error when installing my developed apps to my android phone </p> <pre><code>[2013-11-13 11:06:11 - Test] ------------------------------ [2013-11-13 11:06:11 - Test] Android Launch! [2013-11-13 11:06:11 - Test] adb is running normally. [2013-11-13 11:06:11 - Test] Performing com.example.test.MainActivity activity launch [2013-11-13 11:06:13 - Test] Uploading Test.apk onto device '087A4C7CF209' [2013-11-13 11:06:13 - Test] Installing Test.apk... [2013-11-13 11:08:15 - Test] Failed to install Test.apk on device '087A4C7CF209! [2013-11-13 11:08:15 - Test] (null) [2013-11-13 11:08:15 - Test] Launch canceled! </code></pre> <p>I am sure the debug mode is on, I tried to cancel and reset it, no luck. The device can be detected so I am sure it's fine in that regard</p> <pre><code>$adb devices List of devices attached 087A4C7CF209 device </code></pre> <p>If I install it from the command line, it hangs there and never return success.</p> <pre><code>$ adb install ~/workspace/Test/bin/Test.apk 3096 KB/s (255979 bytes in 0.080s) pkg: /data/local/tmp/Test.apk </code></pre> <p>UPDATE</p> <p>Manifest file:</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.test" android:versionCode="1" android:versionName="1.0" &gt; &lt;uses-sdk android:minSdkVersion="8" android:targetSdkVersion="16" /&gt; &lt;application android:allowBackup="true" android:icon="@drawable/ic_launcher" android:label="@string/app_name" android:theme="@style/AppTheme" &gt; &lt;activity android:name="com.example.test.MainActivity" android:label="@string/app_name" &gt; &lt;intent-filter&gt; &lt;action android:name="android.intent.action.MAIN" /&gt; &lt;category android:name="android.intent.category.LAUNCHER" /&gt; &lt;/intent-filter&gt; &lt;/activity&gt; &lt;/application&gt; &lt;/manifest&gt; </code></pre> <p>IT JUST WON'T WORK!! what can I do? Please help I have been stuck on this for days.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload