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. bWAPP练习--injection篇之HTML Injection - Reflected (GET)

    什么是Injection? injection,中文意思就是注入的意思,常见的注入漏洞就是SQL注入啦,是现在应用最广泛,杀伤力很大的漏洞. 什么是HTML injection? 有交互才会产生漏洞, ...

  2. Xamarin.Forms获取设备屏幕大小

    Xamarin.Forms获取设备屏幕大小 可以借助device.Display获取.基本形式如下: var display = device.Display;然后就可以获取屏幕大小.display. ...

  3. 【推导】【找规律】【二分】hdu6154 CaoHaha's staff

    题意:网格图.给你一个格点多边形的面积,问你最少用多少条边(可以是单位线段或单位对角线),围出这么大的图形. 如果我们得到了用n条边围出的图形的最大面积f(n),那么二分一下就是答案. n为偶数时,显 ...

  4. python3-开发进阶补充Django中的文件的上传

    PS:这段时间有点不在状态,刚刚找回那个状态,那么我们继续曾经的梦想 今天我们来补充一下文件的上传的几种方式: 首先我们先补充的一个知识点: 一.请求头ContentType: ContentType ...

  5. 找出最小元素 Exercise07_09

    import java.util.Scanner; /** * @author 冰樱梦 * 时间:2018年下半年 * 题目:找出最小元素 * */ public class Exercise07_0 ...

  6. Problem G: 零起点学算法86——Fibonacc

    #include<stdio.h> int main(){ ]={,,}; ;i<=;i++) { a[i]=a[i-]+a[i-]; } scanf("%d", ...

  7. 帝国CMS网站迁移方法

    19大学网    我是用帝国CMS 6.0一键安装版的,在本地设计好网页后才上传到空间.期间查看了很多资料,通过两天的摸索终于上传成功,现在我把我的制作过程如实的写下来,希望对遇到同样问题的朋友能有所 ...

  8. nginx 域名跳转 Nginx跳转自动到带www域名规则配置、nginx多域名向主域名跳转

    nginx 域名跳转 Nginx跳转自动到www域名规则配置,如果设置使 mgcrazy.com域名在用户访问的时候自动跳转到 www.mgcrazy.com呢?在网上找了好多资料都没有一个完整能解决 ...

  9. <摘录>算法策略的总结

    策略是面向问题的,算法是面向实现的. 一.不同算法策略特点小结 1.贪心策略 贪心策略一方面是求解过程比较简单的算法,另一方面它又是对能适用问题的条件要求最严格(即适用范围很小)的算法. 贪心策略解决 ...

  10. JavaScrip数组去重--终极版

    第一种 var arr = [1,2,3,4,1,2,4,5,6];console.log(arr); Array.prototype.unique = function() { var n = [] ...