ionic emulate android log

RubertdeMacBook-Pro:myApp Rubert$  ionic emulate android
Running command: /Users/Rubert/myApp/hooks/after_prepare/010_add_platform_class.js /Users/Rubert/myApp
add to body class: platform-android
Running command: /Users/Rubert/myApp/platforms/android/cordova/run --emulator
Buildfile: /Users/Rubert/myApp/platforms/android/build.xml

-set-mode-check:

-set-debug-files:

-check-env:
 [checkenv] Android SDK Tools Revision 22.3.0
 [checkenv] Installed at /Users/Rubert/Android/adt-bundle-mac-x86_64-20131030/sdk

-setup:
     [echo] Project Name: CordovaApp
  [gettype] Project Type: Application

-set-debug-mode:

-debug-obfuscation-check:

-pre-build:

-build-setup:
[getbuildtools] Using latest Build Tools: 19.0.0
     [echo] Resolving Build Target for CordovaApp...
[gettarget] Project Target:   Android 4.4
[gettarget] API level:        19
     [echo] ----------
     [echo] Creating output directories if needed...
    [mkdir] Created dir: /Users/Rubert/myApp/platforms/android/ant-build/rsObj
    [mkdir] Created dir: /Users/Rubert/myApp/platforms/android/ant-build/rsLibs
     [echo] ----------
     [echo] Resolving Dependencies for CordovaApp...
[dependency] Library dependencies:
[dependency] 
[dependency] ------------------
[dependency] Ordered libraries:
[dependency] 
[dependency] ------------------
     [echo] ----------
     [echo] Building Libraries with 'debug'...

nodeps:

-set-mode-check:

-set-debug-files:

-check-env:
 [checkenv] Android SDK Tools Revision 22.3.0
 [checkenv] Installed at /Users/Rubert/Android/adt-bundle-mac-x86_64-20131030/sdk

-setup:
     [echo] Project Name: CordovaApp
  [gettype] Project Type: Android Library

-set-debug-mode:

-debug-obfuscation-check:

-pre-build:

-build-setup:
[getbuildtools] Using latest Build Tools: 19.0.0
     [echo] Resolving Build Target for CordovaApp...
[gettarget] Project Target:   Android 4.4
[gettarget] API level:        19
     [echo] ----------
     [echo] Creating output directories if needed...
    [mkdir] Created dir: /Users/Rubert/myApp/platforms/android/CordovaLib/ant-build/rsObj
    [mkdir] Created dir: /Users/Rubert/myApp/platforms/android/CordovaLib/ant-build/rsLibs
     [echo] ----------
     [echo] Resolving Dependencies for CordovaApp...
[dependency] Library dependencies:
[dependency] No Libraries
[dependency] 
[dependency] ------------------

-code-gen:
[mergemanifest] Found Deleted Target File
[mergemanifest] Merging AndroidManifest files into one.
[mergemanifest] Manifest merger disabled. Using project manifest only.
     [echo] Handling aidl files...
     [aidl] No AIDL files to compile.
     [echo] ----------
     [echo] Handling RenderScript files...
     [echo] ----------
     [echo] Handling Resources...
     [aapt] Found modified input file
     [aapt] Generating resource IDs...
     [echo] ----------
     [echo] Handling BuildConfig class...
[buildconfig] No need to generate new BuildConfig.

-pre-compile:

-compile:
     [echo] Creating library output jar file...

-post-compile:

-obfuscate:

-dex:
     [echo] Library project: do not convert bytecode...

-crunch:
   [crunch] Crunching PNG Files in source dir: /Users/Rubert/myApp/platforms/android/CordovaLib/res
   [crunch] To destination dir: /Users/Rubert/myApp/platforms/android/CordovaLib/ant-build/res
   [crunch] Crunched 0 PNG files to update cache

-package-resources:
     [echo] Library project: do not package resources...

-package:
     [echo] Library project: do not package apk...

-post-package:

-do-debug:
     [echo] Library project: do not create apk...
