Android JNI crashes using BreakPad










0















I am using Breakpad for catching NDK crashes and it is integrated with HockeyApp. Everything works fine except for release build where is used code obfuscation with DexGuard. So basically stacktrace is unreadable in this case.



Did anyone had a similar problem with this configuration, or there is some other potential solution for NDK crashes log where DexGuard is included so it can be shown on Hockeyapp.



Thanks in advance










share|improve this question
























  • Are you applying the encryption feature for native libraries?

    – shizhen
    Nov 15 '18 at 1:17











  • Yes, it is applied.

    – Marko Radosavljevic
    Nov 15 '18 at 8:57











  • Dexguard 6.x has problem with native lib encryption on some devices and also class encryption may cause some problems, not sure about your dexguard version. Just try to play around with adding/removing some of the encryption configurations.

    – shizhen
    Nov 15 '18 at 9:04











  • I uploaded mapping.txt which is generated by DexGuard and Symbols.zip (which contains all .so files). As I said this is working perfectly if the dexguard encryption is not applied on .so files otherwise stacktraces are just not human readable for native crashes.

    – Marko Radosavljevic
    Nov 15 '18 at 10:44
















0















I am using Breakpad for catching NDK crashes and it is integrated with HockeyApp. Everything works fine except for release build where is used code obfuscation with DexGuard. So basically stacktrace is unreadable in this case.



Did anyone had a similar problem with this configuration, or there is some other potential solution for NDK crashes log where DexGuard is included so it can be shown on Hockeyapp.



Thanks in advance










share|improve this question
























  • Are you applying the encryption feature for native libraries?

    – shizhen
    Nov 15 '18 at 1:17











  • Yes, it is applied.

    – Marko Radosavljevic
    Nov 15 '18 at 8:57











  • Dexguard 6.x has problem with native lib encryption on some devices and also class encryption may cause some problems, not sure about your dexguard version. Just try to play around with adding/removing some of the encryption configurations.

    – shizhen
    Nov 15 '18 at 9:04











  • I uploaded mapping.txt which is generated by DexGuard and Symbols.zip (which contains all .so files). As I said this is working perfectly if the dexguard encryption is not applied on .so files otherwise stacktraces are just not human readable for native crashes.

    – Marko Radosavljevic
    Nov 15 '18 at 10:44














0












0








0








I am using Breakpad for catching NDK crashes and it is integrated with HockeyApp. Everything works fine except for release build where is used code obfuscation with DexGuard. So basically stacktrace is unreadable in this case.



Did anyone had a similar problem with this configuration, or there is some other potential solution for NDK crashes log where DexGuard is included so it can be shown on Hockeyapp.



Thanks in advance










share|improve this question
















I am using Breakpad for catching NDK crashes and it is integrated with HockeyApp. Everything works fine except for release build where is used code obfuscation with DexGuard. So basically stacktrace is unreadable in this case.



Did anyone had a similar problem with this configuration, or there is some other potential solution for NDK crashes log where DexGuard is included so it can be shown on Hockeyapp.



Thanks in advance







android android-ndk obfuscation dexguard google-breakpad






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 15 '18 at 9:05









shizhen

3,69741234




3,69741234










asked Nov 14 '18 at 10:19









Marko RadosavljevicMarko Radosavljevic

1315




1315












  • Are you applying the encryption feature for native libraries?

    – shizhen
    Nov 15 '18 at 1:17











  • Yes, it is applied.

    – Marko Radosavljevic
    Nov 15 '18 at 8:57











  • Dexguard 6.x has problem with native lib encryption on some devices and also class encryption may cause some problems, not sure about your dexguard version. Just try to play around with adding/removing some of the encryption configurations.

    – shizhen
    Nov 15 '18 at 9:04











  • I uploaded mapping.txt which is generated by DexGuard and Symbols.zip (which contains all .so files). As I said this is working perfectly if the dexguard encryption is not applied on .so files otherwise stacktraces are just not human readable for native crashes.

    – Marko Radosavljevic
    Nov 15 '18 at 10:44


















  • Are you applying the encryption feature for native libraries?

    – shizhen
    Nov 15 '18 at 1:17











  • Yes, it is applied.

    – Marko Radosavljevic
    Nov 15 '18 at 8:57











  • Dexguard 6.x has problem with native lib encryption on some devices and also class encryption may cause some problems, not sure about your dexguard version. Just try to play around with adding/removing some of the encryption configurations.

    – shizhen
    Nov 15 '18 at 9:04











  • I uploaded mapping.txt which is generated by DexGuard and Symbols.zip (which contains all .so files). As I said this is working perfectly if the dexguard encryption is not applied on .so files otherwise stacktraces are just not human readable for native crashes.

    – Marko Radosavljevic
    Nov 15 '18 at 10:44

















Are you applying the encryption feature for native libraries?

– shizhen
Nov 15 '18 at 1:17





Are you applying the encryption feature for native libraries?

– shizhen
Nov 15 '18 at 1:17













Yes, it is applied.

– Marko Radosavljevic
Nov 15 '18 at 8:57





Yes, it is applied.

– Marko Radosavljevic
Nov 15 '18 at 8:57













Dexguard 6.x has problem with native lib encryption on some devices and also class encryption may cause some problems, not sure about your dexguard version. Just try to play around with adding/removing some of the encryption configurations.

– shizhen
Nov 15 '18 at 9:04





Dexguard 6.x has problem with native lib encryption on some devices and also class encryption may cause some problems, not sure about your dexguard version. Just try to play around with adding/removing some of the encryption configurations.

– shizhen
Nov 15 '18 at 9:04













I uploaded mapping.txt which is generated by DexGuard and Symbols.zip (which contains all .so files). As I said this is working perfectly if the dexguard encryption is not applied on .so files otherwise stacktraces are just not human readable for native crashes.

– Marko Radosavljevic
Nov 15 '18 at 10:44






I uploaded mapping.txt which is generated by DexGuard and Symbols.zip (which contains all .so files). As I said this is working perfectly if the dexguard encryption is not applied on .so files otherwise stacktraces are just not human readable for native crashes.

– Marko Radosavljevic
Nov 15 '18 at 10:44













0






active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53297820%2fandroid-jni-crashes-using-breakpad%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53297820%2fandroid-jni-crashes-using-breakpad%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Use pre created SQLite database for Android project in kotlin

Darth Vader #20

Ondo