Appcelerator Studio Android应用程序无法运行

VRK

当我尝试运行android应用时,我已经安装了新鲜的appcelerator Studio和Titan CLI和其他依赖项,然后显示以下错误:

[INFO] :   Packaging application: ../sw/android-sdk-macosx/build-tools/24.0.2/aapt "package" "-f" "-m" "-J" "WorkData/Appcelator Projects/test/build/android/gen" "-M" "../Appcelator Projects/test/build/android/AndroidManifest.xml" "-A" "../WorkData/Appcelator Projects/test/build/android/bin/assets" "-S" "../WorkData/Appcelator Projects/test/build/android/res" "-I" "../sw/android-sdk-macosx/platforms/android-23/android.jar" "-F" "../WorkData/Appcelator Projects/test/build/android/bin/app.ap_" "--auto-add-overlay" "--extra-packages" "ti.modules.titanium.ui:android.support.v7.appcompat:android.support.v7.cardview" "-S" "/var/folders/jf/f17wzygx4nbd6fg5wsntf4840000gn/T/116820-1742-1nuy1sx.xxrqp30udi/res" "-S" "/var/folders/jf/f17wzygx4nbd6fg5wsntf4840000gn/T/116820-1742-hop1bc.t53b359udi/res" "-S" "/var/folders/jf/f17wzygx4nbd6fg5wsntf4840000gn/T/116820-1742-6n4mu0.4svn3o9a4i/res"
2016-09-20T06:14:33.921Z | ERROR  | An uncaught exception was thrown!
Path must be a string. Received undefined
2016-09-20T06:14:33.922Z | ERROR  | Path must be a string. Received undefined

而且我还能够在iPhone上运行相同的项目。

我的机器配置如下:

Operating System
  Name                        = Mac OS X
  Version                     = 10.11.6
  Architecture                = 64bit
  # CPUs                      = 4
  Memory                      = 8589934592
Node.js
  Node.js Version             = 6.5.0
  npm Version                 = 3.10.3
Titanium CLI
  CLI Version                 = 5.0.9
Titanium SDK
  SDK Version                 = 5.5.0.GA
  SDK Path                    = /Users/neosoft/Library/Application Support/Titanium/mobilesdk/osx/5.5.0.GA
  Target Platform             = android
Command

谁能帮我解决问题...

Prashant Saini

看到我的Android SDK文件夹看起来像这样:

尝试查看您的Android SDK文件夹,并检查是否存在与版本24相关的任何内容。在删除与版本24相关的所有内容之后,还请执行以下任务:

  • tiapp.xml中删除uses-sdk标记,然后让Titanium SDK自行处理。
  • 从Titanium项目根目录中删除buildResources文件夹
  • 立即清理并运行项目。

在此处输入图片说明

在此处输入图片说明

在此处输入图片说明

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章

更新到Android Studio 3.0后无法运行Ionic应用程序

Visual Studio Android模拟器无法运行应用程序

从Appcelerator Studio运行Genymotion Android模拟器时出现“找不到Android SDK版本”错误

无法在Android Studio上运行应用程序项目

Appcelerator Studio-当我在视频播放器中加载URL时,Android应用程序在棉花糖上崩溃

Appcelerator Studio无法打开

El Capitan更新后,Appcelerator Studio应用程序无法运行。无效的编译请求

无法解析应用程序的Info.plist appcelerator studio错误

运行应用程序vs应用更改android studio 2.3

Appcelerator Studio-无法启动iOS应用程序

无法在Android Studio 3.0上使用Instant Run运行应用程序

全新安装后无法打开Appcelerator Studio

Appcelerator:Studio更新后无法运行或发布应用

Appcelerator Studio与Titanium Studio

Appcelerator / Titanium Android主题-无法打包应用程序

无法在IOS8中运行Appcelerator Titanium应用程序

无法在Android Studio上运行Android应用程序弹出编辑配置

Android Studio未运行应用程序

Android Studio正在运行的应用程序后台运行

Android Studio错误正在运行的应用程序:无法获取调试桥

Android Studio无法运行以调试应用程序

Android Studio应用程序无法在Windows 7计算机上运行

appcelerator studio buildToolsVersion 24.0.2错误?

应用程序无法在Android Studio的Android Marshmallow设备上运行

使用 Appcelerator Studio 时 Appcelerator 构建失败

Android Studio 无法在模拟器上运行应用程序

无法在 Mac 中运行/打开 Android Studio 应用程序和 android 模拟器

Appcelerator Studio 在安装之前在哪里下载 Android sdk 文件?

Android Studio - 无法调试应用程序