Fix for ERROR: Application cannot run on the selected device.

41 views
Skip to first unread message

Nathan Prat

unread,
Mar 25, 2016, 10:32:55 AM3/25/16
to android-ndk
There is something wrong with the returned value of def dump_var(args, variable, abi=None):
Replacing return make_output.splitlines()[0] by return make_output.replace('\n', ' ') seems to fix the issue.

ndk-build --version
GNU Make 3.81

On linux x86_64.



alex crowther

unread,
May 20, 2016, 9:56:37 AM5/20/16
to android-ndk
For me the fix was:

return make_output.splitlines()[-1]

Meaning take the last line of output, I use $(info ...) in my Application.mk/Android.mk and it was just picking up the first $(info)

Possibly my fix and yours need combining but I dont know enough python to comment.
Reply all
Reply to author
Forward
0 new messages