project_files/Android-build/pushToDevice
author Xeli
Fri, 24 Jun 2011 13:24:51 +0200
branchhedgeroid
changeset 5361 0d73a5e589b5
parent 5301 690e88ef6ee7
permissions -rwxr-xr-x
Added a script to build and install the application, users must define a path to the ndk
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5295
e1a76c67dead Script called from Make.android to push the library to the device
Xeli
parents:
diff changeset
     1
#!/bin/bash
e1a76c67dead Script called from Make.android to push the library to the device
Xeli
parents:
diff changeset
     2
e1a76c67dead Script called from Make.android to push the library to the device
Xeli
parents:
diff changeset
     3
adb push ./out/libhwengine.so /sdcard/libhwengine.so
e1a76c67dead Script called from Make.android to push the library to the device
Xeli
parents:
diff changeset
     4
adb shell "su -c \"cat /sdcard/libhwengine.so > /data/data/org.hedgewars/lib/libhwengine.so \""
e1a76c67dead Script called from Make.android to push the library to the device
Xeli
parents:
diff changeset
     5