Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to hot-deploy delta changes onto an Android device? [Say, like JRebel]

I am an Indie Game Developer, and I am currently building a game for the Android Platform, using NDK.

My problem is that, this game is now more than 20MB in size and is taking a lot of time to deploy and start up on my Android Device, which is becoming a pain and is slowing me down.

So, I wanted to know

Is any way to hot deploy just the delta changes, that I make to my Android Project, instead of building and installing the whole thing to my Android Device again and again?

Is it even possible? I am looking for some thing like JRebel tool, for the Java VM and Java Containers.

[Update: Any other thoughts on bringing down the build time, please?]

Thanks and Cheers!

[Note: Just wanted to mention that I will not be be able to use the emulator for faster builds, because my game uses OpenGL library heavily, which the emulator cannot handle.]

like image 230
Hari Krishna Ganji Avatar asked Jun 21 '12 10:06

Hari Krishna Ganji


3 Answers

So, I wanted to know if there is any way to hot deploy just the delta changes, that I make to my Android Project, instead of building and installing the whole thing to my Android Device again and again?

Not for stuff you are packaging inside your APK.

Just wanted to mention that I will not be be able to use the emulator for faster builds, because my game uses OpenGL library heavily, which the emulator cannot handle.

I would hope that the latest emulators (with hardware acceleration) and the x86 emulator images for 2.3.3 and 4.0.3 would run your game acceptably fast.

like image 166
CommonsWare Avatar answered Oct 23 '22 10:10

CommonsWare


Actually hotswaping delta changes on Android is possible. You should use some special tools to achieve this behavior. You can try the tool: InstaRelaoder use "inirwetrust" as the password

like image 45
Den Fokas Avatar answered Oct 23 '22 10:10

Den Fokas


JRebel is available for Android, and supports NDK projects.

https://zeroturnaround.com/software/jrebel-for-android/

like image 29
Eric Cornelson Avatar answered Oct 23 '22 11:10

Eric Cornelson