0

I am using Windows 7.

but Ti.API.INFO not displaying in console. I changed log level also but still its not display in console can some one help how to show info..

Android device is working fine but not displaying INFO in it also.

and emulator is not launching also.

Ti.API.info('splash function run');

BenMorel
  • 34,448
  • 50
  • 182
  • 322
AndyBoy
  • 564
  • 6
  • 29

2 Answers2

1

Maybe you can find your answer in this post

Now, my 2 cents, sometimes there is a problem running the emulator when you have your phone plugged at the same time. You could try unplugging your device first.

But perhaps, debugging with the emulator isn't what you want. I recommend to start the ddms tool. And use a query to search what you need, like one of these: tag:ti, tag:tia, tag:tiapi

In order to do that, open a terminal and go to your android sdk folder, cd tools, and run ddms command. You can find where is your android sdk folder looking into Titanium Studio -> Preferences -> Studio -> Platforms -> Android.

Edit

Another option is to run titanium commands from a terminal pointing to your project folder:

cd "path/to/your/project/folder"
# in case of using the emulator
ti build -p android
# in case of using your device
ti build -p android -T device
Community
  • 1
  • 1
kabomi
  • 526
  • 2
  • 10
  • "You can find where is your android sdk folder looking into Titanium Studio -> Preferences -> Studio -> Platforms -> Android". From there it should be on tools folder. You can try to search it on windows explorer search bar: `ddms.bat` – kabomi Dec 05 '13 at 09:55
  • ohhh that i missed it really, I think it should placed in titanium only. – AndyBoy Dec 05 '13 at 10:07
  • can you acknowledge me ?? :) – AndyBoy Dec 05 '13 at 10:08
0

Android device does not show console on titanium for seeing the result on android one possible solution could be alert that results

alert('I am alert');

Thanks

Wahhab_mirza
  • 1,484
  • 2
  • 10
  • 17