Android Question Unfortunately application has stop

Discussion in 'Android Questions' started by Kiran Raotole, Mar 29, 2019.

  1. Kiran Raotole

    Kiran Raotole Active Member Licensed User

    Unfortunately application has stopped.

    I get this error on samsung tablet SM-T116NY
    Android Version : 4.4.4
    Android security patch level 2017-08-01
    I am using AppCompat lib ver 3.52 and
    #Extends: android.support.v7.app.AppCompatActivity
    Error occured on all mode : debug,release

    Application run on other android mobile with no problem.

    What's the problem?
     
  2. DonManfred

    DonManfred Expert Licensed User

    YOU need to tell us. The Error is in the Log when you get this Message.
    We can not help without knowing the exact Errormessage.
     
    Last edited: Mar 29, 2019
  3. Kiran Raotole

    Kiran Raotole Active Member Licensed User

    No message in log.
     
  4. DonManfred

    DonManfred Expert Licensed User

    IMPOSSIBLE!

    Connect your device running USB Debugging and check the Log.
    Maybe you need to check the unfiltered log.

    But the Error is 100% in the Log. There is no Crash in Android without having the Crash in the LOG.
     
  5. Kiran Raotole

    Kiran Raotole Active Member Licensed User

    Filter Log:
    Installing file.
    PackageAdded: package:b4a.example
    Installing file.


    Unfilter Log:
    getDevSummary: NetworkStats: elapsedRealtime=0
    getXtSummary: NetworkStats: elapsedRealtime=2485325508
    [0] iface=null uid=-1 set=ALL tag=0x0 rxBytes=1120003 rxPackets=2208 txBytes=537538 txPackets=2615 operations=0
    onFinishInflate()
    update()
    isPcwEnable = null
    supports magazine card...
    Show right-most page 0
    isPcwEnable = null
    showPrimarySecurityScreen(turningOff=false)
    showSecurityScreen(None)
    inflating id = 2130903081
    explore by touch mode off
    *** register callback for com.android.keyguard.KeyguardMessageArea$3@424f68d8
    *** unregister callback for null
    START u0 {intent should not be shown cause by security} from pid 23705
    acquireDVFSLockLocked : type : DVFS_MIN_LIMIT frequency : 1200000 uid : 1000 pid : 589 pkgName : ACTIVITY_RESUME_BOOSTER@3
    mDVFSHelper.acquire()
    semi p:25366,o:f
    isPcwEnable = null
    setCurrentAppOrientation :2
    setCurrentAppOrientation enable auto rotation
    mIsAirViewEnabled =false
    hideBouncer mBouncerHelpText != null
    Timeline: Activity_idle id: android.os.BinderProxy@42b9a5b8 time:11841619
    getProposedRotation : mEnabled = false, mUsedautorotioansensor =true
    rotationForOrientationLw(orient=2, last=0); user=0 USER_ROTATION_LOCKED sensorRotation=-1 mLidState=-1 mDockMode=0 mHdmiPlugged=false mAccelerometerDefault=false
    getProposedRotation : mEnabled = false, mUsedautorotioansensor =true
    hideBouncer mBouncerHelpText != null
    onRestart, Launcher: 1112142424
    onStart, Launcher: 1112142424
    onStart
    AUTO_WIPE = false
    setOnClickHandler()
    isPcwEnable = null
    *** register callback for com.android.keyguard.KeyguardHostView$1@426baa60
    *** unregister callback for null
    hide transport, gen:20
    music state changed: 0
    homtime : falseisProfile: false
    isIgnoreNationalRoaming() = false
    *** register callback for com.android.keyguard.KeyguardWidgetFrame$1@424f9300
    *** unregister callback for null
    setCurrentAppOrientation :-1
    setCurrentAppOrientation enable auto rotation
    *** register callback for com.android.keyguard.CarrierText$1@42d2adc0
    *** unregister callback for null
    *** register callback for com.android.keyguard.EmergencyButton$1@432b7a08
    *** unregister callback for null
    onStop, Launcher: 1112142424
    onStop
    getProposedRotation : mEnabled = false, mUsedautorotioansensor =true
    rotationForOrientationLw(orient=-1, last=0); user=0 USER_ROTATION_LOCKED sensorRotation=-1 mLidState=-1 mDockMode=0 mHdmiPlugged=false mAccelerometerDefault=false
    getProposedRotation : mEnabled = false, mUsedautorotioansensor =true
    onTrimMemory. Level: 20
    isPcwEnable = null
    isPcwEnable = null
    hideBouncer mBouncerHelpText != null
    Rotation sensor for lock screen On!
    show:setSystemUiVisibility(2200000)
    isLiveWallpaper1
    show()
    showPrimarySecurityScreen(turningOff=false)
    showSecurityScreen(None)
    isPcwEnable = null
    setLockScreenWallpaper()
    getCurrentWallpapernull
    getDefaultWallpaper/data/data/com.sec.android.gallery3d/lockscreen_wallpaper.jpg
    GC_FOR_ALLOC freed 5106K, 51% free 13126K/26280K, paused 35ms, total 35ms
    Grow heap (frag case) to 19.585MB for 4194320-byte allocation
    native_finalize
    release
    GC_CONCURRENT freed 153K, 36% free 17068K/26280K, paused 3ms+4ms, total 37ms
    GC_EXPLICIT freed 325K, 65% free 5266K/14744K, paused 2ms+4ms, total 29ms
    show mSoundPool is null
    decode(93, 6495040, 11571)
    decode(48, 6495040, 11571)
    *** register callback for com.android.keyguard.sec.KeyguardEffectViewMain$2@420aaeb8
    *** unregister callback for null
    player type = 3
    notify(0xb8345560, 8, 0, 0)
    ignored
    Autodetected media content as 'application/ogg' with confidence 0.20
    OggSource::OggSource() mExtractor ref count = 4
    prepare
    wait for prepare
    SecMediaClock constructor
    reset
    findMatchingCodecs, componentName: OMX.google.vorbis.decoder, matchIndex: 14
    Attempting to allocate OMX node 'OMX.google.vorbis.decoder'
    Successfully allocated OMX node 'OMX.google.vorbis.decoder'
    [OMX.google.vorbis.decoder] OMXCodec::start mState=1
    [OMX.google.vorbis.decoder] allocating 4 buffers of size 8192 on input port
    [OMX.google.vorbis.decoder] allocating 4 buffers of size 32768 on output port
    [OMX.google.vorbis.decoder] Now Idle. Component sends idle done Event
    isPcwEnable = null
    notify(0xb8345560, 5, 0, 0)
    ignored
    notify(0xb8345560, 1, 0, 0)
    prepared
    wait - success
    start
    isPcwEnable = null
    [OMX.google.vorbis.decoder] 0onCmdComplete mState = 7
    [OMX.google.vorbis.decoder] PORT_DISABLED(1)
    [OMX.google.vorbis.decoder] allocating 4 buffers of size 32768 on output port
    open(44100, 2, 0x0, 1, 4)
    notify(0xb8345560, 6, 0, 0)
    ignored
    First fillBuffer call!!
    wait for playback complete
    isPcwEnable = null
    adjustStatusBarLocked: mShowing=true mHidden=false isSecure=false --> flags=0x1000000
    Container Service Bind returns null
    ContainerService is not yet ready!!!
    manageDisableList what=0x1000000 pkg=com.android.keyguard
    isStatusBarExpansionAllowed : true
    Skipped 40 frames! The application may be doing too much work on its main thread.
    removeWindow window
    [api] userActivity : event: 3 flags: 0 (uid: 10015 pid: 729) eventTime = 11842131
    show
    Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1358 com.android.server.accessibility.AccessibilityManagerService$DirectAccessBrocastReceiver.onReceive:336 android.app.LoadedApk$ReceiverDispatcher$Args.run:759 android.os.Handler.handleCallback:733 android.os.Handler.dispatchMessage:95
    setCurrentAppOrientation :2
    setCurrentAppOrientation enable auto rotation
    Intent Receive : ACTION_CLOSE_SYSTEM_DIALOGS
    manageDisableList what=0x2600000 pkg=WindowManager.LayoutParams
    getProposedRotation : mEnabled = false, mUsedautorotioansensor =true
    rotationForOrientationLw(orient=2, last=0); user=0 USER_ROTATION_LOCKED sensorRotation=-1 mLidState=-1 mDockMode=0 mHdmiPlugged=false mAccelerometerDefault=false
    getProposedRotation : mEnabled = false, mUsedautorotioansensor =true
    isStatusBarExpansionAllowed : true
    fb_post fps = 2.806144
    [api] setUserActivityTimeoutOverrideFromWindowManagerInternal: timeoutMillis: 10000
    [api] setScreenDimDurationOverrideFromWindowManagerInternal: timeoutMillis: 0
    [api] setButtonTimeoutOverrideFromWindowManagerInternal: timeoutMillis: 10000
    [OMX.google.vorbis.decoder] End Of Stream
    handleUpdate()
    getTopEventView()
    getTopContextualEvent()
    notify(0xb8345560, 2, 0, 0)
    playback complete - thread will wake up later
    notify(0xb8345560, 7, 0, 0)
    ignored
    wait - success
    notify(0xb8345560, 8, 0, 0)
    ignored
    [OMX.google.vorbis.decoder] stop mState=4
    [OMX.google.vorbis.decoder] stop() sendCommand(0x80, OMX_CommandStateSet, OMX_StateIdle)
    [OMX.google.vorbis.decoder] Now Idle. Component sends idle done Event
    [OMX.google.vorbis.decoder] stopOmxComponent_l() mstate = 1
    OggSource::stop() mExtractor ref count = 1
    OggSource::~OggSource() mExtractor !mStarted ref count = 1
    ~OggSource --
    ~OggExtractor ++
    ~MyVorbisExtractor ++
    ~MyVorbisExtractor --
    ~OggExtractor --
    instance freeNode
    reset out
    SecMediaClock destructor
    decode(97, 6519052, 20394)
    decode(48, 6519052, 20394)
    player type = 3
    notify(0xb8345560, 8, 0, 0)
    ignored
    Autodetected media content as 'application/ogg' with confidence 0.20
    top view = statusView
    onAttachedToWindow()
    OggSource::OggSource() mExtractor ref count = 4
    prepare
    wait for prepare
    SecMediaClock constructor
    reset
    findMatchingCodecs, componentName: OMX.google.vorbis.decoder, matchIndex: 14
    Attempting to allocate OMX node 'OMX.google.vorbis.decoder'
    Successfully allocated OMX node 'OMX.google.vorbis.decoder'
    [OMX.google.vorbis.decoder] OMXCodec::start mState=1
    [OMX.google.vorbis.decoder] allocating 4 buffers of size 8192 on input port
    [OMX.google.vorbis.decoder] allocating 4 buffers of size 32768 on output port
    [OMX.google.vorbis.decoder] Now Idle. Component sends idle done Event
    notify(0xb8345560, 5, 0, 0)
    ignored
    notify(0xb8345560, 1, 0, 0)
    prepared
    wait - success
    start
     
  6. DonManfred

    DonManfred Expert Licensed User

    Use QUOTE Tag when posting such logs. It is nearly unreadable like this
     
  7. Kiran Raotole

    Kiran Raotole Active Member Licensed User

    Unfilter Log:
     
  8. Kiran Raotole

    Kiran Raotole Active Member Licensed User

    Unfilter Log again :
     
  9. José J. Aguilar

    José J. Aguilar Active Member Licensed User

    You should show us your code too (again, use code tags)

    Not sure, but it seems your missing some resources from some library you’re using

    Code:
    android.content.pm.PackageManager$NameNotFoundException: com.sec.enterprise.knox.cloudmdm.smdms
    FATAL 
    EXCEPTION: main
    Process: com.ctron.mobile, PID: 
    30959
    java.lang.RuntimeException: Unable 
    to start activity ComponentInfo{com.ctron.mobile/com.ctron.mobile.main}: android.content.res.Resources$NotFoundException: File res/drawable/abc_vector_test.xml from drawable [/&code]
     
  10. DonManfred

    DonManfred Expert Licensed User

    You should use V4.0 when using Api28 Android.jar i guess.
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice