Android NDK Build Dependency
Ref: The Android Game Developer's Handbook
By: Avisekhar Roy
Publisher: Packt Publishing
Pub. Date: August 19, 2016
Web ISBN-13: 978-1-78588-666-9
Print ISBN-13: 978-1-78588-586-0
Android SDK is capable of building and packaging an Android application project into an APK file with the support of Java. However, the NDK is not sufficient to build and package APK files. Here are the dependencies for creating an Android application APK other than the NDK:
Android applications are basically Java applications. Hence, it is absolute necessary to have Android SDK in order to create an Android application package.
A native Android application is written
in C++, so a C++ compiler is required to compile the code base on the
development platform. C++ compilers are platform dependent, so it may
not be the same C++ compiler on each platform.
For example, on a Windows machine, the C++11 compiler is used currently in the development industry, whereas the GC++ compiler is used on Linux machines.
These may create different code bases for the actual development project in terms of syntax and API calls.
Python is a separate development
language. It can be used to create applications for Android and can
support multiple platforms by converting the source into native
language. In the case of Android NDK development, Python is used for the
conversion of C++ code to native binary.
Gradle is used by the build
script and the Android native build tool to convert native code to a
shared library. It also provides a virtual Unix environment to make
application packages.
Ref: The Android Game Developer's Handbook
By: Avisekhar Roy
Publisher: Packt Publishing
Pub. Date: August 19, 2016
Web ISBN-13: 978-1-78588-666-9
Print ISBN-13: 978-1-78588-586-0
Android SDK is capable of building and packaging an Android application project into an APK file with the support of Java. However, the NDK is not sufficient to build and package APK files. Here are the dependencies for creating an Android application APK other than the NDK:
- Android SDK
- C++ compiler
- Python
- Gradle
- Cygwin
- Java
Android SDK
C++ compiler
For example, on a Windows machine, the C++11 compiler is used currently in the development industry, whereas the GC++ compiler is used on Linux machines.
These may create different code bases for the actual development project in terms of syntax and API calls.
Python
Gradle
Copyright ©2017, Software Developer, All rights reserved.
See Contents
No comments:
Post a Comment