Tuesday, May 28, 2013

Titanium - Trouble Shooting - Top FAQ

Trouble Shooting

Failed to load the JNI shared library ...jvm.dll

Install additional 32bit version of Java (without removing the 64bit). The two things which I had to change were:
  • the system PATH variable (i added "C:\Program Files (x86)\Java\jre7\bin" - place where installed my 32bit java).
  • [little mod inTitaniumStudio.ini by adding]
         -vm C:\Program Files (x86)\Java\jre7\bin\javaw.exe"

Failed to create java virtual machine
Remove --launcher.XXMaxPermSize 256m from titaniumstudio.ini and start again

Failed to install acs. Please see the Studio log for more information 

Run  TitaniumStudio.exe as Administrator

Emulator process exited with code 1

changed the SDK version number in these lines from 11 to 14 - with relevant existing emulator

<uses-sdk android:targetSdkVersion="14"/>
<tool-api-level>14</tool-api-level>
 
Error typeerror argument of type 'nonetype' is not iterable 

Copy the following files from build-tools to platform-tools
 
C:\Android\build-tools\17.0.0\aapt.exe to C:\Android\platform-tools\aapt.exe
C:\Android\build-tools\17.0.0\dx.bat  to  C:\Android\platform-tools\dx.bat
C:\Android\build-tools\17.0.0\lib  to  C:\Android\platform-tools\lib 

Failure [INSTALL_FAILED_MISSING_SHARED_LIBRARY
Select 'Run Configurations' from the 'Run' menu, find 'Titanium Android Emulator - appcelerator-KitchenSink-...', then change the 'Android API' field to 'Google APIs Android 2.1-...'

Running Application in Android Simulator - Time out
adb kill-server

Where does Titanium put the APK file?
build/android/bin.

0 comments:

Post a Comment