top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What are steps for debugging android native code?

0 votes
337 views
What are steps for debugging android native code?
posted Jun 7, 2013 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

you may have to follow like somewhat mentioned in below link:
https://groups.google.com/forum/?fromgroups#!topic/android-ndk/_4JNdY_h558 [1]
I would prefer to put debug logs for native code atleast.

answer Jun 7, 2013 by anonymous
Similar Questions
+3 votes

I've been trying to figure out how an android app is installed by browsing AOSP.

The PackageManagerService.java has the gids for the corresponding permissions by parsing the platform.xml file.

PackageInstallerActivity parses and checks for any existing packages and then invokes the InstallAppProgress

I was able to follow the paths where the package is parsed and validated and PackagerManager.installPackage() method is invoked to install the package. I know this makes a native call to the JNI library. The corresponding aidl file is IPackageManager.aidl.

What I want to know is where can I find the Native cpp code related to this aidl mentioned above?

+1 vote

Can any one please guide me to debug Android code. I tried to use GDB and GDBServer for this but couldn't succeed.

0 votes

I'm looking for native library for video play with custom buffering for rendering of big video files (500MB+) in android application. What is the best options?

...