progman

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: Debug apk crashed immediately after start #7034
    progman
    Participant

    It crash only on Android 5.0 and 5.1 ( I tested on Samsung Galsy S5 and Samsung Galaxy Tab ).  After start system show message “Unfortunatelly, <applicationname>  has stopped”.

    Does not crush on Android 4.4.2 ( I tested on Samsung Galaxy Note 3 )

    >>Does it also crash when you run the debug APK without debugging?

    It crash always. If I try launch debug apk it crash 100%. With debugging or without debugging – no difference.

    But release apk works good!

     

    • This reply was modified 9 years, 1 month ago by progman.
    in reply to: [Android] VisualGDB wrong paths #2352
    progman
    Participant

    @bazis wrote:

    Hi,
    Which version of NDK and SDK are you using?

    we are using android-ndk-r8b and SDK 20.0.3

    @bazis wrote:

    Hi,
    Are you using a custom Android.mk file? Could you please post it here or send to the support email?

    LOCAL_PATH:= $(call my-dir)
    
    include $(CLEAR_VARS)
    
    LOCAL_MODULE    := StarGameCasino
    LOCAL_CFLAGS    := -Werror
    #VisualGDBAndroid: AutoUpdateSourcesInNextLine
    LOCAL_SRC_FILES := core/AutoUpdateSystem.cpp core/casino.cpp core/Game.cpp core/io.cpp core/Kernel.cpp core/KernelDispatcher.cpp core/KernelInterfaces.cpp core/KernelModulesSlots.cpp core/KernelNetwork.cpp core/MultiTouch.cpp core/PlayerProfile.cpp core/stdafx.cpp core/xmlMgr.cpp ndk/BaseApplication.cpp ndk/IwHTTP.cpp ndk/Keyboard.cpp ndk/s3e.cpp ndk/s3eFile.cpp ndk/Touch.cpp ndk_entry.cpp ndk/IwImage.cpp ndk/libpng/png.c ndk/libpng/pngerror.c ndk/libpng/pngget.c ndk/libpng/pngmem.c ndk/libpng/pngpread.c ndk/libpng/pngread.c ndk/libpng/pngrio.c ndk/libpng/pngrtran.cpp ndk/libpng/pngrutil.c ndk/libpng/pngset.c ndk/libpng/pngtrans.c ndk/libpng/pngwio.c ndk/libpng/pngwrite.c ndk/libpng/pngwtran.c ndk/libpng/pngwutil.c ndk/libjpeg/jcapimin.c ndk/libjpeg/jcapistd.c ndk/libjpeg/jccoefct.c ndk/libjpeg/jccolor.c ndk/libjpeg/jcdctmgr.c ndk/libjpeg/jchuff.c ndk/libjpeg/jcinit.c ndk/libjpeg/jcmainct.c ndk/libjpeg/jcmarker.c ndk/libjpeg/jcmaster.c ndk/libjpeg/jcomapi.c ndk/libjpeg/jcparam.c ndk/libjpeg/jcphuff.c ndk/libjpeg/jcprepct.c ndk/libjpeg/jcsample.c ndk/libjpeg/jctrans.c ndk/libjpeg/jdapimin.c ndk/libjpeg/jdapistd.c ndk/libjpeg/jdatadst.c ndk/libjpeg/jdatasrc.c ndk/libjpeg/jdcoefct.c ndk/libjpeg/jdcolor.c ndk/libjpeg/jddctmgr.c ndk/libjpeg/jdhuff.c ndk/libjpeg/jdinput.c ndk/libjpeg/jdmainct.c ndk/libjpeg/jdmarker.c ndk/libjpeg/jdmaster.c ndk/libjpeg/jdmerge.c ndk/libjpeg/jdphuff.c ndk/libjpeg/jdpostct.c ndk/libjpeg/jdsample.c ndk/libjpeg/jdtrans.c ndk/libjpeg/jerror.c ndk/libjpeg/jfdctflt.c ndk/libjpeg/jfdctfst.c ndk/libjpeg/jfdctint.c ndk/libjpeg/jidctflt.c ndk/libjpeg/jidctfst.c ndk/libjpeg/jidctint.c ndk/libjpeg/jidctred.c ndk/libjpeg/jmem-android.c ndk/libjpeg/jmemmgr.c ndk/libjpeg/jpegloader.c ndk/libjpeg/jquant1.c ndk/libjpeg/jquant2.c ndk/libjpeg/jutils.c core/gui/FileDownloader.cpp core/gui/LoginWindow.cpp core/gui/MessageBox.cpp core/gui/ProgressBar.cpp core/gui/State.cpp core/lib/GFX/render.cpp core/lib/GFX/shader.cpp core/lib/GFX/classes/material.cpp core/lib/GFX/classes/materialMgr.cpp core/lib/GFX/classes/pgAnimation.cpp core/lib/GFX/classes/pgButton.cpp core/lib/GFX/classes/pgFont.cpp core/lib/GFX/classes/pgObject.cpp core/lib/GFX/classes/pgSprite.cpp core/lib/GFX/classes/pgText.cpp core/lib/GFX/classes/pgTimer.cpp core/lib/io/CMemoryReadFile.cpp core/lib/io/CZipFile.cpp core/lib/network/BlowFish.cpp core/lib/network/HTTPDownload.cpp core/lib/network/OutgoingPacket.cpp core/lib/network/pgSocket.cpp core/lib/network/pgSocketRecv.cpp core/lib/network/pgSocketSending.cpp core/lib/pglog/pgLog.cpp core/lib/pgMath/mathLib.cpp core/lib/pgMath/pgRect.cpp core/lib/pgMath/pgVec2.cpp core/lib/pgMath/pgVec3.cpp core/lib/resources/MemoryManager.cpp core/lib/resources/Metrics.cpp core/lib/resources/ObjectList.cpp core/lib/resources/resdesc.cpp core/lib/resources/resourceMgr.cpp core/lib/resources/resourceMgrFile.cpp core/lib/resources/rfont.cpp core/lib/resources/rsound.cpp core/lib/resources/rsprite.cpp core/lib/resources/rtexture.cpp core/lib/resources/Texture.cpp core/lib/sfx/oggSound.cpp core/lib/sfx/SoundManager.cpp core/lib/sfx/SoundManagerLoop.cpp core/lib/sfx/wavSound.cpp core/lib/sfx/wavSoundLoader.cpp core/lib/sfx/marm_libogg/libogg-1.3.0/src/bitwise.c core/lib/sfx/marm_libogg/libogg-1.3.0/src/framing.c core/lib/sfx/marm_libvorbis/libvorbis-1.3.2/lib/analysis.c core/lib/sfx/marm_libvorbis/libvorbis-1.3.2/lib/bitrate.c core/lib/sfx/marm_libvorbis/libvorbis-1.3.2/lib/block.c core/lib/sfx/marm_libvorbis/libvorbis-1.3.2/lib/codebook.c core/lib/sfx/marm_libvorbis/libvorbis-1.3.2/lib/envelope.c core/lib/sfx/marm_libvorbis/libvorbis-1.3.2/lib/floor0.c core/lib/sfx/marm_libvorbis/libvorbis-1.3.2/lib/floor1.c core/lib/sfx/marm_libvorbis/libvorbis-1.3.2/lib/info.c core/lib/sfx/marm_libvorbis/libvorbis-1.3.2/lib/lookup.c core/lib/sfx/marm_libvorbis/libvorbis-1.3.2/lib/lpc.c core/lib/sfx/marm_libvorbis/libvorbis-1.3.2/lib/lsp.c core/lib/sfx/marm_libvorbis/libvorbis-1.3.2/lib/mapping0.c core/lib/sfx/marm_libvorbis/libvorbis-1.3.2/lib/mdct.c core/lib/sfx/marm_libvorbis/libvorbis-1.3.2/lib/psy.c core/lib/sfx/marm_libvorbis/libvorbis-1.3.2/lib/registry.c core/lib/sfx/marm_libvorbis/libvorbis-1.3.2/lib/res0.c core/lib/sfx/marm_libvorbis/libvorbis-1.3.2/lib/sharedbook.c core/lib/sfx/marm_libvorbis/libvorbis-1.3.2/lib/smallft.c core/lib/sfx/marm_libvorbis/libvorbis-1.3.2/lib/synthesis.c core/lib/sfx/marm_libvorbis/libvorbis-1.3.2/lib/vorbisenc.c core/lib/sfx/marm_libvorbis/libvorbis-1.3.2/lib/vorbisfile.c core/lib/sfx/marm_libvorbis/libvorbis-1.3.2/lib/window.c core/lib/sfx/marm_ogghelper/src/oggHelper.cpp core/lib/sfx/marm_ogghelper/src/sound_helper.cpp core/lib/sfx/marm_ogghelper/src/contrib/OggSoundStream.cpp core/lib/xmllib/XMLNode.cpp core/lib/xmllib/xmlparser.cpp core/lib/xmllib/XMLValue.cpp core/videoslotlibs/BaseSlotMode.cpp core/videoslotlibs/gaminator.cpp core/videoslotlibs/cf1lib/BaseSlotModeCF1.cpp core/videoslotlibs/cf1lib/BasicGame.cpp core/videoslotlibs/cf1lib/DialogBoxCtrl.cpp core/videoslotlibs/cf1lib/gaminatorCF1.cpp core/videoslotlibs/cf1lib/Help.cpp core/videoslotlibs/cf1lib/NovomaticBasicGame.cpp core/videoslotlibs/cf1lib/NovomaticMath.cpp core/videoslotlibs/cf1lib/pgReels.cpp core/videoslotlibs/cf1lib/Reel.cpp core/videoslotlibs/cf1lib/RiskGame.cpp core/videoslotlibs/cf2lib/cf2BaseSlotMode.cpp core/videoslotlibs/cf2lib/cf2BasicGame.cpp core/videoslotlibs/cf2lib/cf2DialogBoxEndFG.cpp core/videoslotlibs/cf2lib/cf2DialogBoxIntroFG.cpp core/videoslotlibs/cf2lib/cf2Gaminator.cpp core/videoslotlibs/cf2lib/cf2Help.cpp core/videoslotlibs/cf2lib/cf2NovomaticBasicGame.cpp core/videoslotlibs/cf2lib/cf2NovomaticMath.cpp core/videoslotlibs/cf2lib/cf2pgLines.cpp core/videoslotlibs/cf2lib/cf2pgReels.cpp core/videoslotlibs/cf2lib/cf2Reel.cpp core/videoslotlibs/cf2lib/cf2RiskGame.cpp core/videoslotlibs/cf2lib/cf2Text.cpp core/videoslotlibs/coolfire2gfxlib/coolfire2gfxlib.cpp core/videoslotlibs/coolfire2gfxlib/DigitalFont.cpp core/videoslotlibs/coolfire2gfxlib/JackPot.cpp core/videoslotlibs/coolfire2gfxlib/pgCase.cpp core/videoslotlibs/coolfire2gfxlib/pgLines.cpp core/videoslotlibs/coolfire2gfxlib/pgRunningLine.cpp core/videoslotlibs/coolfire2gfxlib/Sounds.cpp
    
    #LIBRARY_DIRS += 
    
    LOCAL_C_LIBRARY_INC = $(LOCAL_PATH)corelibpglog $(LOCAL_PATH)corelibxmllib $(LOCAL_PATH)corelibio $(LOCAL_PATH)corelibpgMath $(LOCAL_PATH)corelibsfx $(LOCAL_PATH)corelibresources $(LOCAL_PATH)corelibnetwork corelibGFX
    LOCAL_SFX_LIBRARY_INC = $(LOCAL_PATH)corelibsfx $(LOCAL_PATH)corelibsfxmarm_libogglibogg-1.3.0include $(LOCAL_PATH)corelibsfxmarm_libvorbislibvorbis-1.3.2include $(LOCAL_PATH)corelibsfxmarm_ogghelpersrc $(LOCAL_PATH)corelibsfxmarm_ogghelpersrccontrib
    LOCAL_ANDROID_NDK_INC = $(ANDROID_NDK_ROOT)sourcescxx-stlgnu-libstdc++4.4.3include $(ANDROID_NDK_ROOT)sourcescxx-stlgnu-libstdc++4.4.3includedebug $(ANDROID_NDK_ROOT)sourcescxx-stlgnu-libstdc++4.4.3libsarmeabiinclude
    LOCAL_GAME_LIB_INC = $(LOCAL_PATH)coreGameModulesincludes $(LOCAL_PATH)corevideoslotlibs $(LOCAL_PATH)corevideoslotlibscf1lib $(LOCAL_PATH)corevideoslotlibscf2lib $(LOCAL_PATH)corevideoslotlibscoolfire2gfxlib
    LOCAL_C_INCLUDES += $(LOCAL_PATH) $(LOCAL_C_LIBRARY_INC)  $(LOCAL_SFX_LIBRARY_INC)  $(LOCAL_ANDROID_NDK_INC)  $(LOCAL_GAME_LIB_INC)  $(LOCAL_PATH)ndk $(LOCAL_PATH)core  corelibGFXclasses coregui
    
    LOCAL_LDLIBS    += -L"$(ANDROID_NDK_ROOT)sourcescxx-stlgnu-libstdc++4.4.3libsarmeabi"	-llog -lGLESv1_CM -lz -lstdc++ -lsupc++ -lgnustl_static
    
    include $(BUILD_SHARED_LIBRARY)
Viewing 2 posts - 1 through 2 (of 2 total)