About Store Forum Documentation Contact
Donations:
140$/mo



Post Reply 
Android Build Error
Author Message
gamecreator Offline
Member

Post: #1
Android Build Error
Am trying to build the Basic App or Drawing tutorials straight from the Editor (no modifications).

Quote:Android NDK: NDK Application 'local' targets unknown ABI(s): x86
Android NDK: Please fix the APP_ABI definition in ./jni/Application.mk

What is wrong?
(This post was last modified: 10-18-2013 06:03 AM by gamecreator.)
10-18-2013 06:03 AM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
RE: Android Build Error
Are you using Esenthel 2.0?
Do you have installed latest Android SDK and Android NDK?
10-18-2013 06:20 AM
Find all posts by this user Quote this message in a reply
gamecreator Offline
Member

Post: #3
RE: Android Build Error
Thank you. Yes, 2.0, demo. Updated SDK and got the latest NDK, which seemed to solve the first problem.

Now it's:

Quote:make: Entering directory `D:/Programming/Esenthel/Projects/_Build_/1 - Basic App/Android'
Install : libProject.so => libs/armeabi/libProject.so
Install : libProject.so => libs/armeabi-v7a/libProject.so
Install : libProject.so => libs/x86/libProject.so
make: Leaving directory `D:/Programming/Esenthel/Projects/_Build_/1 - Basic App/Android'
Unable to locate tools.jar. Expected to find it in C:\Program Files (x86)\Java\jre7\lib\tools.jar
+ a few other lines with BUILD FAILED near the bottom.

All the folders are there but sure enough, tools.jar isn't. I'll search my drives to see if I can find it anywhere...
10-18-2013 07:06 AM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #4
RE: Android Build Error
Hi,
Try installing Java 32-bit and 64-bit.
10-18-2013 07:14 AM
Find all posts by this user Quote this message in a reply
gamecreator Offline
Member

Post: #5
RE: Android Build Error
Thank you. Installed these
http://download.cnet.com/Java-Runtime-En...09607.html
http://download.cnet.com/Java-Runtime-En...17067.html
but no luck. I'll Google around tomorrow but done with this for tonight.
10-18-2013 07:45 AM
Find all posts by this user Quote this message in a reply
gamecreator Offline
Member

Post: #6
RE: Android Build Error
From a tip on another forum, I installed the SDKs as well, which had the tools.jar. Then I copied them over and that error went away.
(This post was last modified: 10-20-2013 05:47 PM by gamecreator.)
10-20-2013 05:45 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #7
RE: Android Build Error
You mean the JDK? Yeah Esenthel app and the documentation are requesting it, not the JRE.
10-20-2013 06:27 PM
Find all posts by this user Quote this message in a reply
gamecreator Offline
Member

Post: #8
RE: Android Build Error
I meant that something was looking for the tools.jar under the JRE installation (per the above error) when it's actually the SDK that installs that. So I had to copy the file over from the SDK folder to the JRE folder.

Now I'm getting

Quote:BUILD FAILED
D:\Programming\Android\android-sdk\tools\ant\build.xml:484: SDK does not have any Build Tools installed.

I think I installed everything at this point but I'm going to go through the directions one more time. Couldn't imagine what else it might still need...
10-20-2013 07:20 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #9
RE: Android Build Error
Hi,
First, please don't install just the JRE, but download the Java Development Kit (JDK) that should have JDK and JRE inside.

Then install Android NDK http://dl.google.com/android/ndk/android...ws-x86.zip
and Android SDK http://developer.android.com/sdk/index.html
however choose the link from the hidden tab below "USE AN EXISTING IDE"
that has the name "Download the SDK Tools for Windows"
DO NOT DOWNLOAD "Download the SDK ADT Bundle for Windows"

Basically just follow these steps exactly:
http://www.esenthel.com/wiki/index.php?t...ndroid_SDK
10-21-2013 04:16 AM
Find all posts by this user Quote this message in a reply
gamecreator Offline
Member

Post: #10
RE: Android Build Error
Yup, I already have the JDKs installed (jdk-7u45-windows-i586 & jdk-7u45-windows-x64) and all of the others, including using Existing IDE link. The only difference I can tell is that your image has r6b for the NDK but it's version r9 on the site (which I assume doesn't matter).

I did have some of this stuff installed before though so I think I'll just uninstall everything and start again. Thank you for your help.
10-21-2013 06:50 AM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #11
RE: Android Build Error
Yes I am currently using r9 Android NDK, and it works without issues.
10-21-2013 08:47 AM
Find all posts by this user Quote this message in a reply
Post Reply