1

The latest updates of appcelerator to the newest SDK, cli, titanium studio, has now results in the failed built of every android modules I have created so far.

Below is the error -

Buildfile: /Users/Documents/sdk7module/android/build.xml

BUILD FAILED
/Users/Documents/sdk7module/android/build.xml:55: Cannot find /Users/Library/Application Support/Titanium/mobilesdk/osx/7.0.2.GA/module/android/build.xml imported from /Users/Documents/sdk7module/android/build.xml

Total time: 448 milliseconds

Any help is appreciated.

Rene Pot
  • 24,681
  • 7
  • 68
  • 92
spaceman12
  • 1,039
  • 11
  • 18
  • did you update the `apiversion` in the manifest? – Rene Pot Mar 12 '18 at 10:44
  • Yes I have updated to 4 – spaceman12 Mar 12 '18 at 10:45
  • Are you compiling via CLI? Please show us the command you are running. – miga Mar 12 '18 at 11:13
  • I’m compiling via studio by clicking build.xml and “run as ant1” – spaceman12 Mar 12 '18 at 11:37
  • ant is the old method to compile a module. Try to run `appc ti build -p android --build-only` in your project. Don't know about Studio :) – miga Mar 12 '18 at 12:12
  • Using the command line to build the module, im getting this new error again - [ERROR] Failed to run ndk-build [ERROR] [ERROR] /bin/sh: /usr/local/bin/ccache: No such file or directory [ERROR] make: *** [/Users/Documents/customdm_1/android/build/generated/obj/local/arm64-v8a/objs/custom.dm.one/custom.dm.one.Customdm1Module.o] Error 127 – spaceman12 Mar 13 '18 at 04:55

1 Answers1

0

After installing ccache, I was able to compile the module without any error.

spaceman12
  • 1,039
  • 11
  • 18