Start a new topic

Exception occured while building Android project

Exception occured while building Android project


Hi there!

Did you add latest wikitudesdk.jar to the lib-folder of the project? Cleanest way is to export module via Titanium by importing AndroidModule into TitaniumStudio and export it to the Sample-Project. You need to first add the wikitudesdk.jar to the lib-folder of the Module and then export it.

Hope that helps.

Regards,
Andreas

Running the titanium sample application to install on android device gives the error:

 

Exception occured while building Android project:

Traceback (most recent call last):

  File "/Users/anuragreddy/Documents/Titanium_Studio_Workspace/android-sdk-macosx/mobilesdk/osx/3.1.1.GA/android/builder.py", line 2604, in <module>

    builder.build_and_run(True, avd_id, device_args=device_args, debugger_host=debugger_host, profiler_host=profiler_host)

  File "/Users/anuragreddy/Documents/Titanium_Studio_Workspace/android-sdk-macosx/mobilesdk/osx/3.1.1.GA/android/builder.py", line 2315, in build_and_run

    self.manifest_changed = self.generate_android_manifest(compiler)

  File "/Users/anuragreddy/Documents/Titanium_Studio_Workspace/android-sdk-macosx/mobilesdk/osx/3.1.1.GA/android/builder.py", line 1443, in generate_android_manifest

    '-I', self.android_jar>, warning_regex=r'skipping')

  File "/Users/anuragreddy/Documents/Titanium_Studio_Workspace/android-sdk-macosx/mobilesdk/osx/3.1.1.GA/android/run.py", line 38, in run

    print " %s" % subprocess.list2cmdline(args_to_log)

  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 580, in list2cmdline

TypeError: argument of type 'NoneType' is not iterable

:  Build process exited with code 1

:  Project failed to build after 2s 518ms
Login or Signup to post a comment