Can't find aapt.exe

1,403 views
Skip to first unread message

Mak K.

unread,
Sep 24, 2013, 8:24:04 AM9/24/13
to rhom...@googlegroups.com
Dear Professionals ! 

1) RhoStudio shows this error when Simulator type is Simulator:
No such file or directory - C:/adt-bundle-windows-x86-20130917/sdk/platform-tools/aapt.exe

I copy aapt.exe from 
C:\adt-bundle-windows-x86-20130917\sdk\build-tools\android-4.3\aapt.exe
to C:/adt-bundle-windows-x86-20130917/sdk/platform-tools/aapt.exe

and get Rhomobile build console output shown in 2).

When Simulator type is RhoSimulator all works good.
Android NDK path: C:/android-ndk-r9/ - the freshest download
Please explain How to solve this problem - may be advise the previous versions of Android SDK and NDK to use - versions which have 
aapt.exe in the directory ...sdk/platform-tools/.

Rhomobile build console output for 1) and 2) is below.
------------------------------------------------------------------------------------------------------------------------------------------------
1) ........
EXT:  add additional files to project before build
PWD: C:/MotorolaRhoMobileSuite2.2.1.13/ruby/lib/ruby/gems/1.9.1/gems/rhodes-3.5.1.13
CMD: C:/adt-bundle-windows-x86-20130917/sdk/platform-tools/aapt.exe package -f -M C:/Rho/Frin/bin/tmp/AndroidManifest.xml 
-S C:/Rho/Frin/bin/tmp/res -A C:/Rho/Frin/bin/tmp/assets -I C:/adt-bundle-windows-x86-20130917/sdk/platforms/android-18/android.jar -J C:/Rho/Frin/bin/tmp
rake aborted!
No such file or directory - C:/adt-bundle-windows-x86-20130917/sdk/platform-tools/aapt.exe

Tasks: TOP => run:android => run:android:emulator => device:android:debug => package:android => build:android:all => build:android:rhodes
(See full trace by running task with --trace)
RET: 1
Error in build application. Build is terminated.

2) ........
EXT:  add additional files to project before build
PWD: C:/MotorolaRhoMobileSuite2.2.1.13/ruby/lib/ruby/gems/1.9.1/gems/rhodes-3.5.1.13
CMD: C:/adt-bundle-windows-x86-20130917/sdk/platform-tools/aapt.exe package -f -M C:/Rho/Frin/bin/tmp/AndroidManifest.xml 
-S C:/Rho/Frin/bin/tmp/res -A C:/Rho/Frin/bin/tmp/assets -I C:/adt-bundle-windows-x86-20130917/sdk/platforms/android-18/android.jar -J C:/Rho/Frin/bin/tmp
mkdir -p C:/Rho/Frin/bin/tmp/R
PWD: C:/MotorolaRhoMobileSuite2.2.1.13/ruby/lib/ruby/gems/1.9.1/gems/rhodes-3.5.1.13
CMD: "C:/Program Files/Java/jdk1.6.0_38/bin/javac.exe" -g -d C:/Rho/Frin/bin/tmp/Rhodes -source 1.6 -target 1.6 -nowarn -encoding latin1 
-classpath C:/adt-bundle-windows-x86-20130917/sdk/platforms/android-18/android.jar;C:/Rho/Frin/bin/tmp/Rhodes @C:/Rho/Frin/bin/tmp/RhodesSRC_build.files
platform\android\Rhodes\src\com\rhomobile\rhodes\osfunctionality\AndroidFunctionality01.java:79: cannot find symbol
symbol  : method setPluginsEnabled(boolean)
location: class android.webkit.WebSettings
            settings.setPluginsEnabled(true);
                    ^
platform\android\Rhodes\src\com\rhomobile\rhodes\osfunctionality\AndroidFunctionality01.java:83: cannot find symbol
symbol  : method setPluginsEnabled(boolean)
location: class android.webkit.WebSettings
            settings.setPluginsEnabled(false);
                    ^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
2 errors

Error compiling java code
RET: 1
Error in build application. Build is terminated.
----------------------------------------------------------------------------------------------------------------------------------------------

Warm Wishes 

Rajeswari Krishnamoorthy

unread,
Sep 25, 2013, 1:00:45 AM9/25/13
to rhom...@googlegroups.com
Hi,
Please uninstall the Android API Level 18 in Android SDK Manager and install API level 15. That will solve the problem.



--
You received this message because you are subscribed to the Google Groups "rhomobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rhomobile+...@googlegroups.com.
To post to this group, send email to rhom...@googlegroups.com.
Visit this group at http://groups.google.com/group/rhomobile.
For more options, visit https://groups.google.com/groups/opt_out.



--
Thanks & Regards
Rajeswari K
Rails developer, Spritle Software

Mak K.

unread,
Sep 25, 2013, 11:44:20 AM9/25/13
to rhom...@googlegroups.com

Dear Rajeswari !

Thank You for Your answer.
I want to install aapt.exe to ..../sdk/platform-tools NOT 
to ....\sdk\build-tools\android-4.3\ because RhoStudio wants to find aapt.exe in ..../sdk/platform-tools 
and doesn't work without it.
How to do this ?

Warm Wishes

Reply all
Reply to author
Forward
0 new messages