我开始学习Ionic,创建了一个应用程序,并在浏览器和android模拟器上运行它。一切似乎都很好。我只是对一些事情感到好奇,但不幸的是找不到关于它们的任何具体信息。
当我运行命令ionic cordova build android
时,控制台上将显示以下行-
> ionic-app-scripts build --target cordova --platform android
[13:16:50] ionic-app-scripts 3.2.1
(--- SOME MORE LINES ---)
> cordova build android
Android Studio project detected
ANDROID_HOME=C:\Users\atiyar\AppData\Local\Android\sdk
JAVA_HOME=C:\Program Files\java\jdk1.8.0_202
studio
Welcome to Gradle 4.10.1!
Here are the highlights of this release:
(--- SOME MORE LINES ---)
Starting a Gradle Daemon (subsequent builds will be faster)
> Task :wrapper
BUILD SUCCESSFUL in 1m 20s
1 actionable task: 1 executed
Subproject Path: CordovaLib
Subproject Path: app
Downloading https://services.gradle.org/distributions/gradle-4.1-all.zip
.....................................................................................
Starting a Gradle Daemon (subsequent builds will be faster)
Download https://maven.google.com/com/android/tools/build/gradle/3.0.1/gradle-3.0.1.pom
(--- 257 MORE DOWNLOADS --- )
(--- SOME MORE LINES ---)
BUILD SUCCESSFUL in 47m 52s
46 actionable tasks: 46 executed
Built the following apk(s):
D:\Code\Ionic\IonicSideMenuApp\platforms\android\app\build\outputs\apk\debug\app-debug.apk
我想知道-
因此,似乎我正在尝试清晰地了解“适用于Android的Cordova构建过程的内幕”。任何建议将不胜感激。
答案 0 :(得分:0)
Uncaught Sys.InvalidOperationException: Sys.InvalidOperationException: Could not find UpdatePanel with ID "xxx". If it is being updated dynamically then it must be inside another UpdatePanel
中运行。离子在科尔多瓦的顶端运行WebView
文件是具有本地android第三方依赖性的配置文件,例如.pom
用于cordova插件; config.xml
是Java档案,是您的情况下的第三方依赖项.jar
是在您的本机项目中设置gradle版本的方法