IDE Integration for Android*

IDE Integration for Android*
Intel® Integrated Native Developer
Experience (INDE): IDE Integration
for Android*
1.2
Overview
The Intel® INDE IDE Integration for Android* provides productivity-oriented design, coding, and
debugging tools for applications targeting Android* ARM* and Intel® architecture (x86) devices,
including smartphones and tablets. The tools are compatible with Android Studio*and Eclipse*
and support popular Android SDKs including the Android Native Development Kit (NDK).
New Features
Added in 1.2

Updated Intel® Hardware Accelerated Execution Manager (Intel® HAXM) to 1.1.1
o
Add 64 bit Guest Support - Able to boot 64 bit Kernel and User space
Features
The Intel® INDE IDE Integration for Android* provides the user the opportunity to select their
favorite development environment components to install for native Android* development in an
Eclipse* or Android Studio* IDE. Below is a list of tools that the Intel INDE IDE Integration for
Android may install.
Component
Version
Android Studio(Beta)
0.8.6
Intel(R) INDE Native Project template for Android Studio 1.1
Android ADT
23.0.2
SDK
android-19
Eclipse
4.2
Android NDK
r10 (64-bit host / 32-bit target)
Intel® Hardware Accelerated Execution Manager
1.1.1
Apache* Ant*
1.9.4
Eclipse Plugins for Intel® INDE
1.2
System Requirements
Hardware
Host: System with Intel® Core processor and Intel® microarchitecture code name
Sandy Bridge or later.
Device: Intel architecture (x86) or ARM
Software:
JDK 1.6 64-bit
Contents
Depending on the installation options chosen, the Intel® INDE IDE Integration for Android* will
create the following directories:
<install-folder>
\Applications\Intel\INDE\IDEIntegration by default
<install-folder>\ADT
Android Development Tools
<install-folder>\Ant
Ant build tool
<install-folder>\Docs
Release Notes
<install-folder>\NDK
Native Development Kit (64-bit host / 32-bit target)
<install-folder>\Android Studio
Android Studio
General Notes
•
If you receive an "exceeds memory limit" while launching an AVD it is because the AVD's
RAM Memory Option exceeds the HAXM Memory Reservation set during install. You
can either increase the HAXM Memory Reservation or decrease the AVD's RAM
Memory Option.
•
To migrate from Beta INDE IDE Integration v0.5 to Intel INDE IDE Integration for Android
v1.0, first uninstall Beta INDE IDE Integration v0.5.
•
Cancelling setup may not always remove all of the packages.
•
During installation of HAXM, a message may pop up stating: “Kernel extension is not
from an identified developer”. This will not cause a problem, and should click ‘OK’ to
continue installation.
•
The Java Runtime Environment (JRE) or Java Development Kit (JDK) is required for
proper installation of both IDEs. Trying to install without either of these installed will
result in an incomplete installation. The installation can be repaired by downloading the
following packages through the ‘SDK Manager’:
•
SDK Platform (API 19)
•
Android SDK Build-tools (19.1)
•
Google APIs (x86 System image)
•
ARM EABI v7a System Image
Android Studio Environment Notes
A native project activity template is included to help jump start native code projects. To
create a new native project activity:
1. Create a New Project in Android Studio.
Be sure not to use underscores '_ ' or
dashes ‘-‘ anywhere in the 'Application name' or 'Company Domain', as this will
cause runtime errors.
2. Select “Blank Activity with NDK support" on the second screen of the wizard.
3. On the next screen enter the full path your NDK.
Things to note about the Native Android project:
1. The wizard will create a simple project using NDK that outputs a single string via
a JNI call.
2. The wizard creates a new build.gradle file that defines a number of target
configurations that are accessible via the “Product Variants” menu. Use the
predefined configurations to build release, debug, x86 or ARM build types. The
default configuration is debug x86.
If using a preinstalled NDK, version must be r10 or greater.
The native project requires Android SDK Build-tools 19.1, and API level 19.
For proper operation, Android Studio 0.8.6 is required. If previous versions are installed,
select the ‘Android Studio’ box in the installer to automatically install.
Eclipse Environment Notes
Running the ADT bundle with JDK 1.7 installed is known to cause
‘java.lang.NullPointerException’ upon creating a new Android project. This is resolved by
using JDK 1.6 instead. For more information see:
http://stackoverflow.com/questions/18091333/java-lang-nullpointerexception-when-creati
ng-first-android-app-in-adt-mac-bundle
The ABI Chooser is only visible when an Android project is selected in Package Explorer,
Project Explorer, or Resource Navigator.
If you change your Eclipse workspace from its default location, you will need to initially set
Window > Preferences > Android > NDK to your NDK path.
Creating a new project may also create an appcompat project. This is known to cause build
issues. To work around them, either refresh the appcompat project to resolve the errors,
or set the minimum API to 14 or greater to avoid creating the appcompat project. More
information can be found at
http://stackoverflow.com/questions/22256746/eclipse-adt-project-name-appcompat-v7-b
eing-created-after-creating-every-new.
When creating a new x86 Native Android project:
Ensure the desired minimum API level is installed using the SDK Manager
It is recommended that you set the Run -> Run Configuration -> Target to
automatically select the x86 emulator.
Select Run -> Run As “Android Application” once to run it.
If using a preinstalled NDK, version must be r10 or greater.
Version 20140702 or later is required. If an earlier version is preinstalled, then the proper
version can be automatically installed by selecting the ‘Android Development Tools’
option in the installer.
Legal Information
INFORMATION IN THIS DOCUMENT IS PROVIDED IN CONNECTION WITH INTEL PRODUCTS.
NO LICENSE, EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, TO ANY INTELLECTUAL
PROPERTY RIGHTS IS GRANTED BY THIS DOCUMENT. EXCEPT AS PROVIDED IN INTEL'S
TERMS AND CONDITIONS OF SALE FOR SUCH PRODUCTS, INTEL ASSUMES NO LIABILITY
WHATSOEVER AND INTEL DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY, RELATING TO
SALE AND/OR USE OF INTEL PRODUCTS INCLUDING LIABILITY OR WARRANTIES RELATING
TO FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR INFRINGEMENT OF ANY
PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT.
UNLESS OTHERWISE
AGREED IN WRITING BY INTEL, THE INTEL PRODUCTS ARE NOT DESIGNED NOR INTENDED
FOR ANY APPLICATION IN WHICH THE FAILURE OF THE INTEL PRODUCT COULD CREATE A
SITUATION WHERE PERSONAL INJURY OR DEATH MAY OCCUR.
Intel may make changes to specifications and product descriptions at any time, without
notice. Designers must not rely on the absence or characteristics of any features or
instructions marked "reserved" or "undefined." Intel reserves these for future definition and
shall have no responsibility whatsoever for conflicts or incompatibilities arising from future
changes to them. The information here is subject to change without notice. Do not finalize a
design with this information. The products described in this document may contain
design defects or errors known as errata which may cause the product to deviate from
published specifications. Current characterized errata are available on request. Contact
your local Intel sales office or your distributor to obtain the latest specifications and before
placing your product order. Copies of documents which have an order number and are
referenced in this document, or other Intel literature, may be obtained by calling
1-800-548-4725, or by visiting Intel's Web Site.
Intel, the Intel logo, Intel Core, are trademarks or registered trademarks of Intel
Corporation or its subsidiaries in the United States and other countries.
Was this manual useful for you? yes no
Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Download PDF

advertisement