Build error when create a Titanium Module

2020-04-19 07:49发布

I have create a new Mobile Module Project, but when i try to build it, i have this error:

BUILD FAILED C:\ProgramData\Titanium\mobilesdk\win32\5.2.2.GA\module\android\build.xml:165: no executable specified

Did something wrong? I did the following step: -Installed Appcelerator Studio -It automatically installed Titanium SDK and i selected to install Android SDK -Installed JAVA JDK -Createed new module and tryed to build it

2条回答
beautiful°
2楼-- · 2020-04-19 08:10

To fix this, edit the file:

C:\ProgramData\Titanium\mobilesdk\win32\5.2.2.GA\module\android\build.xml

Or for any newer SDK versions, just use e.g. 5.3.1 instead of 5.2.2 On line 159, add ".exe" to aidl, like so:

TO

查看更多
ら.Afraid
3楼-- · 2020-04-19 08:27

To develop android module you will have to install some additional component and configure some path variables. There is a nice quick start guide where you will find everything. Thinks that need to install:

Android NDK

Ant

Eclipse Java Development Tools plugin

Android Development Tools plugin

gperf

Python

Documentation Link

查看更多
登录 后发表回答