1

尝试使用 Appcelerator 运行 Android 模拟器时遇到问题。我是这个程序的新手,没有太多运气找到如何解决这个错误的答案。到目前为止,我的应用程序开发知识是 Xcode 和 Apache Cordova。我已经卸载/重新安装了 Appcelerator 以及不同版本的 Node,但没有运气。iPhone 运行良好,所以我猜测它与 Java 有关,但我不知道如何或在哪里找到或修复它。我正在使用 Node v8.16.0 和 npm v6.4.1 运行 Appcelerator v7.1.2。任何帮助是极大的赞赏!

以下是我尝试为 Android 运行时显示的内容。

[INFO] :   Deploy type: development
[INFO] :   Building for target: emulator
[INFO] :   Building for emulator: Pixel_2_XL_API_29
[INFO] :   Targeting Android SDK API: 29
[INFO] :   Building for the following architectures: arm64-v8a, armeabi-v7a, x86
[INFO] :   Signing with keystore: /Users/user/Library/Application Support/Titanium/mobilesdk/osx/8.3.0.GA/android/dev_keystore (tidev)
[INFO] :   Debugging disabled
[INFO] :   Profiler disabled
[INFO] :   Transpile javascript: true
[INFO] :   Generate source maps: true
[INFO] :   Forcing rebuild: /Users/user/Documents/Appcelerator_Studio_Workspace/MyFirstApp/build/android/build-manifest.json does not exist
[INFO] :   Starting Hyperloop assembly
[INFO] :   [Hyperloop] Generating system metabase
**[ERROR] Application Installer abnormal process termination. Process exit value was 1
[ERROR] :  hyperloop:generateMetabase: Failed to generated metabase: warning: [options] bootstrap class path not set in conjunction with -source 6
error: Source option 6 is no longer supported. Use 7 or later.
error: Target option 6 is no longer supported. Use 7 or later.
[ERROR] :  An error occurred during build after 735ms
[ERROR] :  warning: [options] bootstrap class path not set in conjunction with -source 6
[ERROR] :  error: Source option 6 is no longer supported. Use 7 or later.
[ERROR] :  error: Target option 6 is no longer supported. Use 7 or later.**
4

1 回答 1

1

由于不同的用户有相同的问题并提供了其他信息,因此很可能是同一个问题:

  • 使用 Java 1.8
  • 使用节点 10.13.x

特别是需要Java版本。Node 可能在较新的版本中工作,但目前官方支持的版本是 10.13.x

于 2020-01-03T09:29:43.517 回答