[propertyfile] Updating property file: /Users/Rubert/myApp/platforms/android/CordovaLib/ant-build/build.prop
[propertyfile] Updating property file: /Users/Rubert/myApp/platforms/android/CordovaLib/ant-build/build.prop
[propertyfile] Updating property file: /Users/Rubert/myApp/platforms/android/CordovaLib/ant-build/build.prop
[propertyfile] Updating property file: /Users/Rubert/myApp/platforms/android/CordovaLib/ant-build/build.prop

-post-build:

debug:

-code-gen:
[mergemanifest] Found Deleted Target File
[mergemanifest] Merging AndroidManifest files into one.
[mergemanifest] Manifest merger disabled. Using project manifest only.
     [echo] Handling aidl files...
     [aidl] No AIDL files to compile.
     [echo] ----------
     [echo] Handling RenderScript files...
     [echo] ----------
     [echo] Handling Resources...
     [aapt] Found new input file
     [aapt] Generating resource IDs...
     [echo] ----------
     [echo] Handling BuildConfig class...
[buildconfig] No need to generate new BuildConfig.

-pre-compile:
     [echo] Set jars path to: /Users/Rubert/myApp/platforms/android/CordovaLib/ant-build/classes.jar

-compile:
    [javac] Compiling 2 source files to /Users/Rubert/myApp/platforms/android/ant-build/classes
    [javac] 警告: [options] 源值1.5已过时, 将在未来所有发行版中删除
    [javac] 警告: [options] 目标值1.5已过时, 将在未来所有发行版中删除
    [javac] 警告: [options] 要隐藏有关已过时选项的警告, 请使用 -Xlint:-options。
    [javac] 3 个警告

-post-compile:

-obfuscate:

-dex:
      [dex] input: /Users/Rubert/myApp/platforms/android/ant-build/classes
      [dex] input: /Users/Rubert/myApp/platforms/android/CordovaLib/ant-build/classes.jar
      [dex] Using Pre-Dexed classes-79db15b8810b37c38c2cfb97f40b28c1.jar <- /Users/Rubert/myApp/platforms/android/CordovaLib/ant-build/classes.jar
      [dex] Found modified input file
      [dex] Converting compiled files and external libraries into /Users/Rubert/myApp/platforms/android/ant-build/classes.dex...
       [dx] Merged dex A (12 defs/8.8KiB) with dex B (209 defs/317.1KiB). Result is 221 defs/395.9KiB. Took 0.1s

-crunch:
   [crunch] Crunching PNG Files in source dir: /Users/Rubert/myApp/platforms/android/res
   [crunch] To destination dir: /Users/Rubert/myApp/platforms/android/ant-build/res
   [crunch] Crunched 0 PNG files to update cache

-package-resources:
     [aapt] Found modified input file
     [aapt] Creating full resource package...

-package:
[apkbuilder] Found modified input file
[apkbuilder] Creating CordovaApp-debug-unaligned.apk and signing it with a debug key...

-post-package:

-do-debug:
 [zipalign] Running zip align on final apk...
     [echo] Debug Package: /Users/Rubert/myApp/platforms/android/ant-build/CordovaApp-debug.apk
[propertyfile] Updating property file: /Users/Rubert/myApp/platforms/android/ant-build/build.prop
[propertyfile] Updating property file: /Users/Rubert/myApp/platforms/android/ant-build/build.prop
[propertyfile] Updating property file: /Users/Rubert/myApp/platforms/android/ant-build/build.prop
[propertyfile] Updating property file: /Users/Rubert/myApp/platforms/android/ant-build/build.prop

-post-build:
     [move] Moving 1 file to /Users/Rubert/myApp/platforms/android/ant-build
     [move] Moving 1 file to /Users/Rubert/myApp/platforms/android/CordovaLib/ant-build

debug:

BUILD SUCCESSFUL
Total time: 3 seconds
Built the following apk(s):
    /Users/Rubert/myApp/platforms/android/ant-build/CordovaApp-debug.apk
WARNING : no emulator specified, defaulting to Phone
Waiting for emulator...
Booting up emulator (this may take a while)..............................BOOT COMPLETE
Installing app on emulator...
Using apk: /Users/Rubert/myApp/platforms/android/ant-build/CordovaApp-debug.apk
Launching application...
LAUNCH SUCCESS

 

posted on 2014-10-22 23:26  洛易  阅读(2561)  评论(0编辑  收藏  举报