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_prepare/010_add_platform_class.js /Users/Rubert/myApp
add to body class: platform-android
Running command: /Users/Rubert/myApp/platforms/android/cordova/build
Buildfile: /Users/Rubert/myApp/platforms/android/build.xml -set-mode-check: -set-debug-files: -check-env:
[checkenv] Android SDK Tools Revision 22.3.
[checkenv] Installed at /Users/Rubert/Android/adt-bundle-mac-x86_64-/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.
[echo] Resolving Build Target for CordovaApp...
[gettarget] Project Target: Android 4.4
[gettarget] API level:
[echo] ----------
[echo] Creating output directories if needed...
[mkdir] Created dir: /Users/Rubert/myApp/platforms/android/ant-build
[mkdir] Created dir: /Users/Rubert/myApp/platforms/android/ant-build/res
[mkdir] Created dir: /Users/Rubert/myApp/platforms/android/ant-build/rsObj
[mkdir] Created dir: /Users/Rubert/myApp/platforms/android/ant-build/rsLibs
[mkdir] Created dir: /Users/Rubert/myApp/platforms/android/ant-gen
[mkdir] Created dir: /Users/Rubert/myApp/platforms/android/ant-build/classes
[mkdir] Created dir: /Users/Rubert/myApp/platforms/android/ant-build/dexedLibs
[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.
[checkenv] Installed at /Users/Rubert/Android/adt-bundle-mac-x86_64-/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.
[echo] Resolving Build Target for CordovaApp...
[gettarget] Project Target: Android 4.4
[gettarget] API level:
[echo] ----------
[echo] Creating output directories if needed...
[mkdir] Created dir: /Users/Rubert/myApp/platforms/android/CordovaLib/res
[mkdir] Created dir: /Users/Rubert/myApp/platforms/android/CordovaLib/libs
[mkdir] Created dir: /Users/Rubert/myApp/platforms/android/CordovaLib/ant-build
[mkdir] Created dir: /Users/Rubert/myApp/platforms/android/CordovaLib/ant-build/res
[mkdir] Created dir: /Users/Rubert/myApp/platforms/android/CordovaLib/ant-build/rsObj
[mkdir] Created dir: /Users/Rubert/myApp/platforms/android/CordovaLib/ant-build/rsLibs
[mkdir] Created dir: /Users/Rubert/myApp/platforms/android/CordovaLib/ant-gen
[mkdir] Created dir: /Users/Rubert/myApp/platforms/android/CordovaLib/ant-build/classes
[mkdir] Created dir: /Users/Rubert/myApp/platforms/android/CordovaLib/ant-build/dexedLibs
[echo] ----------
[echo] Resolving Dependencies for CordovaApp...
[dependency] Library dependencies:
[dependency] No Libraries
[dependency]
[dependency] ------------------ -code-gen:
[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] Generating resource IDs...
[echo] ----------
[echo] Handling BuildConfig class...
[buildconfig] Generating BuildConfig class. -pre-compile: -compile:
[javac] Compiling source files to /Users/Rubert/myApp/platforms/android/CordovaLib/ant-build/classes
[javac] 警告: [options] 源值1.5已过时, 将在未来所有发行版中删除
[javac] 警告: [options] 目标值1.5已过时, 将在未来所有发行版中删除
[javac] 警告: [options] 要隐藏有关已过时选项的警告, 请使用 -Xlint:-options。
[javac] 注: 某些输入文件使用或覆盖了已过时的 API。
[javac] 注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。
[javac] 个警告
[echo] Creating library output jar file...
[jar] Building jar: /Users/Rubert/myApp/platforms/android/CordovaLib/ant-build/classes.jar -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 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] Creating new 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] 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] Generating resource IDs...
[echo] ----------
[echo] Handling BuildConfig class...
[buildconfig] Generating BuildConfig class. -pre-compile:
[echo] Set jars path to: /Users/Rubert/myApp/platforms/android/CordovaLib/ant-build/classes.jar -compile:
[javac] Compiling source files to /Users/Rubert/myApp/platforms/android/ant-build/classes
[javac] 警告: [options] 源值1.5已过时, 将在未来所有发行版中删除
[javac] 警告: [options] 目标值1.5已过时, 将在未来所有发行版中删除
[javac] 警告: [options] 要隐藏有关已过时选项的警告, 请使用 -Xlint:-options。
[javac] 注: /Users/Rubert/myApp/platforms/android/src/com/ionic/keyboard/IonicKeyboard.java使用或覆盖了已过时的 API。
[javac] 注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。
[javac] 个警告 -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] Pre-Dexing /Users/Rubert/myApp/platforms/android/CordovaLib/ant-build/classes.jar -> classes-79db15b8810b37c38c2cfb97f40b28c1.jar
[dex] Converting compiled files and external libraries into /Users/Rubert/myApp/platforms/android/ant-build/classes.dex...
[dx] Merged dex A ( defs/.8KiB) with dex B ( defs/.1KiB). Result is defs/.9KiB. Took .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] Processing image to cache: /Users/Rubert/myApp/platforms/android/res/drawable-hdpi/icon.png => /Users/Rubert/myApp/platforms/android/ant-build/res/drawable-hdpi/icon.png
[crunch] (processed image to cache entry /Users/Rubert/myApp/platforms/android/ant-build/res/drawable-hdpi/icon.png: % size of source)
[crunch] Processing image to cache: /Users/Rubert/myApp/platforms/android/res/drawable-land-hdpi/screen.png => /Users/Rubert/myApp/platforms/android/ant-build/res/drawable-land-hdpi/screen.png
[crunch] (processed image to cache entry /Users/Rubert/myApp/platforms/android/ant-build/res/drawable-land-hdpi/screen.png: % size of source)
[crunch] Processing image to cache: /Users/Rubert/myApp/platforms/android/res/drawable-land-ldpi/screen.png => /Users/Rubert/myApp/platforms/android/ant-build/res/drawable-land-ldpi/screen.png
[crunch] (processed image to cache entry /Users/Rubert/myApp/platforms/android/ant-build/res/drawable-land-ldpi/screen.png: % size of source)
[crunch] Processing image to cache: /Users/Rubert/myApp/platforms/android/res/drawable-land-mdpi/screen.png => /Users/Rubert/myApp/platforms/android/ant-build/res/drawable-land-mdpi/screen.png
[crunch] (processed image to cache entry /Users/Rubert/myApp/platforms/android/ant-build/res/drawable-land-mdpi/screen.png: % size of source)
[crunch] Processing image to cache: /Users/Rubert/myApp/platforms/android/res/drawable-land-xhdpi/screen.png => /Users/Rubert/myApp/platforms/android/ant-build/res/drawable-land-xhdpi/screen.png
[crunch] (processed image to cache entry /Users/Rubert/myApp/platforms/android/ant-build/res/drawable-land-xhdpi/screen.png: % size of source)
[crunch] Processing image to cache: /Users/Rubert/myApp/platforms/android/res/drawable-ldpi/icon.png => /Users/Rubert/myApp/platforms/android/ant-build/res/drawable-ldpi/icon.png
[crunch] (processed image to cache entry /Users/Rubert/myApp/platforms/android/ant-build/res/drawable-ldpi/icon.png: % size of source)
[crunch] Processing image to cache: /Users/Rubert/myApp/platforms/android/res/drawable-mdpi/icon.png => /Users/Rubert/myApp/platforms/android/ant-build/res/drawable-mdpi/icon.png
[crunch] (processed image to cache entry /Users/Rubert/myApp/platforms/android/ant-build/res/drawable-mdpi/icon.png: % size of source)
[crunch] Processing image to cache: /Users/Rubert/myApp/platforms/android/res/drawable-port-hdpi/screen.png => /Users/Rubert/myApp/platforms/android/ant-build/res/drawable-port-hdpi/screen.png
[crunch] (processed image to cache entry /Users/Rubert/myApp/platforms/android/ant-build/res/drawable-port-hdpi/screen.png: % size of source)
[crunch] Processing image to cache: /Users/Rubert/myApp/platforms/android/res/drawable-port-ldpi/screen.png => /Users/Rubert/myApp/platforms/android/ant-build/res/drawable-port-ldpi/screen.png
[crunch] (processed image to cache entry /Users/Rubert/myApp/platforms/android/ant-build/res/drawable-port-ldpi/screen.png: % size of source)
[crunch] Processing image to cache: /Users/Rubert/myApp/platforms/android/res/drawable-port-mdpi/screen.png => /Users/Rubert/myApp/platforms/android/ant-build/res/drawable-port-mdpi/screen.png
[crunch] (processed image to cache entry /Users/Rubert/myApp/platforms/android/ant-build/res/drawable-port-mdpi/screen.png: % size of source)
[crunch] Processing image to cache: /Users/Rubert/myApp/platforms/android/res/drawable-port-xhdpi/screen.png => /Users/Rubert/myApp/platforms/android/ant-build/res/drawable-port-xhdpi/screen.png
[crunch] (processed image to cache entry /Users/Rubert/myApp/platforms/android/ant-build/res/drawable-port-xhdpi/screen.png: % size of source)
[crunch] Processing image to cache: /Users/Rubert/myApp/platforms/android/res/drawable-xhdpi/icon.png => /Users/Rubert/myApp/platforms/android/ant-build/res/drawable-xhdpi/icon.png
[crunch] (processed image to cache entry /Users/Rubert/myApp/platforms/android/ant-build/res/drawable-xhdpi/icon.png: % size of source)
[crunch] Processing image to cache: /Users/Rubert/myApp/platforms/android/res/drawable/icon.png => /Users/Rubert/myApp/platforms/android/ant-build/res/drawable/icon.png
[crunch] (processed image to cache entry /Users/Rubert/myApp/platforms/android/ant-build/res/drawable/icon.png: % size of source)
[crunch] Crunched PNG files to update cache -package-resources:
[aapt] Creating full resource package... -package:
[apkbuilder] Current build type is different than previous build: forced apkbuilder run.
[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] Creating new 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 file to /Users/Rubert/myApp/platforms/android/ant-build
[move] Moving file to /Users/Rubert/myApp/platforms/android/CordovaLib/ant-build debug: BUILD SUCCESSFUL
Total time: seconds
Built the following apk(s):
/Users/Rubert/myApp/platforms/android/ant-build/CordovaApp-debug.apk

