0

I'm trying to compile a Titanium Module (android) but I'm getting this error:

Launching build and packaging failed Build failed. Unable to locate generated zip file at /Users/ricardo/Documents/Appcelerator_Studio_Workspace/flashcam-android/dist/pt.ricardo.flashcam-android-1.0.7.zip

I've found this recent question and JIRA ticket, but still, everything that solved the problem doesn't work for me.

https://jira.appcelerator.org/browse/AC-3806

Build ti.barcode failed

I've tried with 5.2.2.GA, 5.3.0.GA and 6.0.0.v20160620083247-osx.

I'm using a MacBook Pro with OSX 10.10.5

Community
  • 1
  • 1
rjcpereira
  • 943
  • 4
  • 17

2 Answers2

0

try to see if you have a tiapp.xml or timodule.xml file in the root of the workspace. This could be the cause of the problem. Also, Make sure your NDK path is set correctly.

Sharif Abu Darda
  • 493
  • 3
  • 10
  • I've already check for that, I don't have any tiapp.xml or timodule.xml in the workspace root or in the module root folder. The NDK path is correct, yesterday I've also update the NDK version, but still no success – rjcpereira Jun 21 '16 at 09:40
  • I've changed the location of android SDK and NDK (latest versions), downloaded all android API versions, I've the latest Titanium SDK, Titanium CLI, Java version, still nothing – rjcpereira Jun 21 '16 at 13:34
  • I am also having the same problem on iOS..tried everything I could do like switching workspace, creating new module, removing old files..blah blah..., but never been in such problems after creating many modules...seems something is broken after recent updates...any luck @Ricardo??? – Prashant Saini Jun 24 '16 at 09:15
  • Still no success, I'll do a full re-install of appcelerator studio and they I'll give feedback – rjcpereira Jun 27 '16 at 09:40
  • @Prashant Saini, posted as an answer – rjcpereira Jun 27 '16 at 12:02
  • That is not a feasible answer as we should never put anything inside Applications folder and it is nowhere mentioned to do so, but I have found the genuine solution for that issue on iOS. I will post it as an answer tonight. – Prashant Saini Jun 27 '16 at 12:25
0

I've removed the Appcelerator Studio application and the Titanium folder inside Library/Application Support.

Placed the android SDK and NDK inside the applications folder, and install the studio again, and JDT, now it works.

rjcpereira
  • 943
  • 4
  • 17