Domanda

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.]

È stato utile?

Soluzione

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.

Altri suggerimenti

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

JRebel is available for Android, and supports NDK projects.

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

Android Studio 2.0 has now an Instant Run feature.

enter image description here

More info in this link.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top