ionic build android log的更多相关文章

  1. ionic build android error when download gradle

    这里我遇到一个问题,当用  ionic build android 的时候,无数次build,无数次失败的时候,我真想骂一句,NND的GNF,我又想起武大的臭鸡蛋,是的,该丢,发明这种东西的人,难道不 ...

  2. MAC 环境 ionic build android 命令在"Downloading http://services.gradle.org/distributions/gradle-2.13-all.zip"卡住问题

    如题: 环境 node: 4.5.0,npm:2.15.9,cordova :6.3.1, ionic:2.1.0 在ionic build android 命令执行时,会去这个网址下载 gradel ...

  3. ionic build android 中的报错详细原因以及解决方法

    一.执行打包命令 ionic build android 1.报错: 原因: 其实也并非报错,但是会一直在下载gradle,由于网络或者其他原因,导致下载比较慢, 解决方案: 手动下载gradle,并 ...

  4. ionic build Android错误记录未解决

    1.try itcordova -v cordova create testing cd testing cordova plugin add cordova-plugin-sim cordova p ...

  5. ionic emulate android log

    RubertdeMacBook-Pro:myApp Rubert$ ionic emulate android Running command: /Users/Rubert/myApp/hooks/a ...

  6. ionic build Android错误记录 error in opening zip file

    0.写在前头 运行 :cordova requirements Requirements check results for android: Java JDK: installed 1.8.0 An ...

  7. ionic build android 失败 及 解决方案

    原因:没有接受以下SDK组件的许可协议 解决方案: install Android Support Repository

  8. ionic2踩坑之ionic build android报错

    自己项目一直跑的好好好好的,build还是run都没问题,今天忽然一个小伙伴build一直报错.\ 错误如下: Error occurred during initialization of VMCo ...

  9. ionic build android 报错分析

