Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8243913
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T21:40:26+00:00 2026-06-07T21:40:26+00:00

I’ve been trying to figure this out for days, to no avail. I’m developing

  • 0

I’ve been trying to figure this out for days, to no avail. I’m developing a simple android app with Titanium that works perfectly fine on iOS. Yet, when I launch it on android, it never starts. Here is my manifest.xml:

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.tiki.signals" android:versionCode="1"
    android:versionName="1">
    <uses-sdk android:minSdkVersion="8" />

    <!-- TI_MANIFEST -->

    <application android:icon="@drawable/appicon"
        android:label="Signals" android:name="SignalsApplication"
        android:debuggable="false">

        <!-- TI_APPLICATION -->

        <activity android:name=".SignalsActivity"
            android:label="Signals" android:theme="@style/Theme.Titanium"
            android:configChanges="keyboardHidden|orientation">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>

        <activity 
        android:name="ti.modules.titanium.facebook.FBActivity"
        android:theme="@android:style/Theme.Translucent.NoTitleBar"
    />

        <activity android:name="org.appcelerator.titanium.TiActivity"
            android:configChanges="keyboardHidden|orientation" />
        <activity android:name="org.appcelerator.titanium.TiTranslucentActivity"
            android:configChanges="keyboardHidden|orientation"
            android:theme="@android:style/Theme.Translucent" />
        <activity android:name="org.appcelerator.titanium.TiModalActivity"
            android:configChanges="keyboardHidden|orientation"
            android:theme="@android:style/Theme.Translucent" />
        <activity android:name="ti.modules.titanium.ui.TiTabActivity"
            android:configChanges="keyboardHidden|orientation" />
        <activity android:name="ti.modules.titanium.ui.android.TiPreferencesActivity" />

        <service android:name="org.appcelerator.titanium.analytics.TiAnalyticsService"
            android:exported="false" />
    </application>
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
    <uses-permission android:name="android.permission.ACCESS_MOCK_LOCATION"/>
    <uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
    <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
    <uses-permission android:name="android.permission.INTERNET"/>
    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
</manifest>

Here’s the logcat:

