Thursday, August 18, 2011

[android-developers] Re: adb push error

On Thursday, August 18, 2011 5:28:31 AM UTC-4, androx wrote:
I am trying to put .so file in the /system/lib folder of device by
using adb push,
$adb push /home/sudhir/Development/newdroid/filename.so  /system/lib

As far as this forum (which is about developing 3rd party applications) is concerned, you cannot and should not be trying to do that.  /system/lib is not a locations writable by 3rd party devs - you should instead be packaging your native libs in the .apk of your application in accordance with the ndk docs (follow-up on issues there should go to the android-ndk group)

If you are looking to change the android installation itself, that would be marginally on topic for android-porting, as a quick summary you should include the file when building the android system, though on an unsecured development or rooted device you may be able to remount the system partition readable and then adb push something there.  But this is not the place to discuss that.

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment