aapt has moved in recent sdk updates
#1
Looks like aapt has moved in the sdk (see http://stackoverflow.com/questions/16588...-find-aapt).
This leads to a "make apk" failure.

By me, it is in "./build-tools/18.0.1/aapt", so it looks like it moves for each "Android SDK build-tools" iteration.
Simple enough to link manually, but this might affect automatic builds.

[EDIT]
dx needs to be linked, too.
Reply
#2
was this ever updated?
RetroPlayer releases: https://github.com/garbear/xbmc/releases

Donations: eigendude.eth
Reply
#3
If you mean "did I do something about it", no Wink
Reply
#4
I downloaded the latest sdk last night and I am getting the error that aapt not found when running

Code:
$ make apk

I ran

Code:
$ find  ~/development -name "aapt"

which returned to results
Code:
/home/bryan/development/android-sdk-linux/platforms/android-3/tools/aapt
/home/bryan/development/android-sdk-linux/platforms/android-4/tools/aapt

I tested setting symbolic links to either and I am getting resource errors. Here is a short example

Code:
xbmc/AndroidManifest.xml:51: error: No resource identifier found for attribute 'scheme' in package 'android'
xbmc/AndroidManifest.xml:59: error: No resource identifier found for attribute 'name' in package 'android'
xbmc/AndroidManifest.xml:59: error: No resource identifier found for attribute 'configChanges' in package 'android'
xbmc/AndroidManifest.xml:59: error: No resource identifier found for attribute 'finishOnTaskLaunch' in package 'android'
xbmc/AndroidManifest.xml:59: error: No resource identifier found for attribute 'label' in package 'android'
xbmc/AndroidManifest.xml:59: error: No resource identifier found for attribute 'launchMode' in package 'android'
xbmc/AndroidManifest.xml:59: error: No resource identifier found for attribute 'screenOrientation' in package 'android'
xbmc/AndroidManifest.xml:59: error: No resource identifier found for attribute 'theme' in package 'android'
xbmc/AndroidManifest.xml:69: error: No resource identifier found for attribute 'name' in package 'android'
xbmc/AndroidManifest.xml:69: error: No resource identifier found for attribute 'value' in package 'android'

any ideas on what I am doing wrong?
Reply
#5
You need the android-14 sdk.
Reply
#6
(2013-08-28, 19:46)Koying Wrote: You need the android-14 sdk.

thanks,
Code:
./android update sdk -u

worked for me.
afterwords I ran the following to create symbolic links and I am back in business

Code:
ln -s -f ~/development/android-sdk-linux/build-tools/18.0.1/aapt ~/development/android-sdk-linux/platform-tools/aapt
ln -s -f ~/development/android-sdk-linux/build-tools/18.0.1/lib ~/development/android-sdk-linux/platform-tools/lib
ln -s -f ~/development/android-sdk-linux/build-tools/18.0.1/dx ~/development/android-sdk-linux/platform-tools/dx
Reply
#7
This is the code that worked for me
Code:
cd ~/android-sdk/platform-tools && ln -s ~/android-ssdk/build-tools/android-4.3/aapt aapt
cd ~/android-sdk/platform-tools && ln -s ~/android-ssdk/build-tools/android-4.3/dx dx

Does the configure/Makefile need to be updated to include these additional search directories?
RetroPlayer releases: https://github.com/garbear/xbmc/releases

Donations: eigendude.eth
Reply
#8
No, it's just those 2 exe which moved, AFAICT.
It's not in a versionned subdir by you?
Reply

Logout Mark Read Team Forum Stats Members Help
aapt has moved in recent sdk updates0