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
时间: 2024-10-12 01:17:27

ionic emulate android log的相关文章

ionic build android log

RubertdeMacBook-Pro:~ Rubert$ ionic build android Current working directory is not a Cordova-based project. RubertdeMacBook-Pro:~ Rubert$ cd myApp/ RubertdeMacBook-Pro:myApp Rubert$ ionic build android Running command: /Users/Rubert/myApp/hooks/after

Log中&#39;main&#39;, &#39;system&#39;, &#39;radio&#39;, &#39;events&#39;以及android log分析

在Android中不同的log写到不同的设备中,共有/dev/log/system, /dev/log/main, /dev/log/radion, /dev/log/events四中类型.其中默认Log.v等写入/dev/log/main中.Slog写入/dev/log/system中. 我们在使用logcat 抓去日至的时候, 可以指定buffer,来请求不同的环形缓冲区 ('main', 'system', 'radio', 'events',默认为"-b main -b system&q

Android LOG机制流程图

以下只是Android LOG机制流程图,关于Android LOG机制的更多详细内容请参阅<Android LOG机制详解> 结束. Android LOG机制流程图,布布扣,bubuko.com

【No.2 Ionic】Android打包

项目做完之后 接下来就是打包操作了,接下来直接说Android 打包操作 生成签名证书 keytool -genkey -alias vincentguo -keyalg RSA -validity 20000 -keystore vincentguo.keystore #说明: #    -genkey 产生密钥 #    -alias vincentguo 别名vincentguo #    -keyalg RSA 使用RSA算法对签名加密 #    -validity 20000 有效期限

android Log图文详解(Log.v,Log.d,Log.i,Log.w,Log.e)

在Android群里,经常会有人问我,Android Log是怎么用的,今天我就把从网上以及SDK里东拼西凑过来,让大家先一睹为快,希望对大家入门Android Log有一定的帮助. android.util.Log常用的方法有以下5个:Log.v() Log.d() Log.i() Log.w() 以及 Log.e() .根据首字母对应VERBOSE,DEBUG,INFO, WARN,ERROR. 1.Log.v 的调试颜色为黑色的,任何消息都会输出,这里的v代表verbose啰嗦的意思,平时

Android Log

1.Android Log简介: 在程序中输出日志,使用 android.util.Log 类.该类提供了若干静态方法: Log.v(String tag, String msg); // 任何消息都会输出 Log.d(String tag, String msg); // 仅输出debug调试的意思,但他会输出上层的信息 Log.i(String tag, String msg); // 一般提示性的消息information Log.w(String tag, String msg);  

(Android系统)android log机制浅析

在android下面debug,最主要的方式就是用logcat抓log了,我们可能有尝试过使用printf来打印,当然结果是不行的,这里有时间就看了一下android平台下log的flow,在此做个笔记以作记录 我们一般使用ALOGD来打印log,所以这里就跟一下ALOGD的flow system/core/include/log/log.h system/core/include/log/log.h #ifndef ALOGD #define ALOGD(...) ((void)ALOG(LO

Android log系统 转

Android log系统 light 2011/11/20 Android 系统log抓取,实现原理分析   一 概述 本文档主要是供Android开发人员使用,特别是Framework开发.因为Framework中95%以上的问题都是靠分析log解决的,所以开发人员必须对android整个log系统十分清楚.什么问题抓什么log, 使用什么工具抓Log,如何分析log, 如何在代码中添加log. 二DDMS log 关于ddms是如何工作的和ddms的详细功能,见下面android sdk中

Android Log介绍

android.util.Log常用的方法有以下5个:Log.v() ,Log.d() ,Log.i() ,Log.w() ,Log.e() .按照日志级别从高到低为ERROR, WARN, INFO, DEBUG, VERBOSE.至于日志级别本身的含义,相信用过Apache Log4j,Apache LogFactory的人都明白,此处不再描述. 1.下面是对各种日志级别的输出介绍: 1.Log.v 的输出颜色为黑色的,输出大于或等于VERBOSE日志级别的信息 2.Log.d的输出颜色是蓝