I/ActivityManager(   81): START {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.tiki.signals/.SignalsActivity} from pid 176
D/PermissionCache(   35): checking android.permission.READ_FRAME_BUFFER for uid=1000 => granted (1163 us)
D/dalvikvm(   81): GC_FOR_ALLOC freed 842K, 14% free 11108K/12807K, paused 106ms
I/dalvikvm-heap(   81): Grow heap (frag case) to 12.385MB for 1536016-byte allocation
D/dalvikvm(   81): GC_FOR_ALLOC freed 1K, 13% free 12606K/14343K, paused 105ms
W/WindowManager(   81): Failure taking screenshot for (180x300) to layer 21005
I/ActivityManager(   81): Start proc com.tiki.signals for activity com.tiki.signals/.SignalsActivity: pid=457 uid=10040 gids={1015, 3003}
I/dalvikvm(  457): Turning on JNI app bug workarounds for target SDK version 8...
W/NetworkManagementSocketTagger(   81): setKernelCountSet(10040, 1) failed with errno -2
D/dalvikvm(   81): GC_CONCURRENT freed 13K, 13% free 12619K/14343K, paused 8ms+32ms
I/Process (   81): Sending signal. PID: 457 SIG: 3
I/dalvikvm(  457): threadid=3: reacting to signal 3
I/dalvikvm(  457): Wrote stack traces to '/data/anr/traces.txt'
I/TiApplication(  457): (main) [0,0] checkpoint, app created.
I/Process (   81): Sending signal. PID: 457 SIG: 3
I/dalvikvm(  457): threadid=3: reacting to signal 3
I/dalvikvm(  457): Wrote stack traces to '/data/anr/traces.txt'
D/dalvikvm(  457): GC_CONCURRENT freed 243K, 4% free 9294K/9607K, paused 7ms+6ms
I/Process (   81): Sending signal. PID: 457 SIG: 3
I/dalvikvm(  457): threadid=3: reacting to signal 3
I/dalvikvm(  457): Wrote stack traces to '/data/anr/traces.txt'
I/TiApplication(  457): (main) [682,682] Titanium 1.8.2 (2012/02/23 17:46 59b3a90)
D/dalvikvm(  457): GC_CONCURRENT freed 422K, 5% free 9434K/9927K, paused 6ms+4ms
I/TiApplication(  457): (main) [254,936] Titanium Javascript runtime: v8
D/dalvikvm(  457): Trying to load lib /data/data/com.tiki.signals/lib/libstlport_shared.so 0x412a1e60
D/dalvikvm(  457): Added shared lib /data/data/com.tiki.signals/lib/libstlport_shared.so 0x412a1e60
D/dalvikvm(  457): No JNI_OnLoad found in /data/data/com.tiki.signals/lib/libstlport_shared.so 0x412a1e60, skipping init
D/dalvikvm(  457): Trying to load lib /data/data/com.tiki.signals/lib/libkroll-v8.so 0x412a1e60
I/TiRootActivity(  457): (main) [0,0] checkpoint, on root activity create, savedInstanceState: null
D/dalvikvm(  457): Added shared lib /data/data/com.tiki.signals/lib/libkroll-v8.so 0x412a1e60
I/Process (   81): Sending signal. PID: 457 SIG: 3
I/dalvikvm(  457): threadid=3: reacting to signal 3
I/dalvikvm(  457): Wrote stack traces to '/data/anr/traces.txt'
I/Process (   81): Sending signal. PID: 457 SIG: 3
I/dalvikvm(  457): threadid=3: reacting to signal 3
I/dalvikvm(  457): Wrote stack traces to '/data/anr/traces.txt'
I/Process (   81): Sending signal. PID: 457 SIG: 3
I/dalvikvm(  457): threadid=3: reacting to signal 3
I/dalvikvm(  457): Wrote stack traces to '/data/anr/traces.txt'
I/Process (   81): Sending signal. PID: 457 SIG: 3
I/dalvikvm(  457): threadid=3: reacting to signal 3
I/dalvikvm(  457): Wrote stack traces to '/data/anr/traces.txt'
I/Process (   81): Sending signal. PID: 457 SIG: 3
I/dalvikvm(  457): threadid=3: reacting to signal 3
I/dalvikvm(  457): Wrote stack traces to '/data/anr/traces.txt'
I/Process (   81): Sending signal. PID: 457 SIG: 3
I/dalvikvm(  457): threadid=3: reacting to signal 3
I/dalvikvm(  457): Wrote stack traces to '/data/anr/traces.txt'
I/Process (   81): Sending signal. PID: 457 SIG: 3
I/dalvikvm(  457): threadid=3: reacting to signal 3
I/dalvikvm(  457): Wrote stack traces to '/data/anr/traces.txt'
E/TiApplication(  457): (KrollRuntimeThread) [3551,3551] APP PROXY: ti.modules.titanium.app.AppModule@41334e08
I/Process (   81): Sending signal. PID: 457 SIG: 3
I/dalvikvm(  457): threadid=3: reacting to signal 3
I/dalvikvm(  457): Wrote stack traces to '/data/anr/traces.txt'
I/Process (   81): Sending signal. PID: 457 SIG: 3
I/dalvikvm(  457): threadid=3: reacting to signal 3
I/dalvikvm(  457): Wrote stack traces to '/data/anr/traces.txt'
I/Process (   81): Sending signal. PID: 457 SIG: 3
I/dalvikvm(  457): threadid=3: reacting to signal 3
I/dalvikvm(  457): Wrote stack traces to '/data/anr/traces.txt'
D/dalvikvm(  457): GC_CONCURRENT freed 349K, 5% free 9566K/10055K, paused 7ms+6ms
I/Process (   81): Sending signal. PID: 457 SIG: 3
I/dalvikvm(  457): threadid=3: reacting to signal 3
I/dalvikvm(  457): Wrote stack traces to '/data/anr/traces.txt'
I/Process (   81): Sending signal. PID: 457 SIG: 3
I/dalvikvm(  457): threadid=3: reacting to signal 3
D/dalvikvm(  457): GC_FOR_ALLOC freed 452K, 7% free 9534K/10183K, paused 84ms
I/dalvikvm(  457): Wrote stack traces to '/data/anr/traces.txt'
D/TiLocation(  457): (main) [2290,5841] preferredProvider property found [null]
D/TiLocation(  457): (main) [1,5842] accuracy property found [0]
E/TiLocationHelper(  457): (main) [31,5873] unable to register, provider is null
D/dalvikvm(  457): GC_FOR_ALLOC freed 105K, 7% free 9571K/10183K, paused 61ms
I/Process (   81): Sending signal. PID: 457 SIG: 3
I/dalvikvm(  457): threadid=3: reacting to signal 3
I/dalvikvm-heap(  457): Grow heap (frag case) to 10.878MB for 1536016-byte allocation
I/dalvikvm(  457): Wrote stack traces to '/data/anr/traces.txt'
D/dalvikvm(  457): GC_CONCURRENT freed 1K, 6% free 11070K/11719K, paused 8ms+5ms
I/TiRootActivity(  457): (main) [0,0] checkpoint, on root activity resume. activity = com.tiki.signals.SignalsActivity@412aba88
V/PhoneStatusBar(  134): setLightsOn(true)
I/Process (   81): Sending signal. PID: 457 SIG: 3
I/dalvikvm(  457): threadid=3: reacting to signal 3
W/InputManagerService(   81): Starting input on non-focused client com.android.internal.view.IInputMethodClient$Stub$Proxy@41434cb8 (uid=10013 pid=176)
I/dalvikvm(  457): Wrote stack traces to '/data/anr/traces.txt'
D/gralloc_goldfish(  457): Emulator without GPU emulation detected.
I/ActivityManager(   81): Displayed com.tiki.signals/.SignalsActivity: +9s553ms
W/NetworkManagementSocketTagger(   81): setKernelCountSet(10013, 0) failed with errno -2
D/ExchangeService(  355): Received deviceId from Email app: androidc259148960
D/ExchangeService(  355): Reconciling accounts...
D/dalvikvm(   81): GC_EXPLICIT freed 1712K, 23% free 11125K/14343K, paused 7ms+11ms
W/ThrottleService(   81): unable to find stats for iface rmnet0
W/TiAnalyticsSvc(  457): (Thread-65) [23787,23787] Analytics Service Started
I/TiAnalyticsSvc(  457): (Thread-65) [152,23939] Sending 2 analytics events.
W/TiAnalyticsSvc(  457): (Thread-65) [1072,25011] Stopping Analytics Service

