At the moment I'm out of ideas.
Need to go through the build instructions from scratch on one of my machines.
I have solved this problem,just by reinstalling everything.
When this problem was solved,I got new one.
[INFO] Building Bitcoin Wallet 3.30-test
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ wallet ---
[INFO] Deleting /home/alex/wal/bitcoin-wallet/wallet/target
[INFO]
[INFO] --- android-maven-plugin:3.7.0:generate-sources (default-generate-sources) @ wallet ---
[DEBUG] Expanding: /root/.m2/repository/com/actionbarsherlock/library/4.1.0/library-4.1.0.apklib into /home/alex/wal/bitcoin-wallet/wallet/target/unpack/apklibs/com.actionbarsherlock_library_apklib_4.1.0
[DEBUG] expand complete
[INFO] ANDROID-904-002: Found aidl files: Count = 0
[INFO] ANDROID-904-002: Found aidl files: Count = 0
[INFO] ANDROID-904-002: Found aidl files: Count = 0
[INFO] Manifest merging disabled. Using project manifest only
[INFO] /home/alex/wal/sdk/build-tools/19.0.1/aapt [package, -m, -J, /home/alex/wal/bitcoin-wallet/wallet/gen, -M, /home/alex/wal/bitcoin-wallet/wallet/AndroidManifest.xml, -S, /home/alex/wal/bitcoin-wallet/wallet/res, -S, /home/alex/wal/bitcoin-wallet/wallet/target/unpack/apklibs/com.actionbarsherlock_library_apklib_4.1.0/res, --auto-add-overlay, -A, /home/alex/wal/bitcoin-wallet/wallet/assets, -I, /home/alex/wal/sdk/platforms/android-14/android.jar]
[INFO] /bin/sh: 1: /home/alex/wal/sdk/build-tools/19.0.1/aapt: not found
[ERROR] Error when generating sources.
org.apache.maven.plugin.MojoExecutionException:
at com.jayway.maven.plugins.android.phase01generatesources.GenerateSourcesMojo.generateR(GenerateSourcesMojo.java:570)
at com.jayway.maven.plugins.android.phase01generatesources.GenerateSourcesMojo.execute(GenerateSourcesMojo.java:206)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
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:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:622)
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: com.jayway.maven.plugins.android.ExecutionException: ANDROID-040-001: Could not execute: Command = /bin/sh -c cd /home/alex/wal/bitcoin-wallet/wallet && /home/alex/wal/sdk/build-tools/19.0.1/aapt package -m -J /home/alex/wal/bitcoin-wallet/wallet/gen -M /home/alex/wal/bitcoin-wallet/wallet/AndroidManifest.xml -S /home/alex/wal/bitcoin-wallet/wallet/res -S /home/alex/wal/bitcoin-wallet/wallet/target/unpack/apklibs/com.actionbarsherlock_library_apklib_4.1.0/res --auto-add-overlay -A /home/alex/wal/bitcoin-wallet/wallet/assets -I /home/alex/wal/sdk/platforms/android-14/android.jar, Result = 127
at com.jayway.maven.plugins.android.CommandExecutor$Factory$DefaultCommandExecutor.executeCommand(CommandExecutor.java:246)
at com.jayway.maven.plugins.android.phase01generatesources.GenerateSourcesMojo.generateR(GenerateSourcesMojo.java:566)
... 22 more
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] base .............................................. SUCCESS [1.896s]
[INFO] Bitcoin Integration for Android ................... SUCCESS [8.462s]
[INFO] Bitcoin Wallet .................................... FAILURE [5.134s]
[INFO] Sample for Bitcoin Integration for Android ........ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 20.852s
[INFO] Finished at: Thu Feb 06 05:37:24 PST 2014
[INFO] Final Memory: 18M/43M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.jayway.maven.plugins.android.generation2:
android-maven-plugin:3.7.0:generate-sources (default-generate-sources) on project wallet:
MojoExecutionException: ANDROID-040-001: Could not execute: Command = /bin/sh -c
cd /home/alex/wal/bitcoin-wallet/wallet && /home/alex/wal/sdk/build-tools/19.0.1/aapt package
-m -J /home/alex/wal/bitcoin-wallet/wallet/gen -M /home/alex/wal/bitcoin-wallet/wallet/AndroidManifest.xml
-S /home/alex/wal/bitcoin-wallet/wallet/res -S /home/alex/wal/bitcoin-wallet/wallet/target/unpack/apklibs/com.actionbarsherlock_library_apklib_4.1.0/res --auto-add-overlay
-A /home/alex/wal/bitcoin-wallet/wallet/assets -I /home/alex/wal/sdk/platforms/android-14/android.jar,
Result = 127 -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :wallet
alex@ubuntu:~/wal/bitcoin-wallet$
And I really don't get,why if I make everything via instructions,I still get errors)