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. shell 指定行插入

    #如果知道行号可以用下面的方法 sed -i '88 r b.file' a.file    #在a.txt的第88行插入文件b.txt awk '1;NR==88{system("cat ...

  2. linux——(1)初识linux

    linux有窗口管理员环境和纯文本界面环境,同时linux默认提供6个Terminal来让用户登录.crtl+alt+F1-6可自由切换.其中如果窗口管理员环境处于运行状态,那么可以按crtl+alt ...

  3. Codeforces Testing Round 14

    A:The Way to Home link:http://codeforces.com/contest/910/problem/A 题面:有每次最大跳跃距离d,只有一部分的点可以落脚,求最少几步达到 ...

  4. 【其它算法】Face The Right Way

    Face The Right Way Time Limit: 2000MS   Memory Limit: 65536K Total Submissions: 5278   Accepted: 246 ...

  5. 【图论】Network of Schools

    [POJ1236]Network of Schools Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 18969   Acc ...

  6. 【最短路】【dijkstra】【二进制拆分】hdu6166 Senior Pan

    题意:给你一张带权有向图,问你某个点集中,两两结点之间的最短路的最小值是多少. 其实就是dijkstra,只不过往堆里塞边的时候,要注意塞进去它是从集合中的哪个起始点过来的,然后在更新某个点的答案的时 ...

  7. 消除重复 Exercise07_15

    import java.util.Scanner; /** * @author 冰樱梦 * 时间:2018年下半年 * 题目:消除重复 */ public class Exercise07_15 { ...

  8. MYSQL复习笔记6-字符集

    Date: 20100101 Auth: Jin 参考http://blog.sina.com.cn/s/blog_9707fac301016wxm.html 一.字符集介绍 计算机只处理二进制代码 ...

  9. CentOS更新Python版本,同时修复yum不能使用的问题

    转自:Li_Hanx博客 遇到问题,需要更新python,网上找了好多都不能顺利更新,找到这位大佬的这篇博客,写的非常好,分享给大家. 发现一个新办法,那就是直接安装另一个版本的Python,比如Py ...

  10. [译]SQL数据库迁移:从低版到高版本

    我见过太多的数据库管理员花大量的时间在数据库迁移上,即便在客户的实际环境亦是如此.由于微软频繁的发布新版,基于业务和客户的要求,应用服务不得不同时升级.当然,还有许多用户仍在使用SQL Server ...