[Solved] Memtrack: Couldn’t load memtrack module (No such file or directory)

It passes the compilation, but when the simulator is running, stopping… appears. Check logcat and found an error:

E/memtrack: Couldn’t load memtrack module (No such file or directory)
2018-12-30 10:49:04.758 11318-11318/? E/android.os.Debug: failed to load memtrack module: -2

 

Solution:

It was found that the onCreateView in the program fragment did not return the view. Therefore, if you see this error in the future, see if there is no correct return value or the return value is not correct.

 

Similar Posts: