The platform command has been renamed. To find out more, run: ionic cordova platform --help

本文介绍如何使用 Ionic Cordova 命令行工具来添加平台支持,如 Android,并提供相关课程链接帮助理解 Android 版本更新及热更新技术。

The platform command has been renamed. To find out more, run:

如何添加platforms文件:
在cmd下的项目目录下输入‘ionic cordova platfrom add android’

《Android版本更新、热更新》系列课程视频

版本更新6.0,7.0统统搞定!!

热修复不在麻烦,再也不用担心上线后出bug!!

http://edu.youkuaiyun.com/course/detail/6523

http://edu.youkuaiyun.com/course/play/6523/131198

《Kotlin语法基础到实战开发》系列课程视频

http://edu.youkuaiyun.com/course/detail/6409?locationNum=7&fps=1&ref=srch&loc=1

http://edu.youkuaiyun.com/course/play/6409/123752

2025-10-13T20:50:20.020+08:00 ERROR 28092 --- [er-offprocmng-1] o.j.l.office.LocalOfficeProcessManager : Could not start the office process. org.jodconverter.core.office.OfficeException: An error prevents us to start a process with --accept 'socket,host=127.0.0.1,port=2002,tcpNoDelay=1;urp;StarOffice.ServiceManager' at org.jodconverter.local.office.LocalOfficeProcessManager.executeStartProcessAndConnect(LocalOfficeProcessManager.java:442) ~[jodconverter-local-4.4.6.jar:4.4.6] at org.jodconverter.local.office.LocalOfficeProcessManager.startProcessAndConnect(LocalOfficeProcessManager.java:395) ~[jodconverter-local-4.4.6.jar:4.4.6] at org.jodconverter.local.office.LocalOfficeProcessManager.lambda$start$1(LocalOfficeProcessManager.java:213) ~[jodconverter-local-4.4.6.jar:4.4.6] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[na:na] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[na:na] at java.base/java.lang.Thread.run(Thread.java:1583) ~[na:na] Caused by: org.jodconverter.core.office.OfficeException: Office process died with exit code 1 at org.jodconverter.local.office.StartProcessAndConnectRetryable.handleConnectionFailure(StartProcessAndConnectRetryable.java:254) ~[jodconverter-local-4.4.6.jar:4.4.6] at org.jodconverter.local.office.StartProcessAndConnectRetryable.attempt(StartProcessAndConnectRetryable.java:116) ~[jodconverter-local-4.4.6.jar:4.4.6] at org.jodconverter.core.office.AbstractRetryable.execute(AbstractRetryable.java:86) ~[jodconverter-core-4.4.6.jar:4.4.6] at org.jodconverter.core.office.AbstractRetryable.execute(AbstractRetryable.java:60) ~[jodconverter-core-4.4.6.jar:4.4.6] at org.jodconverter.local.office.LocalOfficeProcessManager.executeStartProcessAndConnect(LocalOfficeProcessManager.java:428) ~[jodconverter-local-4.4.6.jar:4.4.6] ... 5 common frames omitted Caused by: org.jodconverter.local.office.OfficeConnectionException: Connection failed: 'socket,host=127.0.0.1,port=2002,tcpNoDelay=1'; java.net.ConnectException: Connection refused: connect at org.jodconverter.local.office.OfficeConnection.connect(OfficeConnection.java:130) ~[jodconverter-local-4.4.6.jar:4.4.6] at org.jodconverter.local.office.StartProcessAndConnectRetryable.attempt(StartProcessAndConnectRetryable.java:106) ~[jodconverter-local-4.4.6.jar:4.4.6] ... 8 common frames omitted Caused by: com.sun.star.connection.NoConnectException: java.net.ConnectException: Connection refused: connect at com.sun.star.lib.connections.socket.socketConnector.connect(socketConnector.java:144) ~[jurt-4.1.2.jar:na] at com.sun.star.comp.connections.Connector.connect(Connector.java:119) ~[jurt-4.1.2.jar:na] at org.jodconverter.local.office.OfficeConnection.createConnection(OfficeConnection.java:232) ~[jodconverter-local-4.4.6.jar:4.4.6] at org.jodconverter.local.office.OfficeConnection.connect(OfficeConnection.java:108) ~[jodconverter-local-4.4.6.jar:4.4.6] ... 9 common frames omitted 2025-10-13T20:50:20.054+08:00 ERROR 28092 --- [er-offprocmng-0] o.j.l.office.LocalOfficeProcessManager : Could not start the office process. org.jodconverter.core.office.OfficeException: An error prevents us to start a process with --accept 'socket,host=127.0.0.1,port=2001,tcpNoDelay=1;urp;StarOffice.ServiceManager' at org.jodconverter.local.office.LocalOfficeProcessManager.executeStartProcessAndConnect(LocalOfficeProcessManager.java:442) ~[jodconverter-local-4.4.6.jar:4.4.6] at org.jodconverter.local.office.LocalOfficeProcessManager.startProcessAndConnect(LocalOfficeProcessManager.java:395) ~[jodconverter-local-4.4.6.jar:4.4.6] at org.jodconverter.local.office.LocalOfficeProcessManager.lambda$start$1(LocalOfficeProcessManager.java:213) ~[jodconverter-local-4.4.6.jar:4.4.6] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[na:na] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[na:na] at java.base/java.lang.Thread.run(Thread.java:1583) ~[na:na] Caused by: org.jodconverter.core.office.OfficeException: Office process died with exit code 1 at org.jodconverter.local.office.StartProcessAndConnectRetryable.handleConnectionFailure(StartProcessAndConnectRetryable.java:254) ~[jodconverter-local-4.4.6.jar:4.4.6] at org.jodconverter.local.office.StartProcessAndConnectRetryable.attempt(StartProcessAndConnectRetryable.java:116) ~[jodconverter-local-4.4.6.jar:4.4.6] at org.jodconverter.core.office.AbstractRetryable.execute(AbstractRetryable.java:86) ~[jodconverter-core-4.4.6.jar:4.4.6] at org.jodconverter.core.office.AbstractRetryable.execute(AbstractRetryable.java:60) ~[jodconverter-core-4.4.6.jar:4.4.6] at org.jodconverter.local.office.LocalOfficeProcessManager.executeStartProcessAndConnect(LocalOfficeProcessManager.java:428) ~[jodconverter-local-4.4.6.jar:4.4.6] ... 5 common frames omitted Caused by: org.jodconverter.local.office.OfficeConnectionException: Connection failed: 'socket,host=127.0.0.1,port=2001,tcpNoDelay=1'; java.net.ConnectException: Connection refused: connect at org.jodconverter.local.office.OfficeConnection.connect(OfficeConnection.java:130) ~[jodconverter-local-4.4.6.jar:4.4.6] at org.jodconverter.local.office.StartProcessAndConnectRetryable.attempt(StartProcessAndConnectRetryable.java:106) ~[jodconverter-local-4.4.6.jar:4.4.6] ... 8 common frames omitted Caused by: com.sun.star.connection.NoConnectException: java.net.ConnectException: Connection refused: connect at com.sun.star.lib.connections.socket.socketConnector.connect(socketConnector.java:144) ~[jurt-4.1.2.jar:na] at com.sun.star.comp.connections.Connector.connect(Connector.java:119) ~[jurt-4.1.2.jar:na] at org.jodconverter.local.office.OfficeConnection.createConnection(OfficeConnection.java:232) ~[jodconverter-local-4.4.6.jar:4.4.6] at org.jodconverter.local.office.OfficeConnection.connect(OfficeConnection.java:108) ~[jodconverter-local-4.4.6.jar:4.4.6] ... 9 common frames omitted 2025-10-13T20:50:20.255+08:00 INFO 28092 --- [ main] cn.keking.config.WebConfig : Add resource locations: E:\code\jnpf-file-preview\server\src\main\file\ 2025-10-13T20:50:21.403+08:00 INFO 28092 --- [ main] cn.keking.EncodingTests : Started EncodingTests in 13.83 seconds (process running for 18.885) WARNING: A Java agent has been loaded dynamically (C:\Users\user\.m2\repository\net\bytebuddy\byte-buddy-agent\1.14.19\byte-buddy-agent-1.14.19.jar) WARNING: If a serviceability tool is in use, please run with -XX:+EnableDynamicAgentLoading to hide this warning WARNING: If a serviceability tool is not in use, please run with -Djdk.instrument.traceUsage for more information WARNING: Dynamic loading of agents will be disallowed by default in a future release OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended UTF-8 --> UTF-8 UTF-8 with BOM --> UTF-8 UTF-16 LE --> UTF-16LE UTF-16 BE --> UTF-16BE UTF-32 LE --> UTF-32LE UTF-32 BE --> UTF-32BE GB2312 --> GB18030 GBK --> GB18030 GB18030 --> GB18030 Big-5 --> BIG5 Shift_JIS --> SHIFT_JIS EUC-KR --> EUC-KR KOI8-R --> KOI8-R ISO 8859-1 --> WINDOWS-1252 ISO 8859-2 --> WINDOWS-1252 ISO 8859-3 --> WINDOWS-1252 ISO 8859-4 --> WINDOWS-1252 ISO 8859-5 --> ISO-8859-5 ISO 8859-6 --> MACCYRILLIC ISO 8859-7 --> ISO-8859-7 ISO 8859-8 --> WINDOWS-1255 ISO 8859-9 --> WINDOWS-1252 ISO 8859-10 --> WINDOWS-1252 ISO 8859-11 --> KOI8-R ISO 8859-13 --> WINDOWS-1252 ISO 8859-14 --> WINDOWS-1252 ISO 8859-15 --> WINDOWS-1252 ISO 8859-16 --> WINDOWS-1252 Small GB2312 --> GB2312 [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 19.05 s -- in cn.keking.EncodingTests [INFO] Running cn.keking.ServerMainTests 2025-10-13T20:50:24.306+08:00 INFO 28092 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [cn.keking.ServerMainTests]: ServerMainTests does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2025-10-13T20:50:24.312+08:00 INFO 28092 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration cn.keking.ServerMain for test class cn.keking.ServerMainTests [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.039 s -- in cn.keking.ServerMainTests [INFO] Running cn.keking.utils.WebUtilsTests [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 s -- in cn.keking.utils.WebUtilsTests [INFO] [INFO] Results: [INFO] [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] [INFO] --- jar:3.4.1:jar (default-jar) @ kkFileView --- [INFO] [INFO] --- spring-boot:3.3.4:repackage (default) @ kkFileView --- [INFO] Replacing main artifact E:\code\jnpf-file-preview\server\target\kkFileView-4.4.0-RELEASE.jar with repackaged archive, adding nested dependencies in BOOT-INF/. [INFO] The original artifact has been renamed to E:\code\jnpf-file-preview\server\target\kkFileView-4.4.0-RELEASE.jar.original [INFO] [INFO] --- assembly:3.4.2:single (make-assembly) @ kkFileView --- [INFO] Reading assembly descriptor: src/main/assembly/dist-win32.xml [INFO] Reading assembly descriptor: src/main/assembly/dist-linux.xml [INFO] Building zip: E:\code\jnpf-file-preview\server\target\kkFileView-4.4.0-RELEASE.zip [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for kkFileView-parent 4.4.0: [INFO] [INFO] kkFileView-parent .................................. SUCCESS [ 0.741 s] [INFO] kkFileView ......................................... FAILURE [01:00 min] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:02 min [INFO] Finished at: 2025-10-13T20:50:44+08:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:3.4.2:single (make-assembly) on project kkFileView: Failed to create assembly: Error creating assembly archive assembly-windows: E:\code\jnpf-file-preview\server\LibreOfficePortable\App\libreoffice\program\opencl\.~lock.cl-test.ods# -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <args> -rf :kkFileView 进程已结束,退出代码
10-14
: Tomcat started on port 40000 (http) with context path '/' 2025-09-16T11:27:13.523+08:00 ERROR 34440 --- [jnpf-boot] [ Thread-13] com.xxl.job.core.server.EmbedServer : >>>>>>>>>>> xxl-job remoting server error. java.net.BindException: Address already in use: bind at java.base/sun.nio.ch.Net.bind0(Native Method) at java.base/sun.nio.ch.Net.bind(Net.java:565) at java.base/sun.nio.ch.ServerSocketChannelImpl.netBind(ServerSocketChannelImpl.java:344) at java.base/sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:301) at io.netty.channel.socket.nio.NioServerSocketChannel.doBind(NioServerSocketChannel.java:141) at io.netty.channel.AbstractChannel$AbstractUnsafe.bind(AbstractChannel.java:561) at io.netty.channel.DefaultChannelPipeline$HeadContext.bind(DefaultChannelPipeline.java:1281) at io.netty.channel.AbstractChannelHandlerContext.invokeBind(AbstractChannelHandlerContext.java:600) at io.netty.channel.AbstractChannelHandlerContext.bind(AbstractChannelHandlerContext.java:579) at io.netty.channel.DefaultChannelPipeline.bind(DefaultChannelPipeline.java:922) at io.netty.channel.AbstractChannel.bind(AbstractChannel.java:259) at io.netty.bootstrap.AbstractBootstrap$2.run(AbstractBootstrap.java:380) at io.netty.util.concurrent.AbstractEventExecutor.runTask$$$capture(AbstractEventExecutor.java:173) at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java) at io.netty.util.concurrent.AbstractEventExecutor.safeExecute$$$capture(AbstractEventExecutor.java:166) at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java) at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:472) at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:569) at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:998) at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) at java.base/java.lang.Thread.run(Thread.java:1583) 2025-09-16T11:27:13.551+08:00 INFO 34440 --- [jnpf-boot] [ main] o.s.s.quartz.SchedulerFactoryBean : Starting Quartz Scheduler now 2025-09-16T11:27:13.551+08:00 INFO 34440 --- [jnpf-boot] [ main] org.quartz.core.QuartzScheduler : Scheduler quartzScheduler_$_NON_CLUSTERED started. 2025-09-16T11:27:13.584+08:00 INFO 34440 --- [jnpf-boot] [ main] jnpf.JnpfAdminApplication : Started JnpfAdminApplication in 37.067 seconds (process running for 38.286) 2025-09-16T11:27:13.612+08:00 WARN 34440 --- [jnpf-boot] [ main] o.s.b.c.p.m.PropertiesMigrationListener : The use of configuration keys that have been renamed was found in the environment: Property source 'Config resource 'class path resource [application-dev.yml]' via location 'optional:classpath:/'': Key: spring.redis.database Line: 108 Replacement: spring.data.redis.database Key: spring.redis.host Line: 110 Replacement: spring.data.redis.host Key: spring.redis.port Line: 111 Replacement: spring.data.redis.port Key: spring.redis.timeout Line: 113 Replacement: spring.data.redis.timeout Each configuration key has been temporarily mapped to its replacement for your convenience. To silence this warning, please update your configuration to use the new keys. 2025-09-16T11:27:13.613+08:00 ERROR 34440 --- [jnpf-boot] [ main] o.s.b.c.p.m.PropertiesMigrationListener : The use of configuration keys that are no longer supported was found in the environment: Property source 'Config resource 'class path resource [application-dev.yml]' via location 'optional:classpath:/'': Key: spring.redis.lettuce.pool.max-active Line: 116 Reason: none Key: spring.redis.lettuce.pool.max-idle Line: 119 Reason: none Key: spring.redis.lettuce.pool.max-wait Line: 117 Reason: none Key: spring.redis.lettuce.pool.min-idle Line: 118 Reason: none Please refer to the release notes or reference guide for potential alternatives.
09-17
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值