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

  • Home
  • SEARCH
  • 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 8824941
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T06:45:22+00:00 2026-06-14T06:45:22+00:00

First, I already read 3 or 4 tutorials, 20 related questions on stack overflow,

  • 0

First, I already read 3 or 4 tutorials, 20 related questions on stack overflow, I am desperate, nothing seems to work…

I run on mac os x, on eclipse juno, ndk-r8
I try to debug an application (.apk) that use a library (.jar), that use many native library (.so).
My 2 AndroidManifest.xml contains debuggable=true, i compile the .so with “ndk-build NDK_DEBUG=1”

but when i call “ndk-gdb”, on the application directory, I get:

"ERROR: Could not find gdbserver binary under ./libs/none"

(which seems normal)

and in the library directory, i get:

"ERROR: Non-debuggable application installed on the target device."

(which is false)

when my program crash with a segv, if I use addr2line or ndk-stack, both says that my address is incorrect.

does anyone as an idea why gdb cannot attach to my process ? or have a workaround to do this ?

  • 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-14T06:45:24+00:00Added an answer on June 14, 2026 at 6:45 am

    As I said earlier in comments:

    ndk-gdb cannot attach to a process where the jni is inside an android library project.

    As a workaround, you can put a mock main entry point in the library,
    to transform it into a executable project, to execute it in debug mode.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

First of all: I do know that there are already many questions and answers
First of, I know there are similar questions already on stackoverflow ( this ,
First, i already read the question jQuery Grid Recommendations but it doesn't answer to
First of all, I already read posts relating to this error prior to posting
I have already read the sun guide and different similar questions. I want to
First of all I already read about all this discussion that it isn't a
Note: I already read some questions about the UIScrollView sending touches to the subviews
I just published my first app and already there are a bunch of mistakes
I have a nested php array. I have the first select populated already. I
First a little background: I have already managed to connect to a Microsoft SOAP

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.