首页 技术 正文
技术 2022年11月12日
0 收藏 971 点赞 4,948 浏览 6227 个字
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.
[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/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.
[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/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 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 source files to /Users/Rubert/myApp/platforms/android/ant-build/classes
[javac] 警告: [options] 源值1.5已过时, 将在未来所有发行版中删除
[javac] 警告: [options] 目标值1.5已过时, 将在未来所有发行版中删除
[javac] 警告: [options] 要隐藏有关已过时选项的警告, 请使用 -Xlint:-options。
[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] 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 ( 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] Crunched 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 file to /Users/Rubert/myApp/platforms/android/ant-build
[move] Moving file to /Users/Rubert/myApp/platforms/android/CordovaLib/ant-builddebug:BUILD SUCCESSFUL
Total time: 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
相关推荐
python开发_常用的python模块及安装方法
adodb:我们领导推荐的数据库连接组件bsddb3:BerkeleyDB的连接组件Cheetah-1.0:我比较喜欢这个版本的cheeta…
日期:2022-11-24 点赞:878 阅读:9,083
Educational Codeforces Round 11 C. Hard Process 二分
C. Hard Process题目连接:http://www.codeforces.com/contest/660/problem/CDes…
日期:2022-11-24 点赞:807 阅读:5,558
下载Ubuntn 17.04 内核源代码
zengkefu@server1:/usr/src$ uname -aLinux server1 4.10.0-19-generic #21…
日期:2022-11-24 点赞:569 阅读:6,407
可用Active Desktop Calendar V7.86 注册码序列号
可用Active Desktop Calendar V7.86 注册码序列号Name: www.greendown.cn Code: &nb…
日期:2022-11-24 点赞:733 阅读:6,180
Android调用系统相机、自定义相机、处理大图片
Android调用系统相机和自定义相机实例本博文主要是介绍了android上使用相机进行拍照并显示的两种方式,并且由于涉及到要把拍到的照片显…
日期:2022-11-24 点赞:512 阅读:7,817
Struts的使用
一、Struts2的获取  Struts的官方网站为:http://struts.apache.org/  下载完Struts2的jar包,…
日期:2022-11-24 点赞:671 阅读:4,900