随机推荐

  1. 抽丝剥茧:理解Android权限机制

    前一段时间面试官问我Android在Linux的基础上,权限做了哪些改变.霹雳呱啦说了一堆,但是说着说着,始终感觉自己说的缺了点东西,自己理解还是不够到位,而且网上的很多文章在原理上基本都是大同小异, ...

  2. 「HNOI2013」游走

    「HNOI2013」游走 题目描述 一个无向连通图,顶点从 \(1\) 编号到 \(N\) ,边从 \(1\) 编号到 \(M\) .小 \(Z\) 在该图上进行随机游走,初始时小 \(Z\) 在 \ ...

  3. POJ 3378 Crazy Thairs(树状数组+DP)

    [题目链接] http://poj.org/problem?id=3378 [题目大意] 给出一个序列,求序列中长度等于5的LIS数量. [题解] 我们发现对于每个数长度为k的LIS有dp[k][i] ...

  4. 【贪心】Codeforces Round #436 (Div. 2) D. Make a Permutation!

    题意:给你一个长度为n的数组,每个元素都在1~n之间,要你改变最少的元素,使得它变成一个1~n的排列.在保证改动最少的基础上,要求字典序最小. 预处理cnt数组,cnt[i]代表i在原序列中出现的次数 ...

  5. 【极角排序】【扫描线】hdu6127 Hard challenge

    平面上n个点,每个点带权,任意两点间都有连线,连线的权值为两端点权值之积.没有两点连线过原点.让你画一条过原点直线,把平面分成两部分,使得直线穿过的连线的权值和最大. 就把点极角排序后,扫过去,一侧的 ...

  6. 【线段树(单点修改,区间求和)】HDU1166 - 敌军布阵

    hdu1166 敌兵布阵,单点修改,区间求和. [ATTENTION]MAXN要开成节点数的4倍,开得不够会提示TLE. #include<iostream> #include<cs ...

  7. 邮件发送javamail

    写在前面: 最近要将dms系统原始发邮件的功能(调用的webservice)改变成使用smtp服务来发送邮件(使用javamail来发送),这里简单记录下,方便日后有用到,直接拿来用即可. 首先导入需 ...

  8. mybatis批量插入:oracle和mysql的区别

    一.oracle批量插入 <insert id="save" parameterType="java.util.List"> insert into ...

  9. Problem B: 年龄问题

    #include<stdio.h> int xx(int n,int m,int k) { int a; ) { a=k; } else { a=xx(n-,m,k)+m; } retur ...

  10. Problem I: 零起点学算法104——Yes,I can!

    #include<stdio.h> int main() { ]; while(gets(a)!=NULL) { printf("I am "); printf(&qu ...