Here’s my tiapp.xml:

<?xml version="1.0" encoding="UTF-8"?>
<ti:app xmlns:ti="http://ti.appcelerator.org">
    <property name="ti.android.runtime">v8</property>
    <property name="ti.android.threadstacksize" type="int">132768</property>
    <property name="ti.android.fastdev" type="bool">false</property>
    <sdk-version>1.8.2</sdk-version>
    <deployment-targets>
        <target device="mobileweb">false</target>
        <target device="iphone">true</target>
        <target device="ipad">true</target>
        <target device="android">true</target>
        <target device="blackberry">false</target>
    </deployment-targets>
    <id>com.tiki.signals</id>
    <name>Signals</name>
    <version>1.0</version>
    <publisher>Michael</publisher>
    <url>http://</url>
    <description>not specified</description>
    <copyright>2012 by meilers</copyright>
    <icon>appicon.png</icon>
    <persistent-wifi>false</persistent-wifi>
    <prerendered-icon>false</prerendered-icon>
    <statusbar-style>default</statusbar-style>
    <statusbar-hidden>false</statusbar-hidden>
    <fullscreen>false</fullscreen>
    <navbar-hidden>false</navbar-hidden>
    <analytics>true</analytics>
    <guid>49aefe11-b922-4f04-bffd-887ed59cb5d3</guid>
    <iphone>
        <orientations device="iphone">
            <orientation>Ti.UI.PORTRAIT</orientation>
        </orientations>
        <orientations device="ipad">
            <orientation>Ti.UI.PORTRAIT</orientation>
            <orientation>Ti.UI.UPSIDE_PORTRAIT</orientation>
            <orientation>Ti.UI.LANDSCAPE_LEFT</orientation>
            <orientation>Ti.UI.LANDSCAPE_RIGHT</orientation>
        </orientations>
    </iphone>
    <android xmlns:android="http://schemas.android.com/apk/res/android"/>
    <modules/>
</ti:app>

What is happening here? I don’t see any error in logcat. The VM is just shutting down, with no reason. Please help!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T21:40:27+00:00Added an answer on June 7, 2026 at 9:40 pm

    One item comes to mind just looking at the logcat… Not enough memory. You’ll see memory free dip to 3% YIKES!. Usually try to keep 10% free or OS may go into a paging fit and possible time out some features.

    Disable some features in the app and watch the memory under the emulator.
    Best recommendation install the app onto actual phone, though the emulator is supposed to give close tor real world results. Which I dont count on emulating any hardware device well.

    Here’s some code to dump memory usage. You need to find out what your target class is.
    Older phones have as little as 16MB newer ones 48MB before the OS starts picking on your app. Put code in Oncreate.

     Runtime rt = Runtime.getRuntime();
     long maxMemory = rt.maxMemory();
     Log.v("onCreate", "maxMemory:>>>>>" + Long.toString(maxMemory));   //max available memory to use
    
     ActivityManager am = (ActivityManager) getSystemService(ACTIVITY_SERVICE);
     int memoryClass = am.getMemoryClass();
     Log.v("onCreate", "memoryClass:>>>>" + Integer.toString(memoryClass));  //max available you should use to keep from getting bumped off
    
     printl("PGM MEM FREE MB", GetInternalMemAvail());
     printl("INTERNAL STORAGE FREE MEMORY BYTES",getmem());
     printl("INTERNAL TOTAL MEMORY BYTES",TotalMemory());
     printl("SD MEM FREE MB",GetSDMemAvail());
     printl("SD MEM GB",getAvailableSpaceInGB());
    
     private static void printl(String printstring,long x)
     {
      String temp;
      temp=String.format(" %d",x);
      Log.e(printstring,temp);  
     } 
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I am doing a simple coin flipping experiment for class that involves flipping a
I'm trying to create an if statement in PHP that prevents a single post
I have a jquery bug and I've been looking for hours now, I can't
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have just tried to save a simple *.rtf file with some websites and
For some reason, after submitting a string like this Jack’s Spindle from a text

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.