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.

Related Posts:

  • Javascipt to UML DiagramJSUML http://jsuml.gaertner-network.de/ … Read More
  • XSLT - Resize External GraphicResize External Graphic <fo:external-graphic  src="s\image.png"   content-height="scale-to-fit"  height="2.00in"   content-width="2.00in"  scaling="non-uniform"/> Or <xsl:attribute-set na… Read More
  • XSL - Select Node by variable name Case 1 <xsl:stylesheet version="1.0"    xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:svg="http://www.w3.org/2000/svg"    xmlns:fo="http://www.w3.org/1999/XSL/Format"  &nbs… Read More
  • Java - Bytes to Image & vice versa package org.configurator.pdfgenerator.utils; import java.awt.image.BufferedImage; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.IOException; import javax.image… Read More
  • Java - Generate Image from Google MapsBeside this API, Google Maps also provides an URL based API for extracting static Google Maps directly into desktop application, without requiring JavaScript or access keys. This API is very well explained here: http://cod… Read More

0 comments:

Post a Comment