compiler construction - Why old android phone cannot run new api app? -


it silly question, don't understand why. code compiled bytecode , should able ran in dalvik vm. while api changes, bytecode dalvik vm understands should more or less same.

because app not bundle android framework. framework code resides on device.

that's why use newer api in older android versions, you'll have include support library in apk.

the android.jar file included in build path code compile not exported apk. if exported, every app on device have bundle android framework, lead unnecessary bloat, nothing security implications.


Comments

Popular posts from this blog

javascript - backbone.js Collection.add() doesn't `construct` (`initialize`) an object -

php - Get uncommon values from two or more arrays -

Adding duplicate array rows in Php -