当前位置: 首页 > 知识库问答 >
问题:

我的apk在哪里?代号一

和飞翔
2023-03-14

在使用Codename One完成我在IntellijIde上的代码并在模拟器上测试后,我想创建apk(在这种情况下,我将使用android)。这是我第一次在CN1上工作。我甚至是编程新手

我选择发送Android Build并收到以下消息:

  "C:\Program Files\Java\jdk1.7.0_13\bin\java" -Xmx128m -Xss2m "-Dant.home=C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition 15.0.3\lib\ant" "-Dant.library.dir=C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition 15.0.3\lib\ant\lib" -Dfile.encoding=UTF-8 -classpath "C:\android\platforms\android-20\android.jar;C:\android\platforms\android-20\data\res;C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition 15.0.3\lib\ant\lib\ant-antlr.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition 15.0.3\lib\ant\lib\ant-apache-bcel.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition 15.0.3\lib\ant\lib\ant-apache-bsf.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition 15.0.3\lib\ant\lib\ant-apache-log4j.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition 15.0.3\lib\ant\lib\ant-apache-oro.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition 15.0.3\lib\ant\lib\ant-apache-regexp.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition 15.0.3\lib\ant\lib\ant-apache-resolver.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition 15.0.3\lib\ant\lib\ant-apache-xalan2.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition 15.0.3\lib\ant\lib\ant-commons-logging.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition 15.0.3\lib\ant\lib\ant-commons-net.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition 15.0.3\lib\ant\lib\ant-jai.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition 15.0.3\lib\ant\lib\ant-javamail.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition 15.0.3\lib\ant\lib\ant-jdepend.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition 15.0.3\lib\ant\lib\ant-jmf.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition 15.0.3\lib\ant\lib\ant-jsch.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition 15.0.3\lib\ant\lib\ant-junit.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition 15.0.3\lib\ant\lib\ant-junit4.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition 15.0.3\lib\ant\lib\ant-launcher.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition 15.0.3\lib\ant\lib\ant-netrexx.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition 15.0.3\lib\ant\lib\ant-swing.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition 15.0.3\lib\ant\lib\ant-testutil.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition 15.0.3\lib\ant\lib\ant.jar;C:\Program Files\Java\jdk1.7.0_13\lib\tools.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition 15.0.3\lib\idea_rt.jar" com.intellij.rt.ant.execution.AntMain2 -logger com.intellij.rt.ant.execution.IdeaAntLogger2 -inputhandler com.intellij.rt.ant.execution.IdeaInputHandler -buildfile C:\bt\IOS_Catedral\build.xml build-for-android-device
  build.xml
  description
  import
  fail
  property
  taskdef
  taskdef
  taskdef
  taskdef
  -pre-init
  property
  property
  property
  mkdir
  mkdir
  mkdir
  mkdir
  mkdir
  mkdir
  mkdir
  mkdir
  mkdir
  mkdir
  mkdir
  mkdir
  mkdir
  mkdir
  mkdir
  mkdir
  installLibs
  -init-private
  property
  property
  property
  -init-user
  property
  property
  property
  -init-project
  property
  property
  -init-macrodef-property
  macrodef
  -do-init
  available
  condition
  condition
  condition
  condition
  condition
  condition
  condition
  condition
  condition
  condition
  condition
  condition
  condition
  condition
  condition
  condition
  property
  property
  property
  property
  condition
  property
  property
  property
  property
  property
  condition
  property
  property
  property
  property
  condition
  path
  condition
  condition
  property
  property
  property
  property
  available
  condition
  condition
  condition
  condition
  condition
  -post-init
  -init-check
  fail
  fail
  fail
  fail
  fail
  fail
  fail
  fail
  fail
  fail
  -init-ap-cmdline-properties
  property
  property
  property
  property
  property
  property
  condition
  -init-macrodef-javac-with-processors
  -init-macrodef-javac-without-processors
  macrodef
  -init-macrodef-javac
  macrodef
  macrodef
  -init-macrodef-test-impl
  macrodef
  -init-macrodef-junit-init
  condition
  condition
  -init-macrodef-junit-single
  -init-test-properties
  property
  property
  property
  -init-macrodef-junit-batch
  macrodef
  -init-macrodef-junit
  -init-macrodef-junit-impl
  macrodef
  Trying to override old definition of task http://www.netbeans.org/ns/j2se-project/3:test-impl
  -init-macrodef-testng
  -init-macrodef-testng-impl
  -init-macrodef-test
  macrodef
  -init-macrodef-junit-debug
  -init-macrodef-junit-debug-batch
  macrodef
  -init-macrodef-junit-debug-impl
  macrodef
  -init-macrodef-test-debug-junit
  macrodef
  -init-macrodef-testng-debug
  -init-macrodef-testng-debug-impl
  -init-macrodef-test-debug-testng
  -init-macrodef-test-debug
  -init-debug-args
  property
  condition
  condition
  condition
  condition
  -init-macrodef-nbjpda
  macrodef
  macrodef
  -init-macrodef-debug
  macrodef
  -init-macrodef-java
  macrodef
  -init-presetdef-jar
  presetdef
  -init-ap-cmdline-supported
  -init-ap-cmdline
  property
  init
  -deps-clean-init
  property
  delete
  deps-clean
  mkdir
  touch
  property
  antcall
  description
  import
  fail
  property
  taskdef
  taskdef
  taskdef
  taskdef
  -warn-already-built-clean
  propertyfile
  Updating property file: C:\bt\IOS_Catedral\build\built-clean.properties
  -do-clean
  delete
  Deleting directory C:\bt\IOS_Catedral\build
  delete
  refresh-libs
  delete
  Deleting directory C:\bt\IOS_Catedral\lib\impl
  installLibs
  -post-clean
  clean
  copy-android-override
  mkdir
  Created dir: C:\bt\IOS_Catedral\build\classes
  mkdir
  copy
  copy
  copy-libs
  copy
  -deps-jar-init
  property
  delete
  deps-jar
  mkdir
  touch
  property
  antcall
  description
  import
  fail
  property
  taskdef
  taskdef
  taskdef
  taskdef
  -warn-already-built-jar
  propertyfile
  Updating property file: C:\bt\IOS_Catedral\build\built-jar.properties
  -check-automatic-build
  available
  -clean-after-automatic-build
  -verify-automatic-build
  -pre-pre-compile
  mkdir
  -pre-compile
  echo
  Compile is forcing compliance to the supported API's/features for maximum device compatibility. This allows smaller
              code size and wider device support
  mkdir
  Created dir: C:\bt\IOS_Catedral\build\tmp
  javac
  Compiling 3 source files to C:\bt\IOS_Catedral\build\tmp
  -copy-persistence-xml
  -compile-depend
  -do-compile
  j2seproject3:javac
  sequential
  property
  mkdir
  Created dir: C:\bt\IOS_Catedral\build\empty
  javac
  Compiling 3 source files to C:\bt\IOS_Catedral\build\classes
  : [options] bootstrap class path not set in conjunction with -source 1.5
  1 warning
  copy
  Copying 1 file to C:\bt\IOS_Catedral\build\classes
  -post-compile
  delete
  delete
  delete
  mkdir
  mkdir
  mkdir
  javac
  compile
  -pre-jar
  -pre-pre-jar
  dirname
  mkdir
  Created dir: C:\bt\IOS_Catedral\dist
  -do-jar-with-manifest
  -do-jar-without-manifest
  j2seproject1:jar
  Building jar: C:\bt\IOS_Catedral\dist\IOS_Catedral.jar
  -do-jar-with-mainclass
  -do-jar-with-libraries-create-manifest
  tempfile
  touch
  -do-jar-with-libraries-copy-manifest
  -do-jar-with-libraries-set-main
  manifest
  -do-jar-with-libraries-set-splashscreen
  -init-macrodef-copylibs
  macrodef
  -do-jar-with-libraries-pack
  -do-jar-with-libraries-delete-manifest
  delete
  -do-jar-with-libraries
  -post-jar
  jar
  clean-override
  delete
  build-for-android-device
  codeNameOne

  Ant build completed with one warning in 18s at 24/01/2016 11:10 AM

