Android Question How to prevent a Tablet from crashing in Debug Mode

Discussion in 'Android Questions' started by Tjitte Dijkstra, Sep 4, 2015.

  1. Tjitte Dijkstra

    Tjitte Dijkstra Member Licensed User

    Working on my 40SQUARE app (already in the App Store) I tried to enhance the possibilities and I added some pictures as well. At present the .apk file is some 12 Mb. Working in the Debug mode the tablet crashes very often, and never in the Release Mode. Is there something that I am not aware of? My laptop has 4 Gb of memory and the SSD some 40 Gb free space. I am working in Win 10.
    My Tablet is a Samsung with 6 Gb free.
    Can anybody give me an advice?
     
  2. JordiCP

    JordiCP Well-Known Member Licensed User

    What do the logs say when it crashes?
     
  3. Tjitte Dijkstra

    Tjitte Dijkstra Member Licensed User

    There was nothing special, execpt this:
    Add the following to the Manifest Editor
    SetApplicationAttribute(android:theme, "@android:style/Theme.Holo")
    I did so and for the moment the problem is gone, but sense does this make?
     
  4. Erel

    Erel Administrator Staff Member Licensed User

    There should be an error message in the logs. Check the unfiltered logs as well.
     
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