LOGIN
Sign In or Register
Avatar
Not Registered Yet?

Join Now! It's FREE. Get full access and benefit from this site

Reset My password - Remind Me My username

Username
Password
Remember me

aapt.exe has encountered a problem and needs to close

More
3 years 3 months ago #2168 by rajeshkumar
rajeshkumar created the topic: aapt.exe has encountered a problem and needs to close
aapt.exe has encountered a problem and needs to close

I am getting following error as below with my maven build...

[ERROR] Failed to execute goal com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.6.0:apklib (default-apklib) on project QBConnect: MojoExecutionException: ANDROID-040-001: Could not execute: Command = cmd.exe /X /C "C:\Android\android-sdk\build-tools\android-4.4\aapt.exe package -f -M C:\vault\workspace\FULL-fmm-client-QBOMobile-trunk\QBConnect\AndroidManifest.xml -S C:\vault\workspace\FULL-fmm-client-QBOMobile-trunk\QBConnect\res -S C:\vault\workspace\FULL-fmm-client-QBOMobile-trunk\QBConnect\target\unpack\apklibs/com.intuit.quickbooks_QBSharedLib_apklib_3.5.0-dev-SNAPSHOT/res -S C:\vault\workspace\FULL-fmm-client-QBOMobile-trunk\QBConnect\target\unpack\apklibs/com.intuit.mobilelib.util_MobileLibUtil_apklib_3.4.0-SNAPSHOT/res -S C:\vault\workspace\FULL-fmm-client-QBOMobile-trunk\QBConnect\target\unpack\apklibs/com.intuit.mobilelib.chart_MobileLibChart_apklib_3.4.0-SNAPSHOT/res -S C:\vault\workspace\FULL-fmm-client-QBOMobile-trunk\QBConnect\target\unpack\apklibs/com.intuit.quickbooks_android-support-v7-appcompat_apklib_3.4.0-SNAPSHOT/res -S C:\vault\workspace\FULL-fmm-client-QBOMobile-trunk\QBConnect\target\unpack\apklibs/com.intuit.quickbooks_com.github.chrisbanes.pulltorefresh_apklib_2.1.1/res -S C:\vault\workspace\FULL-fmm-client-QBOMobile-trunk\QBConnect\target\unpack\apklibs/com.intuit.quickbooks_google-play-services-lib_apklib_3.4.0-SNAPSHOT/res --auto-add-overlay -A C:\vault\workspace\FULL-fmm-client-QBOMobile-trunk\QBConnect\assets -I C:\Android\android-sdk\platforms\android-19\android.jar -F C:\vault\workspace\FULL-fmm-client-QBOMobile-trunk\QBConnect\target\QBConnect-3.5.0-dev-SNAPSHOT.ap_", Result = -1073741819 -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.6.0:apklib (default-apklib) on project QBConnect:
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.plugin.MojoExecutionException:
at com.jayway.maven.plugins.android.phase09package.ApklibMojo.generateIntermediateApk(ApklibMojo.java:431)
at com.jayway.maven.plugins.android.phase09package.ApklibMojo.execute(ApklibMojo.java:118)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
... 19 more
Caused by: com.jayway.maven.plugins.android.ExecutionException: ANDROID-040-001: Could not execute: Command = cmd.exe /X /C "C:\Android\android-sdk\build-tools\android-4.4\aapt.exe package -f -M C:\vault\workspace\FULL-fmm-client-QBOMobile-trunk\QBConnect\AndroidManifest.xml -S C:\vault\workspace\FULL-fmm-client-QBOMobile-trunk\QBConnect\res -S C:\vault\workspace\FULL-fmm-client-QBOMobile-trunk\QBConnect\target\unpack\apklibs/com.intuit.quickbooks_QBSharedLib_apklib_3.5.0-dev-SNAPSHOT/res -S C:\vault\workspace\FULL-fmm-client-QBOMobile-trunk\QBConnect\target\unpack\apklibs/com.intuit.mobilelib.util_MobileLibUtil_apklib_3.4.0-SNAPSHOT/res -S C:\vault\workspace\FULL-fmm-client-QBOMobile-trunk\QBConnect\target\unpack\apklibs/com.intuit.mobilelib.chart_MobileLibChart_apklib_3.4.0-SNAPSHOT/res -S C:\vault\workspace\FULL-fmm-client-QBOMobile-trunk\QBConnect\target\unpack\apklibs/com.intuit.quickbooks_android-support-v7-appcompat_apklib_3.4.0-SNAPSHOT/res -S C:\vault\workspace\FULL-fmm-client-QBOMobile-trunk\QBConnect\target\unpack\apklibs/com.intuit.quickbooks_com.github.chrisbanes.pulltorefresh_apklib_2.1.1/res -S C:\vault\workspace\FULL-fmm-client-QBOMobile-trunk\QBConnect\target\unpack\apklibs/com.intuit.quickbooks_google-play-services-lib_apklib_3.4.0-SNAPSHOT/res --auto-add-overlay -A C:\vault\workspace\FULL-fmm-client-QBOMobile-trunk\QBConnect\assets -I C:\Android\android-sdk\platforms\android-19\android.jar -F C:\vault\workspace\FULL-fmm-client-QBOMobile-trunk\QBConnect\target\QBConnect-3.5.0-dev-SNAPSHOT.ap_", Result = -1073741819
at com.jayway.maven.plugins.android.CommandExecutor$Factory$DefaultCommandExecutor.executeCommand(CommandExecutor.java:246)
at com.jayway.maven.plugins.android.phase09package.ApklibMojo.generateIntermediateApk(ApklibMojo.java:427)

Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

Please Log in to join the conversation.

Time to create page: 0.234 seconds