我迷路了,我的apk下载了吗?如果没有是因为警告?我怎么修复它?

我在网上找不到解决方案。我推荐任何帮助

共有1个答案

魏元白
2023-03-14

您是否检查了该构建的Codename One构建服务器?

请参见使用intellij walkthru视频创建hello world应用程序

一个与NetBeans类似但更新的版本。

 类似资料:
  • 登录团队管理web.qingtui.cn/tms或通过电脑端轻推进入企业管理-选择需要管理订阅号的团队。

  • 然后我上传了游戏控制台的应用程序包,并从Google Play安装到我的手机上。接下来,我在使用该应用程序时下载了模块。但是,在我运行之后,它只显示apk,而没有apk的符号。顺便说一句,似乎安装了模块,因为模块的功能可以正常工作。 我的问题是Google Play将这些动态加载的模块(或APK)保存在哪里。以及是否有任何方法可以使用(例如)访问它们。

  • 问题内容: 这段代码什么也没给我返回,您能帮我为什么不收回价值吗? 问题答案: 你是那个意思吗 还是真的是t1.wid = t2.wid?在这种情况下,您需要左联接。 编辑 好的,所以您已修复它。除非t2中有行的wid与t1中具有相同wid的行匹配的wid,否则不会显示任何结果。 如果需要结果,请将其更改为: 下一步编辑 如果目标是使用t2中尚未存在的t1中的值更新t2,则可能是这样的: 缺少的步

  • 我是Android的新手,在我看到的教程中,它总是通过单击此选项进行编译 但是在这个新版本的Android Studio中,我找不到这个选项: 我不知道它是否有任何用处,但如果我点击运行,会出现这个屏幕,但它要求我选择一个模块,下拉列表中没有任何内容 谢谢

  • 我是Android的新手,在我见过的教程中,它总是通过点击这个选项来编译的 但在这个新版本的Android Studio中,我无法找到这个选项: 我不知道这有没有用,但是如果我点击run这个屏幕出现了,但是它要求我选择一个模块,而下拉列表中没有任何内容 谢谢

  • 很好的一天, 我有一些自定义代码从以前的非mvc应用程序。这都是单元测试之类的。现在,我需要把它放在laravel应用程序中。它们不是控制器、模型或视图?这是否意味着我必须将它们与Symfony和Swiftmailer文件夹一起放入供应商文件夹?