Hello,
I got the emulator working from the SDK, it's communicating with EE v2 and can view the android debugging log.
When it comes to sending the apk, it fails as below.
The target is version 2.3.3
I have installed
SDK Tools 21.0.1
SDK Platform 16.0.1
API 17 (4.2)
WinXP 32bit sp3
I followed the wiki and thought it was correct when it compiled.
http://www.esenthel.com/wiki/index.php?t...nvironment
Quote:
[crunch] Processing image to cache: C:\Esenthel 2.0\Projects\_Build_\Bloody Massacre\Android\res\drawable-xhdpi\icon.png => C:\Esenthel 2.0\Projects\_Build_\Bloody Massacre\Android\bin\res\drawable-xhdpi\icon.png
[crunch] (processed image to cache entry C:\Esenthel 2.0\Projects\_Build_\Bloody Massacre\Android\bin\res\drawable-xhdpi\icon.png: 92% size of source)
[crunch] Crunched 4 PNG files to update cache
-package-resources:
[aapt] Creating full resource package...
[aapt] Warning: AndroidManifest.xml already defines debuggable (in http://schemas.android.com/apk/res/android); using existing value in manifest.
-package:
[apkbuilder] Current build type is different than previous build: forced apkbuilder run.
[apkbuilder] Creating Bloody Massacre-debug-unaligned.apk and signing it with a debug key...
-post-package:
-do-debug:
[zipalign] Running zip align on final apk...
[echo] Debug Package: C:\Esenthel 2.0\Projects\_Build_\Bloody Massacre\Android\bin\Bloody Massacre-debug.apk
[propertyfile] Creating new property file: C:\Esenthel 2.0\Projects\_Build_\Bloody Massacre\Android\bin\build.prop
[propertyfile] Updating property file: C:\Esenthel 2.0\Projects\_Build_\Bloody Massacre\Android\bin\build.prop
[propertyfile] Updating property file: C:\Esenthel 2.0\Projects\_Build_\Bloody Massacre\Android\bin\build.prop
[propertyfile] Updating property file: C:\Esenthel 2.0\Projects\_Build_\Bloody Massacre\Android\bin\build.prop
-post-build:
debug:
BUILD SUCCESSFUL
Total time: 53 seconds
usage: am [subcommand] [options]
start an Activity: am start [-D] [-W] <INTENT>
-D: enable debugging
-W: wait for launch to complete
start a Service: am startservice <INTENT>
send a broadcast Intent: am broadcast <INTENT>
start an Instrumentation: am instrument [flags] <COMPONENT>
-r: print raw results (otherwise decode REPORT_KEY_STREAMRESULT)
-e <NAME> <VALUE>: set argument <NAME> to <VALUE>
-p <FILE>: write profiling data to <FILE>
-w: wait for instrumentation to finish before returning
start profiling: am profile <PROCESS> start <FILE>
stop profiling: am profile <PROCESS> stop
start monitoring: am monitor [--gdb <port>]
--gdb: start gdbserv on the given port at crash/ANR
<INTENT> specifications include these flags:
[-a <ACTION>] [-d <DATA_URI>] [-t <MIME_TYPE>]
[-c <CATEGORY> [-c <CATEGORY>] ...]
[-e|--es <EXTRA_KEY> <EXTRA_STRING_VALUE> ...]
[--esn <EXTRA_KEY> ...]
[--ez <EXTRA_KEY> <EXTRA_BOOLEAN_VALUE> ...]
[-e|--ei <EXTRA_KEY> <EXTRA_INT_VALUE> ...]
[-n <COMPONENT>] [-f <FLAGS>]
[--grant-read-uri-permission] [--grant-write-uri-permission]
[--debug-log-resolution]
[--activity-brought-to-front] [--activity-clear-top]
[--activity-clear-when-task-reset] [--activity-exclude-from-recents]
[--activity-launched-from-history] [--activity-multiple-task]
[--activity-no-animation] [--activity-no-history]
[--activity-no-user-action] [--activity-previous-is-top]
[--activity-reorder-to-front] [--activity-reset-task-if-needed]
[--activity-single-top]
[--receiver-registered-only] [--receiver-replace-pending]
[<URI>]
Error: Unknown command: force-stop
C:\Esenthel 2.0\Projects\_Build_\Bloody Massacre\Android\bin>adb shell am start "Bloody Massacre-debug.apk"
Starting: Intent { act=android.intent.action.VIEW dat=Bloody Massacre-debug.apk}
Error: Activity not started, unable to resolve Intent { act=android.intent.action.VIEW dat=Bloody Massacre-debug.apk flg=0x10000000 }
This just hangs.
adb install "Bloody Massacre-debug.apk"
same with a tut build.
adb devices
emulator-5554 device
I've googled this, but can't find a fix, I've done an update on SDK, but still same issue.
Any ideas?